Skip to content

Commit

Permalink
Merge pull request #1361 from arcondello/cython-3-and-python-3.12
Browse files Browse the repository at this point in the history
Cython 3 and Python 3.12
  • Loading branch information
arcondello authored Oct 24, 2023
2 parents 85f5baf + bf2ac5b commit 37b2bf7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1

orbs:
codecov: codecov/codecov@3
win: circleci/windows@2.2.0
win: circleci/windows@5.0.0

environment: &global-environment
PIP_PROGRESS_BAR: 'off'
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
python3 -m venv env
. env/bin/activate
pip install pip --upgrade
pip install cibuildwheel==2.13.1
pip install cibuildwheel==2.16.2
cibuildwheel --output-dir dist
- save_cache: &build-linux-save-cache
paths:
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
name: build wheels
command: |
python -m pip install pip --upgrade
python -m pip install cibuildwheel==2.13.1
python -m pip install cibuildwheel==2.16.2
python -m cibuildwheel --output-dir dist
- store_artifacts: *store-artifacts
- persist_to_workspace: *persist-to-workspace
Expand Down Expand Up @@ -309,7 +309,7 @@ workflows:
- build-linux: &build
matrix:
parameters:
python-version: &python-versions [3.8.9, 3.9.4, 3.10.0, 3.11.0]
python-version: &python-versions [3.8.9, 3.9.4, 3.10.0, 3.11.0, 3.12.0]
- build-linux-aarch64: *build
- build-sdist
- build-osx: *build
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires = [
"setuptools>=46.4.0",
"wheel",
"Cython>=0.29.33,<3.0",
"Cython~=3.0",
'oldest-supported-numpy',
]
build-backend = "setuptools.build_meta"
Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/cython3-python312-7a3370aa5d77d5d7.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
features:
- Build wheels for Python 3.12.
- Build C++ extensions with Cython 3.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
oldest-supported-numpy
cython==0.29.33
cython==3.0.4

reno==3.3.0 # for changelog

Expand Down

0 comments on commit 37b2bf7

Please sign in to comment.