Skip to content

Commit

Permalink
Support Python 3.13 (#1353)
Browse files Browse the repository at this point in the history
Closes #1352
  • Loading branch information
jelmer authored Aug 7, 2024
2 parents a72e0bf + c8bdd79 commit a107e66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pythontest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version:
["3.8", "3.9", "3.10", "3.11", "3.12"]
["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
fail-fast: false

steps:
Expand All @@ -22,6 +22,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install native dependencies (Ubuntu)
run: sudo apt-get update && sudo apt-get install -y libgpgme-dev libgpg-error-dev
if: "matrix.os == 'ubuntu-latest'"
Expand Down
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: POSIX",
Expand Down Expand Up @@ -119,4 +120,11 @@ archs = ["auto", "aarch64"]
[tool.cibuildwheel.macos]
archs = ["auto", "universal2", "x86_64", "arm64"]
before-all = "rustup target add x86_64-apple-darwin aarch64-apple-darwin"
skip = "cp38-macosx_arm64 cp38-macosx_universal2 cp39-macosx_x86_64 cp39-macosx_universal2 cp310-macosx_x86_64 cp310-macosx_universal2 cp311-macosx_x86_64 cp311-macosx_universal2 cp311-macosx_universal2 cp312-macosx_x86_64 cp312-macosx_universal2"
skip = """\
cp38-macosx_arm64 cp38-macosx_universal2 \
cp39-macosx_x86_64 cp39-macosx_universal2 \
cp310-macosx_x86_64 cp310-macosx_universal2 \
cp311-macosx_x86_64 cp311-macosx_universal2 \
cp312-macosx_x86_64 cp312-macosx_universal2 \
cp313-macosx_x86_64 cp313-macosx_universal2 \
"""

0 comments on commit a107e66

Please sign in to comment.