We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 716d3ff commit ac565f1Copy full SHA for ac565f1
2 files changed
conda-recipe/meta.yaml
@@ -41,6 +41,11 @@ requirements:
41
- {{ dep }}
42
{% elif dep.startswith('build>=') %}
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
{% else %}
50
- {{ dep|replace('_','-') }}
51
{% endif %}
pyproject.toml
@@ -8,7 +8,8 @@ requires = [
8
"scikit-build>=0.17.0",
9
"ninja>=1.11.1; platform_system!='Windows'",
10
"cmake>=3.29.0",
11
- "cython>=3.0.10",
+ "cython>=3.0.10;python_version<'3.13'",
12
+ "cython>=3.0.10,<3.1.0;python_version>='3.13'",
13
"numpy >=1.23",
14
# WARNING: check with doc how to upgrade
15
"versioneer[toml]==0.29"
0 commit comments