Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-gwcs for openSUSE:Factory 
checked in at 2022-03-17 17:01:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gwcs (Old)
 and      /work/SRC/openSUSE:Factory/.python-gwcs.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gwcs"

Thu Mar 17 17:01:39 2022 rev:8 rq:962342 version:0.18.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gwcs/python-gwcs.changes  2021-12-31 
13:50:21.669563442 +0100
+++ /work/SRC/openSUSE:Factory/.python-gwcs.new.25692/python-gwcs.changes       
2022-03-17 17:01:51.825702135 +0100
@@ -1,0 +2,8 @@
+Thu Mar 17 07:59:13 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 0.18.1
+  * Bug fix update
+  * Remove references to the ``six`` package. [#402]
+  * Fix asdf-astropy related test failure
+
+-------------------------------------------------------------------

Old:
----
  gwcs-0.18.0.tar.gz

New:
----
  gwcs-0.18.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-gwcs.spec ++++++
--- /var/tmp/diff_new_pack.9e3XzE/_old  2022-03-17 17:01:52.321702514 +0100
+++ /var/tmp/diff_new_pack.9e3XzE/_new  2022-03-17 17:01:52.325702518 +0100
@@ -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 @@
 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:  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 @@
 %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

++++++ gwcs-0.18.0.tar.gz -> gwcs-0.18.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gwcs-0.18.0/CHANGES.rst new/gwcs-0.18.1/CHANGES.rst
--- old/gwcs-0.18.0/CHANGES.rst 2021-12-22 22:48:34.000000000 +0100
+++ new/gwcs-0.18.1/CHANGES.rst 2022-03-15 16:23:14.000000000 +0100
@@ -1,3 +1,10 @@
+0.18.1 (2022-03-15)
+-------------------
+Bug Fixes
+^^^^^^^^^
+
+- Remove references to the ``six`` package. [#402]
+
 0.18.0 (2021-12-22)
 -------------------
 Bug Fixes
@@ -6,12 +13,11 @@
 - Updated code in ``region.py`` with latest improvements and bug fixes
   from ``stsci.skypac.regions.py`` [#382]
 
-
 New Features
 ^^^^^^^^^^^^
 
 - Enabled ``CompoundBoundingBox`` support for wcs. [#375]
-  
+
 - Moved schemas to standalone package ``asdf-wcs-schemas``.
   Reworked the serialization code to use ASDF converters. [#388]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gwcs-0.18.0/PKG-INFO new/gwcs-0.18.1/PKG-INFO
--- old/gwcs-0.18.0/PKG-INFO    2021-12-22 22:48:43.427580000 +0100
+++ new/gwcs-0.18.1/PKG-INFO    2022-03-15 16:23:23.236593700 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: gwcs
-Version: 0.18.0
+Version: 0.18.1
 Summary: Generalized World Coordinate System
 Home-page: https://github.com/spacetelescope/gwcs
 Author: gwcs developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gwcs-0.18.0/conftest.py new/gwcs-0.18.1/conftest.py
--- old/gwcs-0.18.0/conftest.py 2021-12-22 22:48:34.000000000 +0100
+++ new/gwcs-0.18.1/conftest.py 2022-03-15 16:23:14.000000000 +0100
@@ -1,11 +1,6 @@
 import os
 import pkg_resources
 
-from astropy.tests.helper import enable_deprecations_as_exceptions
-
-# Uncomment the following line to treat all DeprecationWarnings as
-# exceptions
-#enable_deprecations_as_exceptions()
 
 entry_points = []
 for entry_point in pkg_resources.iter_entry_points('pytest11'):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gwcs-0.18.0/gwcs/converters/tests/test_wcs.py 
new/gwcs-0.18.1/gwcs/converters/tests/test_wcs.py
--- old/gwcs-0.18.0/gwcs/converters/tests/test_wcs.py   2021-12-22 
22:48:34.000000000 +0100
+++ new/gwcs-0.18.1/gwcs/converters/tests/test_wcs.py   2022-03-15 
16:23:14.000000000 +0100
@@ -12,8 +12,8 @@
 from astropy import time  # noqa: E402
 
 import asdf  # noqa: E402
-from asdf_astropy.converters.transform.tests.test_transform import (  # noqa: 
E402
-     assert_models_equal)
+from asdf_astropy.testing.helpers import (  # noqa: E402
+     assert_model_equal)
 
 from ... import coordinate_frames as cf  # noqa: E402
 from ... import wcs  # noqa: E402
@@ -56,7 +56,7 @@
     assert len(a.available_frames) == len(b.available_frames) # nosec
     for a_step, b_step in zip(a.pipeline, b.pipeline):
         _assert_frame_equal(a_step.frame, b_step.frame)
-        assert_models_equal(a_step.transform, b_step.transform)
+        assert_model_equal(a_step.transform, b_step.transform)
 
 
 def assert_wcs_roundtrip(wcs, tmpdir, version=None):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gwcs-0.18.0/gwcs/gwcs_types.py 
new/gwcs-0.18.1/gwcs/gwcs_types.py
--- old/gwcs-0.18.0/gwcs/gwcs_types.py  2021-12-22 22:48:34.000000000 +0100
+++ new/gwcs-0.18.1/gwcs/gwcs_types.py  2022-03-15 16:23:14.000000000 +0100
@@ -6,8 +6,6 @@
 
 """
 
-import six
-
 from astropy.io.misc.asdf.tags.transform.basic import TransformType
 from asdf.types import ExtensionTypeMeta, CustomType
 from astropy.io.misc.asdf.types import AstropyTypeMeta
@@ -49,8 +47,7 @@
         return cls
 
 
-@six.add_metaclass(GWCSTypeMeta)
-class GWCSType(CustomType):
+class GWCSType(CustomType, metaclass=GWCSTypeMeta):
     """
     This class represents types that have schemas and tags
     implemented within GWCS.
@@ -60,8 +57,7 @@
     standard = 'gwcs'
 
 
-@six.add_metaclass(GWCSTransformTypeMeta)
-class GWCSTransformType(TransformType):
+class GWCSTransformType(TransformType, metaclass=GWCSTransformTypeMeta):
     """
     This class represents transform types that have schemas and tags
     implemented within GWCS.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gwcs-0.18.0/gwcs/wcs.py new/gwcs-0.18.1/gwcs/wcs.py
--- old/gwcs-0.18.0/gwcs/wcs.py 2021-12-22 22:48:34.000000000 +0100
+++ new/gwcs-0.18.1/gwcs/wcs.py 2022-03-15 16:23:14.000000000 +0100
@@ -702,16 +702,12 @@
         >>> w = asdf.open(filename).tree['wcs']
 
         >>> ra, dec = w([1,2,3], [1,1,1])
-        >>> print(ra)  # doctest: +FLOAT_CMP
-        [5.927628   5.92757069 5.92751337]
-        >>> print(dec)  # doctest: +FLOAT_CMP
-        [-72.01341247 -72.01341273 -72.013413  ]
+        >>> assert np.allclose(ra, [5.927628, 5.92757069, 5.92751337]);
+        >>> assert np.allclose(dec, [-72.01341247, -72.01341273, -72.013413])
 
         >>> x, y = w.numerical_inverse(ra, dec)
-        >>> print(x)  # doctest: +FLOAT_CMP
-        [1.00000005 2.00000005 3.00000006]
-        >>> print(y)  # doctest: +FLOAT_CMP
-        [1.00000004 0.99999979 1.00000015]
+        >>> assert np.allclose(x, [1.00000005, 2.00000005, 3.00000006]);
+        >>> assert np.allclose(y, [1.00000004, 0.99999979, 1.00000015]);
 
         >>> x, y = w.numerical_inverse(ra, dec, maxiter=3, tolerance=1.0e-10, 
quiet=False)
         Traceback (most recent call last):
@@ -733,12 +729,11 @@
         least for one input point.
 
         >>> # Now try to use some diverging data:
-        >>> divradec = w([1, 300000, 3], [2, 1000000, 5], 
with_bounding_box=False)
-        >>> print(divradec)  # doctest: +FLOAT_CMP
-        (array([  5.92762673, 148.21600848,   5.92750827]),
-         array([-72.01339464,  -7.80968079, -72.01334172]))
+        >>> divra, divdec = w([1, 300000, 3], [2, 1000000, 5], 
with_bounding_box=False)
+        >>> assert np.allclose(divra, [5.92762673, 148.21600848, 5.92750827])
+        >>> assert np.allclose(divdec, [-72.01339464, -7.80968079, 
-72.01334172])
         >>> try:  # doctest: +SKIP
-        ...     x, y = w.numerical_inverse(*divradec, maxiter=20,
+        ...     x, y = w.numerical_inverse(divra, divdec, maxiter=20,
         ...                                tolerance=1.0e-4, adaptive=True,
         ...                                detect_divergence=True,
         ...                                quiet=False)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gwcs-0.18.0/gwcs.egg-info/PKG-INFO 
new/gwcs-0.18.1/gwcs.egg-info/PKG-INFO
--- old/gwcs-0.18.0/gwcs.egg-info/PKG-INFO      2021-12-22 22:48:43.000000000 
+0100
+++ new/gwcs-0.18.1/gwcs.egg-info/PKG-INFO      2022-03-15 16:23:22.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: gwcs
-Version: 0.18.0
+Version: 0.18.1
 Summary: Generalized World Coordinate System
 Home-page: https://github.com/spacetelescope/gwcs
 Author: gwcs developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gwcs-0.18.0/gwcs.egg-info/entry_points.txt 
new/gwcs-0.18.1/gwcs.egg-info/entry_points.txt
--- old/gwcs-0.18.0/gwcs.egg-info/entry_points.txt      2021-12-22 
22:48:43.000000000 +0100
+++ new/gwcs-0.18.1/gwcs.egg-info/entry_points.txt      2022-03-15 
16:23:23.000000000 +0100
@@ -1,3 +1,2 @@
 [asdf.extensions]
 gwcs = gwcs.extension:get_extensions
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gwcs-0.18.0/gwcs.egg-info/requires.txt 
new/gwcs-0.18.1/gwcs.egg-info/requires.txt
--- old/gwcs-0.18.0/gwcs.egg-info/requires.txt  2021-12-22 22:48:43.000000000 
+0100
+++ new/gwcs-0.18.1/gwcs.egg-info/requires.txt  2022-03-15 16:23:23.000000000 
+0100
@@ -3,7 +3,7 @@
 numpy
 scipy
 asdf_wcs_schemas
-asdf-astropy
+asdf-astropy>=0.2.0
 
 [docs]
 sphinx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gwcs-0.18.0/requirements-dev.txt 
new/gwcs-0.18.1/requirements-dev.txt
--- old/gwcs-0.18.0/requirements-dev.txt        2021-12-22 22:48:34.000000000 
+0100
+++ new/gwcs-0.18.1/requirements-dev.txt        2022-03-15 16:23:14.000000000 
+0100
@@ -1,3 +1,7 @@
-git+https://github.com/astropy/astropy#egg=astropy
-git+https://github.com/spacetelescope/asdf#egg=asdf
-
+git+https://github.com/asdf-format/asdf
+git+https://github.com/asdf-format/asdf-standard
+git+https://github.com/asdf-format/asdf-transform-schemas
+git+https://github.com/asdf-format/asdf-coordinates-schemas
+git+https://github.com/asdf-format/asdf-wcs-schemas
+git+https://github.com/astropy/astropy
+git+https://github.com/astropy/asdf-astropy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gwcs-0.18.0/setup.cfg new/gwcs-0.18.1/setup.cfg
--- old/gwcs-0.18.0/setup.cfg   2021-12-22 22:48:43.427580000 +0100
+++ new/gwcs-0.18.1/setup.cfg   2022-03-15 16:23:23.236593700 +0100
@@ -23,7 +23,7 @@
        numpy
        scipy
        asdf_wcs_schemas
-       asdf-astropy
+       asdf-astropy >= 0.2.0
 
 [options.extras_require]
 docs = 

Reply via email to