From 290ef4cce05e0913addbfc0b07433187924b09b2cbeaeff538fe67293b4030ae Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 14 Sep 2023 08:34:27 +0000 Subject: [PATCH 1/3] =?UTF-8?q?-=20Update=20to=205.3.3=20=20=20##=20Bug=20?= =?UTF-8?q?Fixes=20=20=20###=20astropy.coordinates=20=20=20*=20TransformGr?= =?UTF-8?q?aph.to=5Fdot=5Fgraph()=20now=20throws=20an=20exception=20for=20?= =?UTF-8?q?=20=20=20=20invalid=20savelayout.=20=20=20###=20astropy.cosmolo?= =?UTF-8?q?gy=20=20=20*=20The=20exponent=20of=20w0wzCDM=20functions=20in?= =?UTF-8?q?=20inv=5Fefunc=20has=20been=20=20=20=20=20corrected=20to=203,?= =?UTF-8?q?=20from=20-3.=20[#15224]=20=20=20###=20astropy.modeling=20=20?= =?UTF-8?q?=20*=20Astropy=20modeling=20can=20filter=20non-finite=20data=20?= =?UTF-8?q?values=20using=20the=20=20=20=20=20filter=5Fnon=5Ffinite=20keyw?= =?UTF-8?q?ord=20argument=20in=20a=20fitter=20call.=20Now=20when=20=20=20?= =?UTF-8?q?=20=20filter=5Fnon=5Ffinite=20is=20True,=20non-finite=20weights?= =?UTF-8?q?=20will=20also=20be=20=20=20=20=20filtered=20to=20prevent=20cra?= =?UTF-8?q?shes=20in=20LevMarLSQFitter.=20[#15215]=20=20=20###=20astropy.u?= =?UTF-8?q?nits=20=20=20*=20Fixed=20astropy.units.Quantity=E2=80=99s=20imp?= =?UTF-8?q?lementation=20of=20=20=20=20=20numpy.nanmedian(),=20where=20for?= =?UTF-8?q?=20Numpy=20>=3D=201.25=20an=20exception=20was=20=20=20=20=20rai?= =?UTF-8?q?sed=20for=20some=20array=20shapes=20and=20axis=20combinations.?= =?UTF-8?q?=20[#15228]=20=20=20##=20Other=20Changes=20and=20Additions=20?= =?UTF-8?q?=20=20*=20v5.3.x=20will=20not=20support=20NumPy=202.0=20or=20la?= =?UTF-8?q?ter.=20[#15234]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=100 --- astropy-5.3.2.tar.gz | 3 --- astropy-5.3.3.tar.gz | 3 +++ python-astropy.changes | 23 +++++++++++++++++++++++ python-astropy.spec | 8 ++++---- 4 files changed, 30 insertions(+), 7 deletions(-) delete mode 100644 astropy-5.3.2.tar.gz create mode 100644 astropy-5.3.3.tar.gz diff --git a/astropy-5.3.2.tar.gz b/astropy-5.3.2.tar.gz deleted file mode 100644 index 47dbd97..0000000 --- a/astropy-5.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:222003dedd4d1ad00cf3b3a02747fd59c4fc93a97ddbe6328952916ad5f1558f -size 7803668 diff --git a/astropy-5.3.3.tar.gz b/astropy-5.3.3.tar.gz new file mode 100644 index 0000000..8ab798b --- /dev/null +++ b/astropy-5.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0330df9f5d7a2254367e9b8cf44255ba1070b06123188c6a72edc180493f93bb +size 7806734 diff --git a/python-astropy.changes b/python-astropy.changes index 63ed00d..1b34a9e 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Thu Sep 14 08:30:11 UTC 2023 - Ben Greiner + +- Update to 5.3.3 + ## Bug Fixes + ### astropy.coordinates + * TransformGraph.to_dot_graph() now throws an exception for + invalid savelayout. + ### astropy.cosmology + * The exponent of w0wzCDM functions in inv_efunc has been + corrected to 3, from -3. [#15224] + ### astropy.modeling + * Astropy modeling can filter non-finite data values using the + filter_non_finite keyword argument in a fitter call. Now when + filter_non_finite is True, non-finite weights will also be + filtered to prevent crashes in LevMarLSQFitter. [#15215] + ### astropy.units + * Fixed astropy.units.Quantity’s implementation of + numpy.nanmedian(), where for Numpy >= 1.25 an exception was + raised for some array shapes and axis combinations. [#15228] + ## Other Changes and Additions + * v5.3.x will not support NumPy 2.0 or later. [#15234] + ------------------------------------------------------------------- Tue Aug 22 17:19:38 UTC 2023 - Ben Greiner diff --git a/python-astropy.spec b/python-astropy.spec index 1c15620..3602055 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -48,7 +48,7 @@ %{?unbundle_wcs} Name: python-astropy%{psuffix} -Version: 5.3.2 +Version: 5.3.3 Release: 0 Summary: Community-developed python astronomy tools License: BSD-3-Clause @@ -64,7 +64,7 @@ BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module PyYAML >= 3.13} BuildRequires: %{python_module devel >= 3.9} BuildRequires: %{python_module extension-helpers} -BuildRequires: %{python_module numpy-devel >= 1.21} +BuildRequires: %{python_module numpy-devel >= 1.25 with %python-numpy-devel < 2} BuildRequires: %{python_module packaging >= 19.0} BuildRequires: %{python_module pip} BuildRequires: %{python_module pyerfa >= 2.0} @@ -76,9 +76,9 @@ BuildRequires: hdf5-devel BuildRequires: pkgconfig BuildRequires: python-rpm-macros Requires: python-PyYAML >= 3.13 -Requires: python-numpy >= 1.21 Requires: python-packaging >= 19.0 Requires: python-pyerfa >= 2.0 +Requires: (python-numpy >= 1.21 with python-numpy < 2) Requires(post): update-alternatives Requires(postun):update-alternatives Recommends: libxml2-tools @@ -132,7 +132,7 @@ BuildRequires: libxml2-tools BuildRequires: %{python_module astropy = %{version}} BuildRequires: %{python_module ipython >= 4.2} BuildRequires: %{python_module objgraph} -BuildRequires: %{python_module pytest >= 7} +BuildRequires: %{python_module pytest >= 7 with %python-pytest < 8} BuildRequires: %{python_module pytest-astropy >= 0.10} BuildRequires: %{python_module pytest-astropy-header >= 0.2.1} BuildRequires: %{python_module pytest-doctestplus >= 0.12} From 02747abd71cc9b12a2a6f29e2f01863faf0bf2dbe0459c852b6066314bb57714 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 14 Sep 2023 08:53:36 +0000 Subject: [PATCH 2/3] . OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=101 --- python-astropy.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-astropy.spec b/python-astropy.spec index 3602055..8568677 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -59,7 +59,7 @@ Source: https://files.pythonhosted.org/packages/source/a/astropy/astropy # These are used by the python files so they must be available. Source100: python-astropy-rpmlintrc # https://docs.astropy.org/en/v5.3/install.html#requirements -BuildRequires: %{python_module Cython >= 0.29.34} +BuildRequires: %{python_module Cython >= 0.29.34 with %python-Cython < 3} BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module PyYAML >= 3.13} BuildRequires: %{python_module devel >= 3.9} From 8565c44d44a34c5231ffdd08d7993c77bd28d3deed1b3aad9b64ee43ef219234 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 14 Sep 2023 10:02:41 +0000 Subject: [PATCH 3/3] - Restrain to Cython < 3 -- gh#astropy/astropy#15315 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=102 --- python-astropy.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/python-astropy.changes b/python-astropy.changes index 1b34a9e..b15af92 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -20,6 +20,7 @@ Thu Sep 14 08:30:11 UTC 2023 - Ben Greiner raised for some array shapes and axis combinations. [#15228] ## Other Changes and Additions * v5.3.x will not support NumPy 2.0 or later. [#15234] +- Restrain to Cython < 3 -- gh#astropy/astropy#15315 ------------------------------------------------------------------- Tue Aug 22 17:19:38 UTC 2023 - Ben Greiner