Skip to content

Commit 1785fdc

Browse files
authored
DEP: Loosely pin Cython to 3.0 (#56993)
1 parent 366691e commit 1785fdc

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

asv_bench/asv.conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
// pip (with all the conda available packages installed first,
4242
// followed by the pip installed packages).
4343
"matrix": {
44-
"Cython": ["3.0.5"],
44+
"Cython": ["3.0"],
4545
"matplotlib": [],
4646
"sqlalchemy": [],
4747
"scipy": [],

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies:
88

99
# build dependencies
1010
- versioneer[toml]
11-
- cython=3.0.5
11+
- cython~=3.0.5
1212
- meson[ninja]=1.2.1
1313
- meson-python=0.13.1
1414

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires = [
55
"meson-python==0.13.1",
66
"meson==1.2.1",
77
"wheel",
8-
"Cython==3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json
8+
"Cython~=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json
99
# Any NumPy version should be fine for compiling. Users are unlikely
1010
# to get a NumPy<1.25 so the result will be compatible with all relevant
1111
# NumPy versions (if not it is presumably compatible with their version).

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
pip
55
versioneer[toml]
6-
cython==3.0.5
6+
cython~==3.0.5
77
meson[ninja]==1.2.1
88
meson-python==0.13.1
99
pytest>=7.3.2

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def is_platform_mac():
3737

3838

3939
# note: sync with pyproject.toml, environment.yml and asv.conf.json
40-
min_cython_ver = "3.0.5"
40+
min_cython_ver = "3.0"
4141

4242
try:
4343
from Cython import (

0 commit comments

Comments
 (0)