Skip to content

Commit

Permalink
Merge pull request #77 from dancergraham/python3.13
Browse files Browse the repository at this point in the history
Python3.13 support
  • Loading branch information
dancergraham authored Oct 3, 2024
2 parents c4a1856 + 00e94de commit 218af79
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
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"]

steps:
- uses: actions/checkout@v4
Expand All @@ -19,6 +19,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Install build dependencies
run: |
Expand All @@ -39,7 +40,7 @@ jobs:
runs-on: windows-2019
strategy:
matrix:
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"]

steps:
- uses: actions/checkout@v4
Expand All @@ -52,7 +53,7 @@ jobs:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
activate-environment: pye57
channels: conda-forge
channels: conda-forge,conda-forge/label/python_rc
miniconda-version: "latest"

- name: Install Dependencies
Expand Down Expand Up @@ -80,7 +81,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
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"]

steps:
- uses: actions/checkout@v4
Expand All @@ -91,6 +92,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Install build dependencies
working-directory: ./scripts
Expand Down Expand Up @@ -125,7 +127,8 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
allow-prereleases: true

- name: Install cibuildwheel
run: |
Expand All @@ -139,7 +142,7 @@ jobs:
env:
CIBW_BEFORE_ALL_LINUX: "bash scripts/install_xerces_c.sh"
CIBW_BUILD: "cp*-manylinux_x86_64"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8, <3.13"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8, <3.14"

- name: Build wheels (Windows)
if: matrix.os == 'windows-2019'
Expand All @@ -148,7 +151,7 @@ jobs:
env:
CIBW_BEFORE_ALL_WINDOWS: "powershell scripts/install_xerces_c.ps1"
CIBW_BUILD: "cp*-win_amd64*"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8, <3.13"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8, <3.14"

- name: Build wheels (macOS)
if: matrix.os == 'macos-latest'
Expand All @@ -157,7 +160,7 @@ jobs:
env:
CIBW_BEFORE_ALL_MACOS: "bash scripts/install_xerces_c.sh"
CIBW_BUILD: "cp*-macosx*"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8, <3.13"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8, <3.14"

- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -191,7 +194,7 @@ jobs:
strategy:
matrix:
os: [ "ubuntu-latest", "windows-2019", "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"]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -201,6 +204,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- uses: actions/download-artifact@v4
with:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def build_extensions(self):
"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",
],
cmdclass={"build_ext": BuildExt},
Expand Down

0 comments on commit 218af79

Please sign in to comment.