Backport f2py's define for threading bugfix to numpy versions 1.20.3:1.22.1 (#30065)

This commit is contained in:
Dom Heinzeller 2022-04-15 14:47:01 -06:00 committed by GitHub
parent 33d791bd1c
commit 3b8256ef6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,6 +130,11 @@ class PyNumpy(PythonPackage):
patch('check_executables4.patch', when='@1.14.0:1.15.4') patch('check_executables4.patch', when='@1.14.0:1.15.4')
patch('check_executables5.patch', when='@:1.13.3') patch('check_executables5.patch', when='@:1.13.3')
# Backport bug fix for f2py's define for threading when building with Mingw
patch('https://github.com/numpy/numpy/pull/20881.patch?full_index=1',
sha256='802970a9034d40a8a8f49a03f489d5361d5eabf69249621e6757651448910f1a',
when='@1.20.3:1.22.1')
# version 1.21.0 runs into an infinit loop during printing # version 1.21.0 runs into an infinit loop during printing
# (e.g. print(numpy.ones(1000)) when compiled with gcc 11 # (e.g. print(numpy.ones(1000)) when compiled with gcc 11
conflicts('%gcc@11:', when='@1.21.0') conflicts('%gcc@11:', when='@1.21.0')