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

Pin setuptools version to fix installation with pip #1951

Merged
merged 2 commits into from
Nov 22, 2022
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ requires = [
"numpy>=1.21,<1.22; python_version=='3.10' and (platform_machine!='arm64' or platform_system!='Darwin')",
"numpy>=1.21.4,<1.22; python_version=='3.10' and (platform_machine=='arm64' and platform_system=='Darwin')",
"scipy >= 1.1.0",
"setuptools>=40.8.0",
"setuptools>=40.8.0,<=64.0.2",
"wheel"
]
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PDLP = ortools>=9.3,<9.5
PROXQP = proxsuite
SCIP = PySCIPOpt
SCIPY = scipy
SCS =
SCS = setuptools<64.0.2
SteveDiamond marked this conversation as resolved.
Show resolved Hide resolved
XPRESS = xpress

[flake8]
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ def not_on_windows(s: str) -> str:
"scs >= 1.1.6",
"numpy >= 1.15",
"scipy >= 1.1.0",
"setuptools <= 64.0.2",
],
setup_requires=["numpy >= 1.15"],
)