diff --git a/buildscripts/condarecipe.local/meta.yaml b/buildscripts/condarecipe.local/meta.yaml index 25af69b2bd4..3046952dc71 100644 --- a/buildscripts/condarecipe.local/meta.yaml +++ b/buildscripts/condarecipe.local/meta.yaml @@ -31,7 +31,7 @@ requirements: host: - python - numpy - - setuptools <60 + - setuptools - importlib_metadata # [py<39] # On channel https://anaconda.org/numba/ - llvmlite >=0.40.0dev0,<0.40 @@ -45,7 +45,7 @@ requirements: - python >=3.7 # NumPy 1.22.0, 1.22.1, 1.22.2 are all broken for ufuncs, see #7756 - numpy >=1.18, !=1.22.0, !=1.22.1, !=1.22.2 - - setuptools <60 + - setuptools - importlib_metadata # [py<39] # On channel https://anaconda.org/numba/ - llvmlite >=0.40.0dev0,<0.40 @@ -74,7 +74,7 @@ test: - cffi - scipy - ipython # [not aarch64] - - setuptools <60 + - setuptools - tbb >=2021 # [not (aarch64 or ppc64le)] - llvm-openmp # [osx] # This is for driving gdb tests diff --git a/buildscripts/gpuci/build.sh b/buildscripts/gpuci/build.sh index 9dcde3bc258..1088b1eebe4 100644 --- a/buildscripts/gpuci/build.sh +++ b/buildscripts/gpuci/build.sh @@ -46,7 +46,7 @@ gpuci_mamba_retry create -n numba_ci -y \ "psutil" \ "gcc_linux-64=7" \ "gxx_linux-64=7" \ - "setuptools<60" + "setuptools" conda activate numba_ci diff --git a/buildscripts/incremental/setup_conda_environment.cmd b/buildscripts/incremental/setup_conda_environment.cmd index c192e14828e..fc75f61620e 100644 --- a/buildscripts/incremental/setup_conda_environment.cmd +++ b/buildscripts/incremental/setup_conda_environment.cmd @@ -22,7 +22,7 @@ call deactivate @rem Display root environment (for debugging) conda list @rem Scipy, CFFI, jinja2 and IPython are optional dependencies, but exercised in the test suite -conda create -n %CONDA_ENV% -q -y python=%PYTHON% numpy=%NUMPY% cffi pip jinja2 ipython gitpython pyyaml "setuptools<60" +conda create -n %CONDA_ENV% -q -y python=%PYTHON% numpy=%NUMPY% cffi pip jinja2 ipython gitpython pyyaml call activate %CONDA_ENV% @rem Scipy comes from conda-forge for NumPy 1.23 diff --git a/buildscripts/incremental/setup_conda_environment.sh b/buildscripts/incremental/setup_conda_environment.sh index 370f973d007..ac138448876 100755 --- a/buildscripts/incremental/setup_conda_environment.sh +++ b/buildscripts/incremental/setup_conda_environment.sh @@ -33,7 +33,7 @@ conda list # Create a base env first and then add to it... # NOTE: gitpython is needed for CI testing to do the test slicing # NOTE: pyyaml is used to ensure that the Azure CI config is valid -conda create -n $CONDA_ENV -q -y ${EXTRA_CHANNELS} python=$PYTHON numpy=$NUMPY pip gitpython pyyaml "setuptools<60" +conda create -n $CONDA_ENV -q -y ${EXTRA_CHANNELS} python=$PYTHON numpy=$NUMPY pip gitpython pyyaml # Activate first set +v diff --git a/docs/environment.yml b/docs/environment.yml index 6f48f5d2ac0..2ba87509265 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -9,7 +9,7 @@ dependencies: - llvmlite=0.40 - numpy - numpydoc - - setuptools<60 + - setuptools # https://stackoverflow.com/questions/67542699/readthedocs-sphinx-not-rendering-bullet-list-from-rst-fileA - docutils==0.16 # The following is needed to fix RTD. diff --git a/docs/source/user/installing.rst b/docs/source/user/installing.rst index edc5a5906cf..9816e20f20a 100644 --- a/docs/source/user/installing.rst +++ b/docs/source/user/installing.rst @@ -174,14 +174,14 @@ vary with target operating system and hardware. The following lists them all * Required build time: - * ``setuptools<60`` + * ``setuptools`` * ``numpy`` * ``llvmlite`` * Compiler toolchain mentioned above * Required run time: - * ``setuptools<60`` + * ``setuptools`` * ``numpy`` * ``llvmlite`` diff --git a/setup.py b/setup.py index 298b3695f6b..e1443736c09 100644 --- a/setup.py +++ b/setup.py @@ -375,7 +375,7 @@ def check_file_at_path(path2file): install_requires = [ 'llvmlite >={},<{}'.format(min_llvmlite_version, max_llvmlite_version), 'numpy >={}'.format(min_numpy_run_version), - 'setuptools <60', + 'setuptools', 'importlib_metadata; python_version < "3.9"', ]