Skip to content

Commit

Permalink
deps(python): enable Python 3.13 support
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed May 31, 2024
1 parent 24b4ad0 commit 5a02cb3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.7 - 3.12"
python-version: "3.7 - 3.13"
update-environment: true

- name: Upgrade pip
Expand Down Expand Up @@ -141,6 +141,7 @@ jobs:
CIBW_ARCHS_LINUX: auto64 aarch64 ppc64le s390x
CIBW_ARCHS_WINDOWS: auto64 ARM64
CIBW_ARCHS_MACOS: x86_64 arm64 universal2
CIBW_PRERELEASE_PYTHONS: True
with:
package-dir: .
output-dir: wheelhouse
Expand All @@ -160,7 +161,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
fail-fast: false
timeout-minutes: 45
steps:
Expand All @@ -175,6 +176,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
update-environment: true
allow-prereleases: true

- name: Upgrade pip
run: |
Expand Down Expand Up @@ -205,6 +207,7 @@ jobs:
CIBW_ARCHS_LINUX: auto64 aarch64 ppc64le s390x
CIBW_ARCHS_WINDOWS: auto64 ARM64
CIBW_ARCHS_MACOS: x86_64 arm64 universal2
CIBW_PRERELEASE_PYTHONS: True
with:
package-dir: .
output-dir: wheelhouse
Expand Down Expand Up @@ -267,7 +270,7 @@ jobs:
uses: actions/setup-python@v5
if: startsWith(github.ref, 'refs/tags/')
with:
python-version: "3.7 - 3.12"
python-version: "3.7 - 3.13"
update-environment: true

- name: Upgrade pip
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.11", "3.12"]
python-version: ["3.7", "3.8", "3.9", "3.11", "3.12", "3.13"]
include:
- os: macos-13
python-version: "3.7"
Expand All @@ -105,6 +105,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
update-environment: true
allow-prereleases: true

- name: Upgrade pip
run: |
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,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",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
Expand Down

0 comments on commit 5a02cb3

Please sign in to comment.