Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-reproject for
openSUSE:Factory checked in at 2022-11-08 10:54:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-reproject (Old)
and /work/SRC/openSUSE:Factory/.python-reproject.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-reproject"
Tue Nov 8 10:54:53 2022 rev:2 rq:1034356 version:0.9.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-reproject/python-reproject.changes
2022-02-07 23:39:46.433753301 +0100
+++
/work/SRC/openSUSE:Factory/.python-reproject.new.1597/python-reproject.changes
2022-11-08 10:55:13.977809119 +0100
@@ -1,0 +2,23 @@
+Mon Nov 7 18:46:51 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to v0.9.1
+ * support for Python 3.11
+- Release v0.9
+ * Drop support for Python 3.7.
+ * Infrastructure and packaging updates.
+ * Made many improvements, bug fixes, and significant speed-ups
+ for the adaptive resampling algorithm, reproject_adaptive.
+ These bug fixes may cause changes to the reprojected images,
+ which are typically negligible.Improvements include the
+ addition of a flux-conserving mode, support for a Gaussian
+ filter kernel, a menu of boundary-handling modes, and a
+ center_jacobian flag to trade speed for accuracy with
+ rapidly-varying transformations.
+ * Added a roundtrip_coords argument to reproject_adaptive and
+ reproject_interp. By default, all coordinate transformations
+ are run in both directions to handle some situations where they
+ are ambiguous. This can be disabled by setting
+ roundtrip_coords=False which may offer a significant speed
+ increase.
+
+-------------------------------------------------------------------
Old:
----
reproject-0.8.tar.gz
New:
----
reproject-0.9.1-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-reproject.spec ++++++
--- /var/tmp/diff_new_pack.8WjlzT/_old 2022-11-08 10:55:14.913811322 +0100
+++ /var/tmp/diff_new_pack.8WjlzT/_new 2022-11-08 10:55:14.921811340 +0100
@@ -16,34 +16,39 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-reproject
-Version: 0.8
+Version: 0.9.1
Release: 0
Summary: Reproject astronomical images
License: BSD-3-Clause
URL: https://reproject.readthedocs.io
-Source:
https://files.pythonhosted.org/packages/source/r/reproject/reproject-%{version}.tar.gz
+# Repo-URL: https://github.com/astropy/reproject
+Source:
https://github.com/astropy/reproject/archive/refs/tags/v%{version}.tar.gz#/reproject-%{version}-gh.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module extension-helpers}
-BuildRequires: %{python_module numpy-devel >= 1.14}
+BuildRequires: %{python_module numpy-devel >= 1.17}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-astropy >= 3.2
+Requires: python-astropy >= 4
Requires: python-astropy-healpix >= 0.6
-Requires: python-numpy >= 1.14
-Requires: python-scipy >= 1.1
+Requires: python-numpy >= 1.17
+Requires: python-scipy >= 1.3
# SECTION test requirements
-BuildRequires: %{python_module astropy >= 3.2}
+BuildRequires: %{python_module astropy >= 4}
+BuildRequires: %{python_module Shapely}
+BuildRequires: %{python_module asdf}
BuildRequires: %{python_module astropy-healpix >= 0.6}
-BuildRequires: %{python_module pytest-arraydiff}
+BuildRequires: %{python_module gwcs}
+BuildRequires: %{python_module pytest-arraydiff >= 0.5}
BuildRequires: %{python_module pytest-astropy}
BuildRequires: %{python_module pytest-doctestplus}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module scipy >= 1.1}
+BuildRequires: %{python_module scipy >= 1.3}
# /SECTION
%python_subpackages
@@ -55,10 +60,11 @@
%build
export CFLAGS="%{optflags}"
-%python_build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%{python_expand #
rm -r %{buildroot}%{$python_sitearch}/reproject/spherical_intersect/*.h
%fdupes %{buildroot}%{$python_sitearch}
@@ -66,8 +72,9 @@
%check
mkdir cleantestdir
+cp setup.cfg cleantestdir
cd cleantestdir
-%pytest_arch --arraydiff --arraydiff-default-format=fits --pyargs reproject
+%pytest_arch --pyargs reproject
%files %{python_files}
%doc CHANGES.md README.rst