Skip to content

Commit

Permalink
Merge pull request numba#8475 from gmarkall/remove-setuptools-pin
Browse files Browse the repository at this point in the history
Remove setuptools version pin

Resolved conflicts in:
	buildscripts/condarecipe.local/meta.yaml
	buildscripts/incremental/setup_conda_environment.sh
	setup.py
  • Loading branch information
sklam authored and stuartarchibald committed Oct 12, 2022
1 parent d6731f6 commit 560a63f
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions buildscripts/condarecipe.local/meta.yaml
Expand Up @@ -32,7 +32,7 @@ requirements:
host:
- python
- numpy
- setuptools <60
- setuptools
- importlib_metadata # [py<39]
# On channel https://anaconda.org/numba/
- llvmlite 0.39.*
Expand All @@ -46,7 +46,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, <1.24
- setuptools <60
- setuptools
- importlib_metadata # [py<39]
# On channel https://anaconda.org/numba/
- llvmlite 0.39.*
Expand Down Expand Up @@ -76,7 +76,7 @@ test:
# temporarily disable scipy testing on ARM, need to build out more packages
- scipy # [not (armv6l or armv7l)]
- ipython # [not (armv6l or armv7l or aarch64)]
- setuptools <60
- setuptools
- tbb >=2021 # [not (armv6l or armv7l or aarch64 or linux32 or ppc64le)]
- llvm-openmp # [osx]
# This is for driving gdb tests
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/gpuci/build.sh
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion buildscripts/incremental/setup_conda_environment.cmd
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/incremental/setup_conda_environment.sh
Expand Up @@ -43,7 +43,7 @@ conda list
if [[ "$CONDA_SUBDIR" == "linux-32" || "$BITS32" == "yes" ]]; then
conda create -n $CONDA_ENV -q -y ${EXTRA_CHANNELS} python=$PYTHON pip gitpython pyyaml
else
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
fi

# Activate first
Expand Down
2 changes: 1 addition & 1 deletion docs/environment.yml
Expand Up @@ -9,7 +9,7 @@ dependencies:
- llvmlite=0.39
- 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.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/user/installing.rst
Expand Up @@ -194,14 +194,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``

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -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, max_numpy_run_version),
'setuptools<60',
'setuptools',
'importlib_metadata; python_version < "3.9"',
]

Expand Down

0 comments on commit 560a63f

Please sign in to comment.