Skip to content

BUILD: Bump Cython to 3.1 #61519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion asv_bench/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
// followed by the pip installed packages).
"matrix": {
"pip+build": [],
"Cython": ["3.0"],
"Cython": [],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this was ever specified; we'll use our envornment.yaml for ASVs.

"matplotlib": [],
"sqlalchemy": [],
"scipy": [],
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-310-minimum_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:

# build dependencies
- versioneer
- cython>=0.29.33
- cython<4.0.0a0
- meson=1.2.1
- meson-python=0.13.1

Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-310.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:

# build dependencies
- versioneer
- cython>=0.29.33
- cython<4.0.0a0
- meson=1.2.1
- meson-python=0.13.1

Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-311-downstream_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:

# build dependencies
- versioneer
- cython>=0.29.33
- cython<4.0.0a0
- meson=1.2.1
- meson-python=0.13.1

Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-311-numpydev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
- versioneer
- meson=1.2.1
- meson-python=0.13.1
- cython>=0.29.33
- cython<4.0.0a0

# test dependencies
- pytest>=7.3.2
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-311-pyarrownightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
# build dependencies
- versioneer
- meson=1.2.1
- cython>=0.29.33
- cython<4.0.0a0
- meson-python=0.13.1

# test dependencies
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-311.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:

# build dependencies
- versioneer
- cython>=0.29.33
- cython<4.0.0a0
- meson=1.2.1
- meson-python=0.13.1

Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-312.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:

# build dependencies
- versioneer
- cython>=0.29.33
- cython<4.0.0a0
- meson=1.2.1
- meson-python=0.13.1

Expand Down
3 changes: 1 addition & 2 deletions ci/deps/actions-313-freethreading.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
# build dependencies
- setuptools
- versioneer
- cython<4.0.0a0
- meson=1.8.0
- meson-python=0.18.0

Expand All @@ -21,10 +22,8 @@ dependencies:
# optional dependencies
- hypothesis>=6.84.0

# Move Cython to build dependencies, once they release a version that supports freethreading
- pip:
# No free-threaded coveragepy (with the C-extension) on conda-forge yet
- pytest-cov
- "tzdata>=2022.7"
- "--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
- "cython"
2 changes: 1 addition & 1 deletion ci/deps/actions-313.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:

# build dependencies
- versioneer
- cython>=0.29.33
- cython<4.0.0a0
- meson=1.2.1
- meson-python=0.13.1

Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-pypy-39.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:

# build dependencies
- versioneer
- cython>=0.29.33
- cython<4.0.0a0
- meson=1.2.1
- meson-python=0.13.1

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:

# build dependencies
- versioneer
- cython~=3.0.5
- cython<4.0.0a0
- meson=1.2.1
- meson-python=0.13.1

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ requires = [
"meson-python>=0.13.1",
"meson>=1.2.1,<2",
"wheel",
"Cython==3.1.0rc1", # Note: sync with setup.py, environment.yml and asv.conf.json
"Cython<4.0.0a0", # Note: sync with setup.py, environment.yml and asv.conf.json
# Force numpy higher than 2.0rc1, so that built wheels are compatible
# with both numpy 1 and 2
"numpy>=2.0.0rc1",
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pip
versioneer[toml]
cython~=3.0.5
cython<4.0.0a0
meson[ninja]==1.2.1
meson-python==0.13.1
pytest>=7.3.2
Expand Down
Loading