Fedora Account System
Red Hat Associate
Red Hat Customer
numpy fails to build with Python 3.13.0a4. =================================== FAILURES =================================== _______________________ Test_X86_Features.test_features ________________________ self = <numpy.core.tests.test_cpu_features.Test_X86_Features object at 0x7fe7b28c4aa0> def test_features(self): self.load_flags() for gname, features in self.features_groups.items(): test_features = [self.cpu_have(f) for f in features] > assert_features_equal(__cpu_features__.get(gname), all(test_features), gname) E AssertionError: Failure Detection E NAME: 'AVX512_SPR' E ACTUAL: True E DESIRED: False E ########################################### ### Extra debugging information ########################################### ------------------------------------------- --- NumPy Detections ------------------------------------------- {MMX: True, SSE: True, SSE2: True, SSE3: True, SSSE3: True, SSE41: True, POPCNT: True, SSE42: True, AVX: True, F16C: True, XOP: False, FMA4: False, FMA3: True, AVX2: True, AVX512F: True, AVX512CD: True, AVX512ER: False, AVX512PF: False, AVX5124FMAPS: False, AVX5124VNNIW: False, AVX512VPOPCNTDQ: True, AVX512VL: True, AVX512BW: True, AVX512DQ: True, AVX512VNNI: True, AVX512IFMA: True, AVX512VBMI: True, AVX512VBMI2: True, AVX512BITALG: True, AVX512FP16: True, AVX512_KNL: False, AVX512_KNM: False, AVX512_SKX: True, AVX512_CLX: True, AVX512_CNL: True, AVX512_ICL: True, AVX512_SPR: True, VSX: False, VSX2: False, VSX3: False, VSX4: False, VX: False, VXE: False, VXE2: False, NEON: False, NEON_FP16: False, NEON_VFPV4: False, ASIMD: False, FPHP: False, ASIMDHP: False, ASIMDDP: False, ASIMDFHM: False} ------------------------------------------- --- SYS / CPUINFO ------------------------------------------- processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 143 model name : Intel(R) Xeon(R) Platinum 8488C stepping : 8 microcode : 0x2b000571 cpu MHz : 3800.369 cache size : 107520 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 31 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 wbnoinvd ida arat avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq rdpid cldemote movdiri movdir64b md_clear serialize amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bogomips : 4800.00 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: E processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 143 model name : Intel(R) Xeon(R) Platinum 8488C stepping : 8 microcode : 0x2b000571 cpu MHz : 3804.549 cache size : 107520 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 2 apicid : 2 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 31 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pdcm pcid.... ------------------------------------------- --- SYS / AUXV ------------------------------------------- AT_SYSINFO_EHDR: 0x7fffe41f9000 AT_MINSIGSTKSZ: 11952 AT_HWCAP: 1f8bfbff AT_PAGESZ: 4096 AT_CLKTCK: 100 AT_PHDR: 0x55ddfa9a6040 AT_PHENT: 56 AT_PHNUM: 13 AT_BASE: 0x7fc2ee735000 AT_FLAGS: 0x0 AT_ENTRY: 0x55ddfa9a8970 AT_UID: 1001 AT_EUID: 1001 AT_GID: 135 AT_EGID: 135 AT_SECURE: 0 AT_RANDOM: 0x7fffe41df799 AT_HWCAP2: 0x2 AT_EXECFN: /bin/true AT_PLATFORM: x86_64 AT_??? (0x1b): 0x1c AT_??? (0x1c): 0x20 features = ['AVX512F', 'AVX512CD', 'AVX512BW', 'AVX512DQ', 'AVX512VL', 'AVX512IFMA', ...] gname = 'AVX512_SPR' self = <numpy.core.tests.test_cpu_features.Test_X86_Features object at 0x7fe7b28c4aa0> test_features = [True, True, True, True, True, True, ...] ../../../../BUILDROOT/numpy-1.26.2-4.fc41.x86_64/usr/lib64/python3.13/site-packages/numpy/core/tests/test_cpu_features.py:77: AssertionError https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07033676-numpy/ For all our attempts to build numpy with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/numpy/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
For the record, this happens in Copr (often, but not always) regardless of the Python version. I reported it at https://github.com/numpy/numpy/issues/25857 last week but I forgot to post the link here.
Thank you!