Fedora Account System
Red Hat Associate
Red Hat Customer
During build of python-photutils package for the riscv64 port of Fedora I got one test failed: FAILED ../../utils/tests/test_round.py::test_round_inf - RuntimeWarning: invalid value encountered in floor I started checking why it happens and found that it was already reported to GCC as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127908 and that fix was merged into GCC 14/15/16 branches already. Can you backport this change so it will be available in F45+? Reproducible: Always Steps to Reproduce: 1. build 'python-photutils' package on riscv64 2. look how it fails in tests Actual Results: FAILED ../../utils/tests/test_round.py::test_round_inf - RuntimeWarning: invalid value encountered in floor Expected Results: package builds, passes tests Additional Information: The 'numpy' package will require rebuilding once gcc fix gets merged. But that's the other part which I can handle.