Hello community,
here is the log from the commit of package python-photutils for
openSUSE:Factory checked in at 2020-09-23 18:47:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-photutils (Old)
and /work/SRC/openSUSE:Factory/.python-photutils.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-photutils"
Wed Sep 23 18:47:04 2020 rev:9 rq:836282 version:1.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-photutils/python-photutils.changes
2020-08-14 13:11:47.653266544 +0200
+++
/work/SRC/openSUSE:Factory/.python-photutils.new.4249/python-photutils.changes
2020-09-23 18:48:14.053753733 +0200
@@ -1,0 +2,110 @@
+Wed Sep 23 09:24:36 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Update to Version 1.0.0
+ General
+ * The minimum required python version is 3.6. [#952]
+ * The minimum required astropy version is 4.0. [#1081]
+ * The minimum required numpy version is 1.17. [#1079]
+ * Removed astropy-helpers and updated the package
+ infrastructure as described in Astropy APE 17. [#915]
+ New Features
+ * photutils.aperture
+ * Added b_in as an optional ellipse annulus keyword. [#1070]
+ * Added h_in as an optional rectangle annulus keyword.
+ [#1070]
+ * photutils.background
+ * Added coverage_mask and fill_value keyword options to
+ Background2D. [#1061]
+ * photutils.centroids
+ * Added quadratic centroid estimator function
+ (centroid_quadratic). [#1067]
+ * photutils.psf
+ * Added the ability to use odd oversampling factors in
+ EPSFBuilder. [#1076]
+ * photutils.segmentation
+ * Added Kron radius, flux, flux error, and aperture to
+ SourceProperties. [#1068]
+ * Added local background to SourceProperties. [#1075]
+ Bug Fixes
+ * photutils.isophote
+ * Fixed a typo in the calculation of the b4 higher-order
+ harmonic coefficient in build_ellipse_model. [#1052]
+ * Fixed a bug where build_ellipse_model falls into an
+ infinite loop when the pixel to fit is outside of the
+ image. [#1039]
+ * Fixed a bug where build_ellipse_model falls into an
+ infinite loop under certain image/parameters input
+ combinations. [#1056]
+ * photutils.psf
+ * Fixed a bug in subtract_psf caused by using a fill_value of
+ np.nan with an integer input array. [#1062]
+ * photutils.segmentation
+ * Fixed a bug where source_properties would fail with
+ unitless gwcs.wcs.WCS objects. [#1020]
+ * photutils.utils
+ * The effective_gain parameter in calc_total_error can now be
+ zero (or contain zero values). [#1019]
+ API changes
+ * photutils.aperture
+ * Aperture pixel positions can no longer be shaped as 2xN.
+ [#953]
+ * Removed the deprecated units keyword in aperture_photometry
+ and PixelAperture.do_photometry. [#953]
+ * PrimaryHDU, ImageHDU, and HDUList can no longer be input to
+ aperture_photometry. [#953]
+ * Removed the deprecated the Aperture mask_area method.
+ [#953]
+ * Removed the deprecated Aperture plot keywords ax and
+ indices. [#953]
+ * photutils.background
+ * Removed the deprecated ax keyword in
+ Background2D.plot_meshes. [#953]
+ * Background2D keyword options can not be input as positional
+ arguments. [#1061]
+ * photutils.centroids
+ * centroid_1dg, centroid_2dg, gaussian1d_moments,
+ fit_2dgaussian, and GaussianConst2D have been moved to a
+ new photutils.centroids.gaussian module. [#1064]
+ * Deprecated fit_2dgaussian and GaussianConst2D. [#1064]
+ * photutils.datasets
+ * Removed the deprecated type keyword in make_noise_image.
+ [#953]
+ * Renamed the random_state keyword (deprecated) to seed in
+ apply_poisson_noise, make_noise_image,
+ make_random_models_table, and make_random_gaussians_table
+ functions. [#1080]
+ * photutils.detection
+ * Removed the deprecated snr keyword in detect_threshold.
+ [#953]
+ * photutils.psf
+ * Added flux_residual_sigclip as an input parameter, allowing
+ for custom sigma clipping options in EPSFBuilder. [#984]
+ * Added extra_output_cols as a parameter to
+ BasicPSFPhotometry, IterativelySubtractedPSFPhotometry and
+ DAOPhotPSFPhotometry. [#745]
+ * photutils.segmentation
+ * Removed the deprecated SegmentationImage methods cmap and
+ relabel. [#953]
+ * Removed the deprecated SourceProperties values and coords
+ attributes. [#953]
+ * Removed the deprecated xmin/ymin and xmax/ymax properties.
+ [#953]
+ * Removed the deprecated snr and mask_value keywords in
+ make_source_mask. [#953]
+ * Renamed the random_state keyword (deprecated) to seed in
+ the make_cmap method. [#1080]
+ * photutils.utils
+ * Removed the deprecated random_cmap, mask_to_mirrored_num,
+ get_version_info, filter_data, and std_blocksum functions.
+ [#953]
+ * Removed the deprecated wcs_helpers functions
+ pixel_scale_angle_at_skycoord, assert_angle_or_pixel,
+ assert_angle, and pixel_to_icrs_coords. [#953]
+ * Deprecated the check_random_state function. [#1080]
+ * Renamed the random_state keyword (deprecated) to seed in
+ the make_random_cmap function. [#1080]
+- Drop patches merged upstream
+ * 0001-aperture-mask-test-assert-almost-equal.patch
+ * photutils-pr1041-update-watershed-import.patch
+
+-------------------------------------------------------------------
Old:
----
0001-aperture-mask-test-assert-almost-equal.patch
photutils-0.7.2.tar.gz
photutils-pr1041-update-watershed-import.patch
New:
----
photutils-1.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-photutils.spec ++++++
--- /var/tmp/diff_new_pack.xHyPdF/_old 2020-09-23 18:48:15.773755316 +0200
+++ /var/tmp/diff_new_pack.xHyPdF/_new 2020-09-23 18:48:15.773755316 +0200
@@ -19,30 +19,31 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-photutils
-Version: 0.7.2
+Version: 1.0.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
-Patch0:
https://github.com/astropy/photutils/pull/1014.patch#/0001-aperture-mask-test-assert-almost-equal.patch
-Patch1:
https://github.com/astropy/photutils/pull/1041.patch#/photutils-pr1041-update-watershed-import.patch
+BuildRequires: %{python_module Cython >= 0.29.14}
BuildRequires: %{python_module devel}
-BuildRequires: %{python_module numpy-devel >= 1.13}
+BuildRequires: %{python_module extension-helpers}
+BuildRequires: %{python_module numpy-devel >= 1.17}
+BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-astropy >= 2.0
-Requires: python-numpy >= 1.13
+Requires: python >= 3.6
+Requires: python-astropy >= 4.0
+Requires: python-numpy >= 1.17
Requires: python-scipy >= 0.19
Recommends: python-matplotlib >= 2.2
Recommends: python-scikit-image >= 0.14.2
Recommends: python-scikit-learn >= 0.19
-Recommends: python-gwcs >= 0.11
+Recommends: python-gwcs >= 0.12
# SECTION test requirements
-BuildRequires: %{python_module astropy >= 2.0}
-BuildRequires: %{python_module astropy-helpers >= 2.0}
+BuildRequires: %{python_module astropy >= 4.0}
BuildRequires: %{python_module pytest-astropy >= 0.7}
BuildRequires: %{python_module scikit-image >= 0.14.2}
BuildRequires: %{python_module scikit-learn >= 0.19}
@@ -56,7 +57,6 @@
%prep
%setup -q -n photutils-%{version}
-%autopatch -p1
%build
export CFLAGS="%{optflags}"
@@ -64,8 +64,6 @@
%install
%python_install
-rm -rf %{buildroot}%{python_sitearch}/photutils/*.c
-rm -rf %{buildroot}%{python_sitearch}/photutils/geometry/*.c
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -78,8 +76,8 @@
}
%files %{python_files}
-%doc CHANGES.rst README.rst
-%license LICENSE.rst licenses
+%doc CHANGES.rst CITATION.rst README.rst
+%license LICENSE.rst
%{python_sitearch}/photutils
%{python_sitearch}/photutils-%{version}-py*.egg-info
++++++ photutils-0.7.2.tar.gz -> photutils-1.0.0.tar.gz ++++++
++++ 57065 lines of diff (skipped)