Skip to content

Commit

Permalink
Limit maximum Cython version to avoid build break
Browse files Browse the repository at this point in the history
Issue: #55
  • Loading branch information
sharvil committed Jul 19, 2023
1 parent f166130 commit e040337
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools<v60.0",
"cython>=0.28.0",
"cython>=0.28.0,<3.0.0",
"oldest-supported-numpy",
]
build-backend = "setuptools.build_meta"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def run(self):
cmdclass=cmdclass,
install_requires=[
"numpy >= 1.20.0",
"cython >= " + min_cython_ver,
"cython >= " + min_cython_ver + ",<3.0.0",
"six",
"tqdm",
],
Expand Down

0 comments on commit e040337

Please sign in to comment.