diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-15 09:03:44 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-15 09:03:44 +0000 |
| commit | 4cbcd3347fecebeb3f9cf14e634f333a21664104 (patch) | |
| tree | b44f5b1943e6b6f64bd9c291321c7405cbad656a /dev-python/numpy/files | |
| parent | b12f03389c8503901aeb56263e848c3160f54d17 (diff) | |
| download | baldeagleos-repo-4cbcd3347fecebeb3f9cf14e634f333a21664104.tar.gz baldeagleos-repo-4cbcd3347fecebeb3f9cf14e634f333a21664104.tar.xz baldeagleos-repo-4cbcd3347fecebeb3f9cf14e634f333a21664104.zip | |
Adding metadata
Diffstat (limited to 'dev-python/numpy/files')
| -rw-r--r-- | dev-python/numpy/files/numpy-1.22.1-revert-setuptools-upper-bound.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-python/numpy/files/numpy-1.22.1-revert-setuptools-upper-bound.patch b/dev-python/numpy/files/numpy-1.22.1-revert-setuptools-upper-bound.patch new file mode 100644 index 000000000000..a2bc9c939aea --- /dev/null +++ b/dev-python/numpy/files/numpy-1.22.1-revert-setuptools-upper-bound.patch @@ -0,0 +1,22 @@ +Revert https://github.com/numpy/numpy/commit/eb6be7c4765665724cd12431bfefb050ba0f2d4b. + +See also: +https://github.com/pypa/setuptools/issues/2372 +https://github.com/numpy/numpy/issues/20692 + +In the ebuild, we're forcing SETUPTOOLS_USE_DISTUTILS=stdlib which uses +the distutils version from within Python (which will be removed in 3.11) +rather than the bundled-in-setuptools-60 version which breaks numpy. +--- a/setup.py ++++ b/setup.py +@@ -80,10 +80,6 @@ if os.path.exists('MANIFEST'): + # so that it is in sys.modules + import numpy.distutils.command.sdist + import setuptools +-if int(setuptools.__version__.split('.')[0]) >= 60: +- raise RuntimeError( +- "Setuptools version is '{}', version < '60.0.0' is required. " +- "See pyproject.toml".format(setuptools.__version__)) + + # Initialize cmdclass from versioneer + from numpy.distutils.core import numpy_cmdclass |
