Description of problem: Package python-photutils fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 1.11.0-5.fc42 Steps to Reproduce: koji build --scratch f42 python-photutils-1.11.0-5.fc42.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/python-photutils Reproducible: Always Actual Results: _______________________________ test_mask_array ________________________________ def test_mask_array(): mask_data = np.ones((10, 10)) bbox = BoundingBox(5, 15, 5, 15) mask = ApertureMask(mask_data, bbox) > data = np.array(mask) E DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. To learn more, see the migration guide https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword This has started to happen since the numpy 2 update.