Fedora Account System
Red Hat Associate
Red Hat Customer
python-astropy fails to build with Python 3.15.0b2. ___________________________ [doctest] skycoord.rst ____________________________ 869 <SkyCoord (ICRS): (x, y, z) in kpc 870 (1., 2., 3.)> 871 872 >>> c.representation_type = 'cylindrical' 873 >>> c # doctest: +FLOAT_CMP 874 <SkyCoord (ICRS): (rho, phi, z) in (kpc, deg, kpc) 875 (2.23606798, 63.43494882, 3.)> 876 >>> c.phi.to(u.deg) # doctest: +FLOAT_CMP 877 <Angle 63.43494882 deg> 878 >>> c.x Differences (unified diff with -expected +actual): @@ -1,3 +1,7 @@ Traceback (most recent call last): -... -AttributeError: 'SkyCoord' object has no attribute 'x' + File "<doctest skycoord.rst[88]>", line 1, in <module> + c.x + File "/builddir/build/BUILD/python-astropy-7.2.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/astropy/coordinates/sky_coordinate.py", line 746, in __getattr__ + return self.__getattribute__(attr) + ~~~~~~~~~~~~~~~~~~~~~^^^^^^ +AttributeError: 'SkyCoord' object has no attribute 'x'. Did you mean '.cartesian.x' instead of '.x'? https://docs.python.org/3.15/whatsnew/3.15.html For our attempts to build python-astropy with Python 3.15, see: https://koji.fedoraproject.org/koji/search?terms=python-astropy&type=package&match=exact Let us know here if you have any questions. Python 3.15 is planned to be included in Fedora 45. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15. 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.
Fixed in https://koji.fedoraproject.org/koji/taskinfo?taskID=146806565