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 Jul 6, 2024
1 parent 19478ec commit 107aba5
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 @@ -91,7 +91,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version:
["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9", "pypy3.10"]
["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10"]
archs: [
# Generic
"auto",
Expand Down Expand Up @@ -163,6 +163,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
update-environment: true
allow-prereleases: true

- name: Upgrade pip
run: |
Expand Down Expand Up @@ -192,6 +193,7 @@ jobs:
CIBW_BUILD: ${{ env.CIBW_BUILD }}
CIBW_ARCHS: ${{ matrix.archs }}
CIBW_ARCHS_MACOS: ${{ matrix.archs }} universal2
CIBW_PRERELEASE_PYTHONS: True
with:
package-dir: .
output-dir: wheelhouse
Expand Down Expand Up @@ -254,8 +256,9 @@ 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
allow-prereleases: true

- name: Upgrade pip
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version:
["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9", "pypy3.10"]
["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10"]
include:
- os: macos-13
python-version: "3.7"
Expand All @@ -58,6 +58,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",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: Microsoft :: Windows",
Expand Down

0 comments on commit 107aba5

Please sign in to comment.