From fdd4c5c4cd48df7c2ca757881e6202b1e810fba997ac0cbe99982983ab502bbb Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 8 Apr 2021 17:31:25 +0000 Subject: [PATCH] Accepting request 883882 from home:bnavigator:branches:devel:languages:python:numeric - Update to version 4.2.1 astropy.cosmology * Fixed an issue where specializations of the comoving distance calculation for certain cosmologies could not handle redshift arrays. [#10980] astropy.io.fits * Fix bug where manual fixes to invalid header cards were not preserved when saving a FITS file. [#11108] astropy.io.votable * NumericArray converter now properly broadcasts scalar mask to array. [#11157] astropy.table * Fix bug when initializing a Table subclass that uses TableAttribute's. If the data were an instance of the table then attributes provided in the table initialization call could be ignored. [#11217] astropy.time * Change epoch of TimeUnixTAI ("unix_tai") from 1970-01-01T00:00:00 UTC to 1970-01-01T00:00:00 TAI to match the intended and documented behaviour. This essentially changes the resulting times by 8.000082 seconds, the initial offset between TAI and UTC. [#11249] astropy.units * Fixed a bug with the quantity_input decorator where allowing dimensionless inputs for an argument inadvertently disabled any checking of compatible units for that argument. [#11283] astropy.utils * Fix a bug so that np.shape, np.ndim and np.size again work on classes that use ShapedLikeNDArray, like representations, frames, sky coordinates, and times. [#11133] OBS-URL: https://build.opensuse.org/request/show/883882 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=51 --- astropy-4.2.1.tar.gz | 3 +++ astropy-4.2.tar.gz | 3 --- python-astropy.changes | 37 +++++++++++++++++++++++++++++++++++++ python-astropy.spec | 6 +++--- 4 files changed, 43 insertions(+), 6 deletions(-) create mode 100644 astropy-4.2.1.tar.gz delete mode 100644 astropy-4.2.tar.gz diff --git a/astropy-4.2.1.tar.gz b/astropy-4.2.1.tar.gz new file mode 100644 index 0000000..b14bda7 --- /dev/null +++ b/astropy-4.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed483e472241153daec45f4b0c318c2c63d9f47305b78e6e63d32fc388c18427 +size 7484524 diff --git a/astropy-4.2.tar.gz b/astropy-4.2.tar.gz deleted file mode 100644 index 048d5ea..0000000 --- a/astropy-4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c194f8a429b8399de64a413a06881ea49f0525cabaa2d78fc132b9e970adc6a -size 7462293 diff --git a/python-astropy.changes b/python-astropy.changes index 736993b..e7b6909 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Thu Apr 8 16:46:35 UTC 2021 - Ben Greiner + +- Update to version 4.2.1 + astropy.cosmology + * Fixed an issue where specializations of the comoving distance + calculation for certain cosmologies could not handle redshift + arrays. [#10980] + astropy.io.fits + * Fix bug where manual fixes to invalid header cards were not + preserved when saving a FITS file. [#11108] + astropy.io.votable + * NumericArray converter now properly broadcasts scalar mask to + array. [#11157] + astropy.table + * Fix bug when initializing a Table subclass that uses + TableAttribute's. If the data were an instance of the table + then attributes provided in the table initialization call + could be ignored. [#11217] + astropy.time + * Change epoch of TimeUnixTAI ("unix_tai") from + 1970-01-01T00:00:00 UTC to 1970-01-01T00:00:00 TAI to match + the intended and documented behaviour. This essentially + changes the resulting times by 8.000082 seconds, the initial + offset between TAI and UTC. [#11249] + astropy.units + * Fixed a bug with the quantity_input decorator where allowing + dimensionless inputs for an argument inadvertently disabled + any checking of compatible units for that argument. [#11283] + astropy.utils + * Fix a bug so that np.shape, np.ndim and np.size again work on + classes that use ShapedLikeNDArray, like representations, + frames, sky coordinates, and times. [#11133] + astropy.wcs + * Fix error when a user defined proj_point parameter is passed + to fit_wcs_from_points. [#11139] + ------------------------------------------------------------------- Mon Mar 8 12:07:01 UTC 2021 - Ben Greiner diff --git a/python-astropy.spec b/python-astropy.spec index 396d6ac..f68860b 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -1,5 +1,5 @@ # -# spec file for package python-astropy +# spec file for package python-astropy-test # # Copyright (c) 2021 SUSE LLC # @@ -44,7 +44,7 @@ # upcoming python3 multiflavor: minimum supported python is 3.7 %define skip_python36 1 Name: python-astropy%{psuffix} -Version: 4.2 +Version: 4.2.1 Release: 0 Summary: Community-developed python astronomy tools License: BSD-3-Clause @@ -74,7 +74,7 @@ Requires: python-dbm Requires: python-numpy >= 1.17 Requires: python-pyerfa Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: libxml2-tools Recommends: python-Bottleneck Recommends: python-PyYAML >= 3.13