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 2025-09-22 16:39:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-photutils (Old)
and /work/SRC/openSUSE:Factory/.python-photutils.new.27445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-photutils"
Mon Sep 22 16:39:48 2025 rev:30 rq:1306463 version:2.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-photutils/python-photutils.changes
2025-04-14 12:58:35.804789475 +0200
+++
/work/SRC/openSUSE:Factory/.python-photutils.new.27445/python-photutils.changes
2025-09-22 16:40:40.099903573 +0200
@@ -1,0 +2,200 @@
+Sun Sep 21 19:33:02 UTC 2025 - Dirk Müller <[email protected]>
+
+- update to 2.3.0:
+ * The minimum required NumPy is now 1.25.
+ * The minimum required SciPy is now 1.11.1.
+ * The minimum required Matplotlib is now 3.8.
+ * The minimum required scikit-image is now 0.21.
+ * photutils.isophote build_ellipse_model is now Cythonized and
+ considerably faster. [#2046] build_ellipse_model also has an
+ additional optional keyword argument sma_interval, which was
+ previously hardcoded. [#2046]
+ * build_ellipse_model is now Cythonized and considerably
+ faster.
+ * build_ellipse_model also has an additional optional keyword
+ argument sma_interval, which was previously hardcoded.
+ * photutils.psf PSFPhotometry and IterativePSFPhotometry now
+ raise an error if the input error array contains non-finite
+ or zero values. [#2022] GriddedPSFModel can now be used with
+ a single input ePSF model, which will be equivalent to
+ ImagePSF. [#2034] The finder callable input to PSFPhotometry
+ and IterativePSFPhotometry is no longer restricted to have x
+ and y column names of 'xcentroid' and 'ycentroid'. The
+ allowed column names are now the same as those allowed in the
+ init_params table. [#2072] Added a group_warning_threshold
+ keyword to PSFPhotometry and IterativePSFPhotometry. [#2081]
+ The PSFPhotometry and IterativePSFPhotometry classes no
+ longer fail for invalid sources, defined as those that have
+ no overlap with the input data, are completely masked, or
+ have too few unmasked pixels for a fit. These classes have
+ new flags (64, 128, 256, respectively) for these invalid
+ conditions. [#2084, #2085] The PSFPhotometry and
+ IterativePSFPhotometry classes have new
+ results_to_init_params and results_to_model_params methods
+ for outputting fit results in different formats. [#2084] When
+ using Astropy 7.0+, the PSFPhotometry and
+ IterativePSFPhotometry fitter object now modifies the PSF
+ model in place instead of creating a copy, improving
+ performance and significantly reducing memory usage in some
+ cases. [#2093] PSFPhotometry and IterativePSFPhotometry now
+ return a reduced chi-squared statistic (reduced_chi2 column
+ in the results table). [#2086] The PSF photometry classes now
+ use a dynamically generated "flat" model instead of a
+ compound model for grouped sources. This eliminates recursion
+ limits and significantly reduces memory usage for large
+ groups. [#2100]
+ * PSFPhotometry and IterativePSFPhotometry now raise an error
+ if the input error array contains non-finite or zero values.
+ * GriddedPSFModel can now be used with a single input ePSF
+ model, which will be equivalent to ImagePSF.
+ * The finder callable input to PSFPhotometry and
+ IterativePSFPhotometry is no longer restricted to have x and
+ y column names of 'xcentroid' and 'ycentroid'. The allowed
+ column names are now the same as those allowed in the
+ init_params table.
+ * Added a group_warning_threshold keyword to PSFPhotometry and
+ IterativePSFPhotometry.
+ * The PSFPhotometry and IterativePSFPhotometry classes no
+ longer fail for invalid sources, defined as those that have
+ no overlap with the input data, are completely masked, or
+ have too few unmasked pixels for a fit. These classes have
+ new flags (64, 128, 256, respectively) for these invalid
+ conditions.
+ * The PSFPhotometry and IterativePSFPhotometry classes have new
+ results_to_init_params and results_to_model_params methods
+ for outputting fit results in different formats.
+ * When using Astropy 7.0+, the PSFPhotometry and
+ IterativePSFPhotometry fitter object now modifies the PSF
+ model in place instead of creating a copy, improving
+ performance and significantly reducing memory usage in some
+ cases.
+ * PSFPhotometry and IterativePSFPhotometry now return a reduced
+ chi-squared statistic (reduced_chi2 column in the results
+ table).
+ * The PSF photometry classes now use a dynamically generated
+ "flat" model instead of a compound model for grouped sources.
+ This eliminates recursion limits and significantly reduces
+ memory usage for large groups.
+ * photutils.segmentation An optional array keyword was added to
+ the SourceCatalog make_cutouts method. [#2023] Added a group
+ keyword to the SegmentationImage to_regions method. [#2060,
+ #2065] Added a decode_psf_flags utility function for decoding
+ PSF photometry bit flags. [#2090] Added a PSF_FLAGS object to
+ hold all PSF photometry bit flags in one place. PSF_FLAGS
+ provides readable, named constants for each bit flag and
+ helper utilities for decoding bit flags. [#2091]
+ * An optional array keyword was added to the SourceCatalog
+ make_cutouts method.
+ * Added a group keyword to the SegmentationImage to_regions
+ method.
+ * Added a decode_psf_flags utility function for decoding PSF
+ photometry bit flags.
+ * Added a PSF_FLAGS object to hold all PSF photometry bit flags
+ in one place. PSF_FLAGS provides readable, named constants
+ for each bit flag and helper utilities for decoding bit
+ flags.
+ * photutils.centroids Fixed an issue with the initial Gaussian
+ theta units in centroid_2dg. [#2013] Fixed a corner-case
+ issue where zero-sum arrays with ndim > 2 input to
+ centroid_com would return only two np.nan coordinates instead
+ of matching the dimensionality of the input array. [#2045]
+ * Fixed an issue with the initial Gaussian theta units in
+ centroid_2dg.
+ * Fixed a corner-case issue where zero-sum arrays with ndim > 2
+ input to centroid_com would return only two np.nan
+ coordinates instead of matching the dimensionality of the
+ input array.
+ * photutils.datasets Fixed a bug in make_model_image where the
+ output image would not have units in the case where the input
+ params had units and none of the models overlapped the image
+ shape. [#2082] Fixed a bug in make_model_image where an error
+ would be raised if any row in the input parameters table
+ contained non-finite model parameters. Such sources are now
+ silently ignored. [#2083]
+ * Fixed a bug in make_model_image where the output image would
+ not have units in the case where the input params had units
+ and none of the models overlapped the image shape.
+ * Fixed a bug in make_model_image where an error would be
+ raised if any row in the input parameters table contained
+ non-finite model parameters. Such sources are now silently
+ ignored.
+ * photutils.psf Fixed a bug in fit_2dgaussian and fit_fwhm
+ where the fit would fail if there were NaN values in the
+ input data. [#2030] Fixed the check in GriddedPSFModel for
+ rectangular pixel grids. [#2035] Fixed a bug in PSFPhotometry
+ where the 'group_id' column would be ignored if included in
+ the init_params table. [#2070] Fixed a bug in PSFPhotometry
+ where the output flux_err column would not have units if the
+ input data had units and the flux model parameter was fixed
+ in value. [#2072] Fixed a bug in PSFPhotometry and
+ IterativePSFPhotometry where an error would be raised if the
+ x or y columns in init_params had units. [#2079] Fixed a bug
+ in PSFPhotometry and IterativePSFPhotometry for the boundary
+ conditions where flag=2 would be set. [#2080] Fixed a bug in
+ EPSFBuilder where the output PSF would have the wrong shape
+ if the input stars were non-square cutouts. [#2089, #2092]
+ Fixed a bug in the calculation of the PSFPhotometry and
+ IterativePSFPhotometry qfit and cfit to not include the fit
+ weights. [#2099]
+ * Fixed a bug in fit_2dgaussian and fit_fwhm where the fit
+ would fail if there were NaN values in the input data.
+ * Fixed the check in GriddedPSFModel for rectangular pixel
+ grids.
+ * Fixed a bug in PSFPhotometry where the 'group_id' column
+ would be ignored if included in the init_params table.
+ * Fixed a bug in PSFPhotometry where the output flux_err column
+ would not have units if the input data had units and the flux
+ model parameter was fixed in value.
+ * Fixed a bug in PSFPhotometry and IterativePSFPhotometry where
+ an error would be raised if the x or y columns in init_params
+ had units.
+ * Fixed a bug in PSFPhotometry and IterativePSFPhotometry for
+ the boundary conditions where flag=2 would be set.
+ * Fixed a bug in EPSFBuilder where the output PSF would have
+ the wrong shape if the input stars were non-square cutouts.
+ * Fixed a bug in the calculation of the PSFPhotometry and
+ IterativePSFPhotometry qfit and cfit to not include the fit
+ weights.
+ * photutils.segmentation Fixed an issue where a newly-defined
+ extra property of a SourceCatalog with overwrite=True would
+ not be added to the extra_properties attribute. [#2039] Fixed
+ an issue where the SegmentationImage segments attribute would
+ fail if any source segment was non-contiguous. [#2060]
+ * Fixed an issue where a newly-defined extra property of a
+ SourceCatalog with overwrite=True would not be added to the
+ extra_properties attribute.
+ * Fixed an issue where the SegmentationImage segments attribute
+ would fail if any source segment was non-contiguous.
+ * photutils.background An explicit ValueError is now raised if
+ the input data to Background2D contains all non-finite
+ values. [#2062]
+ * An explicit ValueError is now raised if the input data to
+ Background2D contains all non-finite values.
+ * photutils.psf The GriddedPSFModel data and grid_xypos
+ attributes are now read-only. [#2036] The PSFPhotometry
+ fit_param attribute is now deprecated. Use the new
+ results_to_init_params method instead. [#2084] The deprecated
+ PSFPhotometry fit_results attribute has been removed. [#2084]
+ * The GriddedPSFModel data and grid_xypos attributes are now
+ read-only.
+ * The PSFPhotometry fit_param attribute is now deprecated. Use
+ the new results_to_init_params method instead.
+ * The deprecated PSFPhotometry fit_results attribute has been
+ removed.
+ * photutils.segmentation The SegmentationImage polygons list
+ may now include either Shapely Polygon or MultiPolygon (non-
+ contiguous) objects. [#2060] The SegmentationImage to_patches
+ and plot_patches methods now return
+ matplotlib.patches.PathPatch objects. [#2060] The
+ SegmentationImage to_regions method now returns
+ PolygonPixelRegion regions that have the segment label stored
+ in the object meta dictionary. [#2060]
+ * The SegmentationImage polygons list may now include either
+ Shapely Polygon or MultiPolygon (non-contiguous) objects.
+ * The SegmentationImage to_patches and plot_patches methods now
+ return matplotlib.patches.PathPatch objects.
+ * The SegmentationImage to_regions method now returns
+ PolygonPixelRegion regions that have the segment label stored
+ in the object meta dictionary.
+
+-------------------------------------------------------------------
Old:
----
photutils-2.2.0.tar.gz
New:
----
photutils-2.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-photutils.spec ++++++
--- /var/tmp/diff_new_pack.4tFwp4/_old 2025-09-22 16:40:40.835934498 +0200
+++ /var/tmp/diff_new_pack.4tFwp4/_new 2025-09-22 16:40:40.839934667 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-photutils
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,42 +17,42 @@
Name: python-photutils
-Version: 2.2.0
+Version: 2.3.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 >= 3 with %python-Cython < 4}
+BuildRequires: %{python_module Cython >= 3.1 with %python-Cython < 4}
BuildRequires: %{python_module devel >= 3.11}
-BuildRequires: %{python_module extension-helpers >= 1}
+BuildRequires: %{python_module extension-helpers >= 1.3}
BuildRequires: %{python_module numpy-devel >= 1.25}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module setuptools >= 61.2}
-BuildRequires: %{python_module setuptools_scm >= 6.2}
+BuildRequires: %{python_module setuptools >= 77}
+BuildRequires: %{python_module setuptools_scm >= 8}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-astropy >= 5.3
-Requires: python-numpy >= 1.24
-Requires: python-scipy >= 1.10
-Recommends: python-Bottleneck
-Recommends: python-Shapely
+Requires: python-numpy >= 1.25
+Requires: python-scipy >= 1.11.1
+Recommends: python-Bottleneck >= 1.3.6
+Recommends: python-Shapely >= 2
Recommends: python-gwcs >= 0.20
-Recommends: python-matplotlib >= 3.7
-Recommends: python-rasterio
-Recommends: python-scikit-image >= 0.19.0
-Recommends: python-tqdm
+Recommends: python-matplotlib >= 3.8
+Recommends: python-rasterio >= 1.3.7
+Recommends: python-scikit-image >= 0.21.0
+Recommends: python-tqdm >= 4.65
# SECTION test requirements
-BuildRequires: %{python_module Bottleneck}
+BuildRequires: %{python_module Bottleneck >= 1.3.6}
BuildRequires: %{python_module astropy >= 5.3}
BuildRequires: %{python_module gwcs >= 0.20}
-BuildRequires: %{python_module matplotlib >= 3.7}
+BuildRequires: %{python_module matplotlib >= 3.8}
BuildRequires: %{python_module pytest-astropy >= 0.10}
BuildRequires: %{python_module pytest-xdist >= 2.5}
-BuildRequires: %{python_module scikit-image >= 0.19.0}
-BuildRequires: %{python_module scipy >= 1.10}
+BuildRequires: %{python_module scikit-image >= 0.21.0}
+BuildRequires: %{python_module scipy >= 1.11.1}
# /SECTION
%python_subpackages
++++++ photutils-2.2.0.tar.gz -> photutils-2.3.0.tar.gz ++++++
++++ 20424 lines of diff (skipped)