[py-numpy] Newer versions do not build with icc (#31637)

* [py-numpy] Newer versions do not build with `icc`

Workaround until https://github.com/numpy/numpy/issues/22011 is solved.

* [py-numpy] Remove whitespaces
This commit is contained in:
Stephen Sachs 2022-07-21 20:33:41 +02:00 committed by GitHub
parent 5ffc095f63
commit ee39fab226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,6 +155,9 @@ class PyNumpy(PythonPackage):
# NVHPC support added in https://github.com/numpy/numpy/pull/17344
conflicts('%nvhpc', when='@:1.19')
# Newer versions will not build with Intel https://github.com/numpy/numpy/issues/22011
conflicts('%intel', when='@1.23.0:')
def url_for_version(self, version):
url = 'https://files.pythonhosted.org/packages/source/n/numpy/numpy-{}.{}'
if version >= Version('1.23'):