summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-11-24 08:01:04 -0700
committerCharles Harris <charlesr.harris@gmail.com>2021-11-24 08:01:04 -0700
commit1adb70d990495c392741d9de8b77510c4b20ffcc (patch)
tree2068651fe7dc24e71de29e4a8b8a48d6d2696d18
parente94bbb87ba10ec2585f87af8e9a80afee2f89e04 (diff)
downloadnumpy-1adb70d990495c392741d9de8b77510c4b20ffcc.tar.gz
MAINT: Update the required setuptools version.
An newer setuptools version is needed in order to run tests in Fedora 35 using the default Python 3.10. Because the newest version (59.2.0) works to both build and test NumPy, pin the version is to that.
-rw-r--r--environment.yml2
-rw-r--r--pyproject.toml2
-rw-r--r--test_requirements.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/environment.yml b/environment.yml
index 1bc8b44a7..701f7d46c 100644
--- a/environment.yml
+++ b/environment.yml
@@ -12,7 +12,7 @@ dependencies:
- compilers
- openblas
- nomkl
- - setuptools=58.4
+ - setuptools=59.2.0
# For testing
- pytest
- pytest-cov
diff --git a/pyproject.toml b/pyproject.toml
index 941c8fa8c..3b4d8fede 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,7 +2,7 @@
# Minimum requirements for the build system to execute.
requires = [
"packaging==20.5; platform_machine=='arm64'", # macos M1
- "setuptools<49.2.0",
+ "setuptools==59.2.0",
"wheel==0.36.2",
"Cython>=0.29.24,<3.0", # Note: keep in sync with tools/cythonize.py
]
diff --git a/test_requirements.txt b/test_requirements.txt
index 256b26d9b..f56f9a5a1 100644
--- a/test_requirements.txt
+++ b/test_requirements.txt
@@ -1,6 +1,6 @@
cython==0.29.24
wheel<0.37.1
-setuptools<49.2.0
+setuptools==59.2.0
hypothesis==6.24.1
pytest==6.2.5
pytz==2021.3