diff --git a/Makefile b/Makefile index ace2f88..f71887a 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ mypy: # Install and unit test libpecos: - python3 -m pip install --upgrade pip + python3 -m pip install pip==23.0.1 ${WARN_AS_ERROR_CMD} python3 -m pip install ${VFLAG} --editable . .PHONY: test diff --git a/setup.cfg b/setup.cfg index e32fc67..3768174 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,9 @@ [aliases] test=pytest +[build-system] +requires = ["setuptools<=73.0.1"] + # Configuration for pytest; enable coverage for pecos, emit # XML, HTML, and terminal reports. [tool:pytest] diff --git a/setup.py b/setup.py index b522ca3..3932d2c 100644 --- a/setup.py +++ b/setup.py @@ -106,6 +106,7 @@ def get_blas_lib_dir(cls): # Requirements numpy_requires = [ + 'setuptools<=73.0.1', 'numpy>=1.19.5,<2.0.0; python_version>="3.8"' ] setup_requires = numpy_requires + [