From 9e373d0c16e882b59966df6e231f7638b5f82e5e9b320f5e2fe574848621c237 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 17 Mar 2022 08:21:15 +0000 Subject: [PATCH] Accepting request 962341 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.18.1 * Bug fix update * Remove references to the ``six`` package. [#402] * Fix asdf-astropy related test failure OBS-URL: https://build.opensuse.org/request/show/962341 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=15 --- gwcs-0.18.0.tar.gz | 3 --- gwcs-0.18.1.tar.gz | 3 +++ python-gwcs.changes | 8 ++++++++ python-gwcs.spec | 17 ++++++----------- 4 files changed, 17 insertions(+), 14 deletions(-) delete mode 100644 gwcs-0.18.0.tar.gz create mode 100644 gwcs-0.18.1.tar.gz diff --git a/gwcs-0.18.0.tar.gz b/gwcs-0.18.0.tar.gz deleted file mode 100644 index 85f6754..0000000 --- a/gwcs-0.18.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:60e4091ce02fc27a185bdec36bc1ea4da3ffa201d232746fda5fca8e6a2292a4 -size 179912 diff --git a/gwcs-0.18.1.tar.gz b/gwcs-0.18.1.tar.gz new file mode 100644 index 0000000..2d96657 --- /dev/null +++ b/gwcs-0.18.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ab56c16bda6373e4c1444f0604d0cd310d3c462f593d4ac50604e157402e56d +size 179900 diff --git a/python-gwcs.changes b/python-gwcs.changes index e85fafd..94639d5 100644 --- a/python-gwcs.changes +++ b/python-gwcs.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 17 07:59:13 UTC 2022 - Ben Greiner + +- Update to 0.18.1 + * Bug fix update + * Remove references to the ``six`` package. [#402] + * Fix asdf-astropy related test failure + ------------------------------------------------------------------- Tue Dec 28 14:59:01 UTC 2021 - Ben Greiner diff --git a/python-gwcs.spec b/python-gwcs.spec index f2db019..7702a99 100644 --- a/python-gwcs.spec +++ b/python-gwcs.spec @@ -1,7 +1,7 @@ # # spec file for package python-gwcs # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,13 +16,10 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -# Astropy dropped Python 3.6 -# But gwcs still supports it, so keep the -base, requirement below for potential Leap backports -%define skip_python36 1 Name: python-gwcs -Version: 0.18.0 +Version: 0.18.1 Release: 0 Summary: Generalized World Coordinate System License: BSD-3-Clause @@ -30,7 +27,7 @@ Group: Productivity/Scientific/Astronomy URL: https://gwcs.readthedocs.io/en/latest/ Source: https://files.pythonhosted.org/packages/source/g/gwcs/gwcs-%{version}.tar.gz BuildRequires: %{python_module asdf >= 2.8.1} -BuildRequires: %{python_module asdf-astropy} +BuildRequires: %{python_module asdf-astropy >= 0.2.0} BuildRequires: %{python_module asdf_wcs_schemas} BuildRequires: %{python_module astropy >= 4.1} BuildRequires: %{python_module base >= 3.6} @@ -41,7 +38,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-asdf >= 2.8.1 -Requires: python-asdf-astropy +Requires: python-asdf-astropy >= 0.2.0 Requires: python-asdf_wcs_schemas Requires: python-astropy >= 4.1 Requires: python-numpy @@ -68,9 +65,7 @@ World Coordinate System of astronomical data. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# the schema tests do not tolerate numpy 1.20 deprecation warnings. Already fixed upstream, but patch is too unspecific -# gh#spacetelescope/gwcs#353 -%pytest -ra -k "not (schemas and (label_mapper or regions_selector))" +%pytest -ra %files %{python_files} %doc README.rst