Skip to content

Commit

Permalink
Fix setuptools reqs for 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Nov 2, 2023
1 parent 9c166c2 commit dd29898
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[build-system]
requires = [
"setuptools>=68.2.2",
"Cython>=3.0.3"
#"Cython>=3.0.3; python_version < '4.0' and python_version >= '3.12' ",
#"Cython>=0.29.24,<=3.0.0a11 ; python_version < '3.12' ",
"setuptools>=68.2.2; python_version < '4.0' and python_version >= '3.8'",
"setuptools>=41.0.1; python_version < '3.8' and python_version >= '3.6'",

"Cython>=3.0.3",
#"Cython>=3.0.3 ; python_version < '4.0' and python_version >= '3.8' ",
#"Cython>=0.29.24,<=3.0.0a11 ; python_version < '3.8' and python_version >= '3.6' ",
]
build-backend = "setuptools.build_meta" # comment out to disable pep517

Expand Down Expand Up @@ -34,7 +36,6 @@ omit =[

[tool.cibuildwheel]
build = "cp36-* cp37-* cp38-* cp39-* cp310-* cp311-* cp312-*"
#build = "cp312-*"
build-frontend = "build"
build-verbosity = 1
test-requires = [ "-r requirements/tests.txt",]
Expand Down
5 changes: 3 additions & 2 deletions requirements/build.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Cython is the only hard requirement
Cython==3.0.0a11 ; python_version < '4.0' and python_version >= '3.12' # Python 3.12+
Cython>=0.29.24,<=3.0.0a11 ; python_version < '3.12' # Python 3.6 - 3.11
Cython>=3.0.3

setuptools>=68.2.2; python_version < '4.0' and python_version >= '3.8'

scikit-build>=0.11.1
cmake>=3.21.2
Expand Down

0 comments on commit dd29898

Please sign in to comment.