diff --git a/astropy-5.0.1.tar.gz b/astropy-5.0.1.tar.gz deleted file mode 100644 index e1d1ad2..0000000 --- a/astropy-5.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6382cde6a205aa0b16a0d5e61c0c0131ebd4f0174d6c73e2964f4bee132a9027 -size 7830894 diff --git a/astropy-5.0.2.tar.gz b/astropy-5.0.2.tar.gz new file mode 100644 index 0000000..aa31514 --- /dev/null +++ b/astropy-5.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:449f0ba5e7292457eed37550b047444751a606e7b8a34f93b1c28d0bb63e7f40 +size 7837851 diff --git a/python-astropy.changes b/python-astropy.changes index 394235f..1d2aa0d 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Sun Mar 13 08:10:02 UTC 2022 - Ben Greiner + +- Update to 5.0.2 + astropy.io.ascii + * Bugfix to add backwards compatibility for reading ECSV version + 0.9 files with non-standard column datatypes (such as `object`, + `str`, `datetime64`, etc.), which would raise a ValueError in + ECSV version 1.0. [#12880] + * astropy.io.misc + * Bugfix for `units_mapping` schema's property name conflicts. + Changes: + - `inputs` to `unit_inputs` + - `outputs` to `unit_outputs` [#12800] + astropy.io.votable + * Fixed a bug where `astropy.io.votable.validate` was printing + output to `sys.stdout` when the `output` paramter was set to + `None`. `validate` now returns a string when `output` is set to + `None`, as documented. [#12604] + astropy.modeling + * Fix handling of units on `scale` parameter in BlackBody model. + [#12318] + * Indexing on models can now be used with all types of integers + (like `numpy.int64`) instead of just `int`. [#12561] + * Fix computation of the separability of a `CompoundModel` where + another `CompoundModel` is on the right hand side of the `&` + operator. [#12907] + * Provide a hook (`Model._calculate_separability_matrix`) to + allow subclasses of `Model` to define how to compute their + separability matrix. [#12900] + astropy.stats + * Fixed a bug in which running + `kuiper_false_positive_probability(D,N)` on distributions with + many data points could produce NaN values for the false + positive probability of the Kuiper statistic. [#12896] + astropy.wcs + * Fixed a bug due to which `naxis`, `pixel_shape`, and + `pixel_bounds` attributes of `astropy.wcs.WCS` were not + restored when an `astropy.wcs.WCS` object was unpickled. This + fix also eliminates `FITSFixedWarning` warning issued during + unpiclikng of the WCS objects related to the number of axes. + This fix also eliminates errors when unpickling WCS objects + originally created using non-default values for `key`, + `colsel`, and `keysel` parameters. [#12844] + ------------------------------------------------------------------- Fri Jan 28 19:27:20 UTC 2022 - Ben Greiner diff --git a/python-astropy.spec b/python-astropy.spec index 2441c77..c007fe3 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -50,7 +50,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-astropy%{psuffix} -Version: 5.0.1 +Version: 5.0.2 Release: 0 Summary: Community-developed python astronomy tools License: BSD-3-Clause @@ -83,7 +83,7 @@ Requires(post): update-alternatives Requires(postun):update-alternatives Recommends: libxml2-tools Recommends: python-Bottleneck -Recommends: python-asdf >= 2.6 +Recommends: python-asdf >= 2.9.2 Recommends: python-beautifulsoup4 Recommends: python-bleach Recommends: python-h5py @@ -96,7 +96,7 @@ Recommends: python-pyarrow >= 5 Recommends: python-scipy >= 1.1 Recommends: python-setuptools Recommends: python-sortedcontainers -Recommends: python-typing_extensions +Recommends: python-typing_extensions >= 3.10.0.1 Conflicts: perl-Data-ShowTable Conflicts: python-matplotlib = 3.4.0 %if %{with system_cfitsio} @@ -111,7 +111,7 @@ BuildRequires: pkgconfig(wcslib) >= 7 %if %{with test} # SECTION Optional requirements BuildRequires: %{python_module Bottleneck} -BuildRequires: %{python_module asdf >= 2.6} +BuildRequires: %{python_module asdf >= 2.9.2} BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module bleach} BuildRequires: %{python_module h5py} @@ -122,7 +122,7 @@ BuildRequires: %{python_module mpmath} BuildRequires: %{python_module pandas} BuildRequires: %{python_module scipy >= 1.3} BuildRequires: %{python_module sortedcontainers} -BuildRequires: %{python_module typing_extensions} +BuildRequires: %{python_module typing_extensions >= 3.10.0.1} BuildRequires: libxml2-tools # /SECTION # SECTION test requirements @@ -130,7 +130,10 @@ BuildRequires: libxml2-tools BuildRequires: %{python_module astropy = %{version}} BuildRequires: %{python_module ipython >= 4.2} BuildRequires: %{python_module objgraph} +# upstream declares pytest >= 7, but Tumbleweed is not ready for it (!) +BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-astropy >= 0.9} +BuildRequires: %{python_module pytest-doctestplus >= 0.12} BuildRequires: %{python_module pytest-mpl} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module sgp4} @@ -203,6 +206,10 @@ donttest+=" or (test_standard_profile and test_main)" # gh#astropy/astropy#12017 donttest+=" or test_stats" %endif +# These require pytest >= 7: new pytest.warns API +donttest+=" or (test_c_reader.py and range)" +donttest+=" or (test_profiling and test_spectrum)" +donttest+=" or (test_utils and test_noncelestial_scale and True)" # # http://docs.astropy.org/en/latest/development/testguide.html#running-tests # running pytest directly would require building the extensions inplace