Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-astropy for openSUSE:Factory checked in at 2023-11-08 22:18:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-astropy (Old) and /work/SRC/openSUSE:Factory/.python-astropy.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-astropy" Wed Nov 8 22:18:12 2023 rev:47 rq:1124146 version:5.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes 2023-10-06 21:17:07.457666737 +0200 +++ /work/SRC/openSUSE:Factory/.python-astropy.new.17445/python-astropy.changes 2023-11-08 22:19:05.986197036 +0100 @@ -1,0 +2,7 @@ +Wed Nov 8 01:37:46 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Add astropy-pr15479-pvstar.patch + * PR gh#astropy/astropy#15479 backports gh#astropy/astropy#15476 + * Issue at gh#astropy/astropy#15537 + +------------------------------------------------------------------- New: ---- astropy-pr15479-pvstar.patch BETA DEBUG BEGIN: New: - Add astropy-pr15479-pvstar.patch * PR gh#astropy/astropy#15479 backports gh#astropy/astropy#15476 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-astropy.spec ++++++ --- /var/tmp/diff_new_pack.DFRQg0/_old 2023-11-08 22:19:06.742224809 +0100 +++ /var/tmp/diff_new_pack.DFRQg0/_new 2023-11-08 22:19:06.742224809 +0100 @@ -58,6 +58,8 @@ # Mark wcs headers as false positives for devel-file-in-non-devel-package # These are used by the python files so they must be available. Source100: python-astropy-rpmlintrc +# PATCH-FIX-UPSTREAM astropy-pr15479-pvstar.patch gh#astropy/astropy#15479 gh#astropy/astropy#15476 gh#astropy/astropy#15537 +Patch0: https://github.com/astropy/astropy/pull/15479.patch#/astropy-pr15479-pvstar.patch # https://docs.astropy.org/en/v5.3/install.html#requirements BuildRequires: %{python_module Cython >= 0.29.36 with %python-Cython < 3} BuildRequires: %{python_module Jinja2} ++++++ astropy-pr15479-pvstar.patch ++++++ >From c15ad2fcd21182787eb7db2195bfc70690efca2e Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pl...@users.noreply.github.com> Date: Fri, 13 Oct 2023 14:40:52 -0400 Subject: [PATCH] Backport PR #15476: Account for SOFA/ERFA bugfix in pvstar --- astropy/units/tests/test_structured_erfa_ufuncs.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/astropy/units/tests/test_structured_erfa_ufuncs.py b/astropy/units/tests/test_structured_erfa_ufuncs.py index 729f9539c7e..42589397a19 100644 --- a/astropy/units/tests/test_structured_erfa_ufuncs.py +++ b/astropy/units/tests/test_structured_erfa_ufuncs.py @@ -139,7 +139,11 @@ def test_pvstar(self): assert px.unit == u.arcsec assert_quantity_allclose(px, 1 * u.radian) assert rv.unit == u.km / u.s - assert_array_equal(rv.value, np.zeros(self.pv.shape)) + # RV is non-zero because proper motion induces a small redshift + # due to second order Doppler shift. + assert_quantity_allclose( + rv, np.zeros(self.pv.shape) << (u.km / u.s), atol=1 * u.m / u.s + ) def test_starpv(self): ra, dec, pmr, pmd, px, rv, stat = erfa_ufunc.pvstar(self.pv)