Source: astropy-regions Version: 0.13-1 Severity: wishlist Tags: patch Hi Maintainer
When built on amd64v3 (i.e. with -march=x86-64-v3), TestRangeSphericalSkyRegion.test_lon_over_meridian fails with: ACTUAL: array(1.510109e-14) DESIRED: array(0) Please consider applying the attached patch which relaxes the tolerance. Regards Graham
Description: relax TestRangeSphericalSkyRegion.test_lon_over_meridian tolerance to avoid FTBFS with -march=x86-64-v3 ACTUAL: array(1.510109e-14) DESIRED: array(0) Forwarded: https://github.com/astropy/regions/pull/718 Author: Graham Inggs <[email protected]> Last-Update: 2026-10-13 --- a/regions/shapes/tests/test_range.py +++ b/regions/shapes/tests/test_range.py @@ -210,7 +210,7 @@ reg = RangeSphericalSkyRegion(longitude_range=[358, 2] * u.deg, latitude_range=[-4, 4] * u.deg, frame='icrs') - assert_allclose(reg.centroid.ra.deg, 0) + assert_allclose(reg.centroid.ra.deg, 0, atol=1e-07) assert_allclose(reg.centroid.dec.deg, 0) def test_lat_over_poles(self):

