Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cython version to pre 3.0.0 #2204

Merged
merged 2 commits into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changes/2204.misc
@@ -0,0 +1 @@
Exclude cython 3.0.0 from requirement
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -3,7 +3,7 @@ requires = [
"setuptools",
"packaging",
"wheel",
"cython>=0.29.20",
"cython>=0.29.20,<3.0.0",
# See https://numpy.org/doc/stable/user/depending_on_numpy.html for
# the recommended way to build against numpy's C API:
"oldest-supported-numpy",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,4 +1,4 @@
cython>=0.29.20
cython>=0.29.20,<3.0.0
numpy>=1.16.6
scipy>=1.0
packaging
4 changes: 2 additions & 2 deletions setup.cfg
Expand Up @@ -37,15 +37,15 @@ install_requires =
setup_requires =
numpy>=1.13.3
scipy>=1.0
cython>=0.29.20
cython>=0.29.20,<3.0.0
packaging

[options.packages.find]
include = qutip*

[options.extras_require]
graphics = matplotlib>=1.2.1
runtime_compilation = cython>=0.29.20
runtime_compilation = cython>=0.29.20,<3.0.0
semidefinite =
cvxpy>=1.0
cvxopt
Expand Down