Skip to content

Commit

Permalink
Merge pull request #76 from ludwigschwardt/support-python-3.13
Browse files Browse the repository at this point in the history
Support Python 3.13
  • Loading branch information
ludwigschwardt authored Oct 18, 2024
2 parents 58cc37d + aa06e2e commit 64534ca
Show file tree
Hide file tree
Showing 17 changed files with 2,793 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-13, macos-14]
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
exclude:
# There is something fishy about this combo (broken standard readline)
- os: macos-13
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,19 @@ jobs:
fail-fast: false
matrix:
arch: [x86_64, aarch64]
python: [cp36, cp37, cp38, cp39, cp310, cp311, cp312]
python: [cp36, cp37, cp38, cp39, cp310, cp311, cp312, cp313]
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
with:
platforms: arm64
if: matrix.arch != 'x86_64'
- uses: pypa/cibuildwheel@v2.18.1
- uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BUILD: ${{ matrix.python }}-manylinux*
# Build free-threaded wheels once it is more widely supported
# CIBW_FREE_THREADED_SUPPORT: True
CIBW_TEST_REQUIRES: ""
CIBW_TEST_COMMAND: python -c "import gnureadline"
- uses: actions/upload-artifact@v4
Expand All @@ -48,7 +50,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-13, macos-14]
python: [cp36, cp37, cp38, cp39, cp310, cp311, cp312]
python: [cp36, cp37, cp38, cp39, cp310, cp311, cp312, cp313]
exclude:
# Python < 3.9 not natively available for Apple Silicon.
# cibuildwheel tries to do a cross build, which fails.
Expand All @@ -61,9 +63,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pypa/cibuildwheel@v2.18.1
- uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_BUILD: ${{ matrix.python }}-macos*
# Build free-threaded wheels once it is more widely supported
# CIBW_FREE_THREADED_SUPPORT: True
CIBW_TEST_REQUIRES: ""
CIBW_TEST_COMMAND: python -c "import gnureadline"
- uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions Modules/3.11
Loading

0 comments on commit 64534ca

Please sign in to comment.