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
This commit is contained in:
Benjamin Greiner 2022-03-17 08:21:15 +00:00 committed by Git OBS Bridge
parent 2442790471
commit 9e373d0c16
4 changed files with 17 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60e4091ce02fc27a185bdec36bc1ea4da3ffa201d232746fda5fca8e6a2292a4
size 179912

3
gwcs-0.18.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ab56c16bda6373e4c1444f0604d0cd310d3c462f593d4ac50604e157402e56d
size 179900

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Mar 17 07:59:13 UTC 2022 - Ben Greiner <code@bnavigator.de>
- 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 <code@bnavigator.de>

View File

@ -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