Accepting request 1245408 from devel:languages:python:numeric

- Update to 0.24.0
  * Coordinate frames now have a "native" order and then are sorted
    based on axes_order. [#457]
  * WCS.numerical_inverse no longer accepts high level objects
    (with_units= is not supported) use WCS.inverse. [#457]
  * CoordinateFrame.coordinates has been replaced by
    CoordinateFrame.to_high_level_coordinates [#457]
  * CoordinateFrame.to_quantity has been replaced by
    CoordinateFrame.from_high_level_coordinates. [#457]
  * Inputs to CelestialFrame, such as axes_names are now explicitly
    in lon, lat order and will re sorted based on axes_order=.
    [#457]
  * Implement code linting and automatic formatting. [#544]
  * Refactor WCS to use a Pipeline base class which adds basic
    checks to ensure that the pipeline is valid. These include
    checking for duplicate frame names and that the last transform
    is None. [#545]
  * Bugfix for WCS.invert and WCS.to_fits that prevented evaluation
    when the attached bounding box happened to have units on its
    values. [#554]
- No release 0.23.0 (skipped)
  * This was skipped to avoid issues with an ongoing JWST release.
- Release 0.22.0
  *  Replace usages of copy_arrays with memmap [#503]
  *  Fix an issue with units in wcs_from_points. [#507]
  *  Fix incorrect units being returned in the low level WCS API.
     [#512]
  *  Synchronize region.py with the copies of it in JWST and
     Romancal. [#517]
  *  Add support for compound bounding boxes and ignored bounding

OBS-URL: https://build.opensuse.org/request/show/1245408
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gwcs?expand=0&rev=13
This commit is contained in:
Ana Guerrero 2025-02-12 20:39:06 +00:00 committed by Git OBS Bridge
commit 51b037f0bc
4 changed files with 68 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8cd27f1ce6b25ad72cc33ca2e4178ab29d82050344c710713f74992136a1c5ba
size 195866

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6387bd4492ab25e74522b6ead1971602462ed57432e4eb274a3734426d166e60
size 212592

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Wed Feb 12 14:39:07 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 0.24.0
* Coordinate frames now have a "native" order and then are sorted
based on axes_order. [#457]
* WCS.numerical_inverse no longer accepts high level objects
(with_units= is not supported) use WCS.inverse. [#457]
* CoordinateFrame.coordinates has been replaced by
CoordinateFrame.to_high_level_coordinates [#457]
* CoordinateFrame.to_quantity has been replaced by
CoordinateFrame.from_high_level_coordinates. [#457]
* Inputs to CelestialFrame, such as axes_names are now explicitly
in lon, lat order and will re sorted based on axes_order=.
[#457]
* Implement code linting and automatic formatting. [#544]
* Refactor WCS to use a Pipeline base class which adds basic
checks to ensure that the pipeline is valid. These include
checking for duplicate frame names and that the last transform
is None. [#545]
* Bugfix for WCS.invert and WCS.to_fits that prevented evaluation
when the attached bounding box happened to have units on its
values. [#554]
- No release 0.23.0 (skipped)
* This was skipped to avoid issues with an ongoing JWST release.
- Release 0.22.0
* Replace usages of copy_arrays with memmap [#503]
* Fix an issue with units in wcs_from_points. [#507]
* Fix incorrect units being returned in the low level WCS API.
[#512]
* Synchronize region.py with the copies of it in JWST and
Romancal. [#517]
* Add support for compound bounding boxes and ignored bounding
box entries. [#519]
* Add gwcs.examples module, based on the examples located in the
testing conftest.py. [#521]
* Force bounding_box to always be returned as a F ordered box.
[#522]
* Move the bounding box attachment to the forward transform
property. [#532]
* Adjust world_to_array_index_values to round to integer
coordinates as specified by APE 14. [#525]
* Add warning filter to asdf extension to prevent the
bounding_box order warning for gwcs objects originating from a
file. [#526]
* Fixed a bug where evaluating the inverse transform did not
respect the bounding box. [#498]
* Improved reliability of inside/outside footprint computations
when evaluating inverse transform with bounding box. [#536]
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 7 13:03:20 UTC 2024 - Ben Greiner <code@bnavigator.de> Sun Apr 7 13:03:20 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-gwcs # spec file for package python-gwcs
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: python-gwcs Name: python-gwcs
Version: 0.21.0 Version: 0.24.0
Release: 0 Release: 0
Summary: Generalized World Coordinate System Summary: Generalized World Coordinate System
License: BSD-3-Clause License: BSD-3-Clause
@ -25,29 +25,29 @@ Group: Productivity/Scientific/Astronomy
URL: https://gwcs.readthedocs.io/en/latest/ URL: https://gwcs.readthedocs.io/en/latest/
# SourceRepository: https://github.com/spacetelescope/gwcs # SourceRepository: https://github.com/spacetelescope/gwcs
Source: https://files.pythonhosted.org/packages/source/g/gwcs/gwcs-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/g/gwcs/gwcs-%{version}.tar.gz
BuildRequires: %{python_module asdf >= 2.8.1} BuildRequires: %{python_module asdf >= 3.3.0}
BuildRequires: %{python_module asdf-astropy >= 0.2.0} BuildRequires: %{python_module asdf-astropy >= 0.5.0}
BuildRequires: %{python_module asdf_wcs_schemas >= 0.4.0} BuildRequires: %{python_module asdf_wcs_schemas >= 0.4.0}
BuildRequires: %{python_module astropy >= 5.1} BuildRequires: %{python_module astropy >= 6}
BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module numpy} BuildRequires: %{python_module numpy >= 1.24}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module scipy} BuildRequires: %{python_module scipy >= 1.14.1}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-asdf >= 2.8.1 Requires: python-asdf >= 3.3.0
Requires: python-asdf-astropy >= 0.2.0 Requires: python-asdf-astropy >= 0.5.0
Requires: python-asdf_wcs_schemas >= 0.4.0 Requires: python-asdf_wcs_schemas >= 0.4.0
Requires: python-astropy >= 5.1 Requires: python-astropy >= 6
Requires: python-numpy Requires: python-numpy >= 1.24
Requires: python-scipy Requires: python-scipy >= 1.14.1
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pytest-astropy} BuildRequires: %{python_module pytest-astropy >= 0.11.0}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest >= 8}
# /SECTION # /SECTION
%python_subpackages %python_subpackages