File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,12 @@ requirements:
41
41
- {{ dep }}
42
42
{% elif dep.startswith('build>=') %}
43
43
- {{ 'python-' ~ dep }}
44
+ {% elif dep.startswith('cython') %}
45
+ {% if dep.split(';')[1] == "python_version<'3.13'" %}
46
+ - {{ dep.split(';')[0] }} # [py<313]
47
+ {% else %}
48
+ - {{ dep.split(';')[0] }} # [py>=313]
49
+ {% endif %}
44
50
{% else %}
45
51
- {{ dep|replace('_','-') }}
46
52
{% endif %}
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ requires = [
8
8
" scikit-build>=0.17.0" ,
9
9
" ninja>=1.11.1; platform_system!='Windows'" ,
10
10
" cmake>=3.29.0" ,
11
- " cython>=3.0.10" ,
11
+ " cython>=3.0.10;python_version<'3.13'" ,
12
+ " cython>=3.0.10,<3.1.0;python_version>='3.13'" ,
12
13
" numpy >=1.23" ,
13
14
# WARNING: check with doc how to upgrade
14
15
" versioneer[toml]==0.29"
You can’t perform that action at this time.
0 commit comments