Skip to content

Commit

Permalink
Pin setuptools < 72
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi committed Jul 31, 2024
1 parent a8bca52 commit 62d00f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conda_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The requirements packages that can be installed with
# conda install -y -c conda-forge --file conda_requirements.txt
setuptools>=38
setuptools>=38<72
numpy>=1.17
astropy>=2.0
pybind11>=2.2
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# These are in conda_requirements.txt. If using that, you may prefer to do
# conda install -c conda-forge --file conda_requirements.txt
# prior to running pip install -r requirements.txt
setuptools>=38
setuptools>=38<72
numpy>=1.17
astropy>=2.0
pybind11>=2.2
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
except ImportError:
print()
print("****")
print(" Installation requires setuptools version >= 38.")
print(" Installation requires setuptools version >= 38 < 72.")
print(" Please upgrade or install with pip install -U setuptools")
print("****")
print()
Expand Down Expand Up @@ -1341,7 +1341,7 @@ def run_tests(self):
undef_macros = undef_macros,
extra_link_args = ["-lfftw3"])

build_dep = ['setuptools>=38', 'pybind11>=2.2', 'numpy>=1.17']
build_dep = ['setuptools>=38<72', 'pybind11>=2.2', 'numpy>=1.17']
run_dep = ['astropy', 'LSSTDESC.Coord']
test_dep = ['pytest', 'pytest-xdist', 'pytest-timeout', 'nose', 'scipy', 'pyyaml']
# Note: Even though we don't use nosetests, nose is required for some tests to work.
Expand Down

0 comments on commit 62d00f9

Please sign in to comment.