Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-photutils for 
openSUSE:Factory checked in at 2022-12-23 10:21:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-photutils (Old)
 and      /work/SRC/openSUSE:Factory/.python-photutils.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-photutils"

Fri Dec 23 10:21:31 2022 rev:18 rq:1044300 version:1.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-photutils/python-photutils.changes        
2022-08-02 22:09:21.285800653 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-photutils.new.1563/python-photutils.changes  
    2022-12-23 10:21:39.587534587 +0100
@@ -1,0 +2,95 @@
+Thu Dec 22 15:05:47 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 1.6.0
+  ## General
+  * Following NEP 29, the minimum required Numpy is now 1.20.
+    [#1442]
+  * The minimum required Matplotlib is now 3.3.0. [#1442]
+  * The minimum required scikit-image is now 0.18.0. [#1442]
+  * The minimum required scikit-learn is now 1.0. [#1442]
+  ## New Features
+  ### photutils.aperture
+  * The ApertureStats class now accepts astropy NDData objects as
+    input. [#1409]
+  * Improved the performance of aperture photometry by 10-25%
+    (depending on the number of aperture positions). [#1438]
+  ### photutils.psf
+  * Added a progress bar for fitting PSF photometry [#1426]
+  * Added a subshape keyword to the PSF-fitting classes to define
+    the shape over which the PSF is subtracted. [#1477]
+  ### photutils.segmentation
+  * Added the ability to slice SegmentationImage objects. [#1413]
+  * Added mode and fill_value keywords to SourceCatalog
+    make_cutouts method. [#1420]
+  * Added segment_area source property and wcs, localbkg_width,
+    apermask_method, and kron_params attributes to SourceCatalog.
+    [#1425]
+  * Added the ability to use Quantity arrays with detect_threshold,
+    detect_sources, deblend_sources, and SourceFinder. [#1436]
+  * The progress bar used when deblending sources now is prepended
+    with “Deblending”. [#1439]
+  * Added “windowed” centroids to SourceCatalog. [#1447, #1468]
+  * Added quadratic centroids to SourceCatalog. [#1467, #1469]
+  * Added a progress_bar option to SourceCatalog for displaying
+    progress bars when calculating some source properties. [#1471]
+  ### photutils.utils
+  * Added xyorigin attribute to CutoutImage. [#1419]
+  * Added ImageDepth class. [#1434]
+  ## Bug Fixes
+  ### photutils.aperture
+  * Fixed a bug in the PixelAperture area_overlap method so that
+    the returned value does not inherit the data units. [#1408]
+  * Fixed an issue in ApertureStats get_ids for the case when the
+    ID numbers are not sorted (due to slicing). [#1423]
+  ### photutils.datasets
+  * Fixed a bug in the various load functions where FITS files were
+    not closed. [#1455]
+  ### photutils.segmentation
+  * Fixed an issue in the SourceCatalog kron_photometry,
+    make_kron_apertures, and plot_kron_apertures methods where the
+    input minimum Kron and circular radii would not be applied.
+    Instead the instance-level minima would always be used. [#1421]
+  * Fixed an issue where the SourceCatalog plot_kron_apertures
+    method would raise an error for a scalar SourceCatalog. [#1421]
+  * Fixed an issue in SourceCatalog get_labels for the case when
+    the labels are not sorted (due to slicing). [#1423]
+  ## API Changes
+  * Deprecated axes keyword in favor of ax for consistency with
+    other packages. [#1432]
+  * Importing tools from all subpackages now requires including the
+    subpackage name.
+  ### photutils.aperture
+  * Inputting PixelAperture positions as an Astropy Quantity in
+    pixel units is no longer allowed. [#1398]
+  * Inputting SkyAperture shape parameters as an Astropy Quantity
+    in pixel units is no longer allowed. [#1398]
+  * Removed the deprecated BoundingBox as_patch method. [#1462]
+  ### photutils.centroids
+  * Removed the deprecated oversampling keyword in centroid_com.
+    [#1398]
+  ### photutils.datasets
+  * Deprecated the load_fermi_image function. [#1455]
+  ### photutils.psf
+  * Removed the deprecated flux_residual_sigclip keyword in
+    EPSFBuilder. Use sigma_clip instead. [#1398]
+  * PSF photometry classes will no longer emit a RuntimeWarning if
+    the fitted parameter variance is negative. [#1458]
+  ### photutils.segmentation
+  * Removed the deprecated sigclip_sigma and sigclip_iters keywords
+    in detect_threshold. Use the sigma_clip keyword instead.
+    [#1398]
+  * Removed the mask_value, sigclip_sigma, and sigclip_iters
+    keywords in detect_threshold. Use the mask or sigma_clip
+    keywords instead. [#1398]
+  * Removed the deprecated the filter_fwhm and filter_size keywords
+    in make_source_mask. Use the kernel keyword instead. [#1398]
+  * If detection_cat is input to SourceCatalog, then the detection
+    catalog source centroids and morphological/shape properties
+    will be returned instead of calculating them from the input
+    data. Also, if detection_cat is input, then the input wcs,
+    apermask_method, and kron_params keywords will be ignored.
+    [#1425]
+- Add photutils-pr1484-no-setuptools.patch
+  gh#astropy/photutils#1484
+
+-------------------------------------------------------------------

Old:
----
  photutils-1.5.0.tar.gz

New:
----
  photutils-1.6.0.tar.gz
  photutils-pr1484-no-setuptools.patch

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

Other differences:
------------------
++++++ python-photutils.spec ++++++
--- /var/tmp/diff_new_pack.RqNFr9/_old  2022-12-23 10:21:40.115537605 +0100
+++ /var/tmp/diff_new_pack.RqNFr9/_new  2022-12-23 10:21:40.119537628 +0100
@@ -17,39 +17,43 @@
 
 
 Name:           python-photutils
-Version:        1.5.0
+Version:        1.6.0
 Release:        0
 Summary:        An Astropy package for photometry
 License:        BSD-3-Clause
 Group:          Productivity/Scientific/Astronomy
 URL:            https://github.com/astropy/photutils
 Source:         
https://files.pythonhosted.org/packages/source/p/photutils/photutils-%{version}.tar.gz
-BuildRequires:  %{python_module Cython >= 0.29.22}
+# PATCH-FIX-UPSTREAM photutils-pr1484-no-setuptools.patch -- 
gh#astropy/photutils#1484
+Patch1:         photutils-pr1484-no-setuptools.patch
+BuildRequires:  %{python_module Cython >= 0.29.30}
 BuildRequires:  %{python_module devel >= 3.8}
 BuildRequires:  %{python_module extension-helpers}
-BuildRequires:  %{python_module numpy-devel >= 1.18}
+BuildRequires:  %{python_module numpy-devel >= 1.20}
+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 >= 3.7
 Requires:       python-astropy >= 5.0
-Requires:       python-numpy >= 1.18
+Requires:       python-numpy >= 1.20
 Recommends:     python-Bottleneck
 Recommends:     python-gwcs >= 0.16
-Recommends:     python-matplotlib >= 3.1
-Recommends:     python-scikit-image >= 0.15.0
-Recommends:     python-scikit-learn
+Recommends:     python-matplotlib >= 3.3
+Recommends:     python-scikit-image >= 0.18.0
+Recommends:     python-scikit-learn >= 1.0
 Recommends:     python-scipy >= 1.6.0
 Recommends:     python-tqdm
 # SECTION test requirements
 BuildRequires:  %{python_module Bottleneck}
 BuildRequires:  %{python_module astropy >= 5.0}
 BuildRequires:  %{python_module gwcs >= 0.16}
-BuildRequires:  %{python_module matplotlib >= 3.1}
+BuildRequires:  %{python_module matplotlib >= 3.3}
 BuildRequires:  %{python_module pytest-astropy}
-BuildRequires:  %{python_module scikit-image >= 0.15.0}
-BuildRequires:  %{python_module scikit-learn}
+BuildRequires:  %{python_module scikit-image >= 0.18.0}
+BuildRequires:  %{python_module scikit-learn >= 1.0}
 BuildRequires:  %{python_module scipy >= 1.6.0}
 # /SECTION
 %python_subpackages
@@ -63,10 +67,10 @@
 
 %build
 export CFLAGS="%{optflags}"
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
@@ -79,9 +83,9 @@
 }
 
 %files %{python_files}
-%doc CHANGES.rst CITATION.rst README.rst
+%doc CHANGES.rst photutils/CITATION.rst README.rst
 %license LICENSE.rst
 %{python_sitearch}/photutils
-%{python_sitearch}/photutils-%{version}*-info
+%{python_sitearch}/photutils-%{version}.dist-info
 
 %changelog

++++++ photutils-1.5.0.tar.gz -> photutils-1.6.0.tar.gz ++++++
++++ 18677 lines of diff (skipped)

++++++ photutils-pr1484-no-setuptools.patch ++++++
>From a7e777279e0b44423cb5a7e641641fcfcb59d2da Mon Sep 17 00:00:00 2001
From: Ben Greiner <c...@bnavigator.de>
Date: Thu, 22 Dec 2022 16:16:38 +0100
Subject: [PATCH] remove setuptools from install_requires

---
 setup.cfg | 1 -
 1 file changed, 1 deletion(-)

Index: photutils-1.6.0/setup.cfg
===================================================================
--- photutils-1.6.0.orig/setup.cfg
+++ photutils-1.6.0/setup.cfg
@@ -27,7 +27,6 @@ packages = find:
 python_requires = >=3.8
 setup_requires = setuptools_scm
 install_requires = 
-       setuptools
        numpy>=1.20
        astropy>=5.0
 

Reply via email to