public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sergio Pascual <sergiopr@fis.ucm.es>
To: git-commits@fedoraproject.org
Subject: [rpms/python-photutils] epel10: New upstream (0.4.0)
Date: Fri, 26 Jun 2026 03:41:43 GMT [thread overview]
Message-ID: <178244530355.1.4859412015181525582.rpms-python-photutils-872da8371d23@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-photutils
Branch : epel10
Commit : 872da8371d2310cdeb94dba7450f306346a3287a
Author : Sergio Pascual <sergiopr@fis.ucm.es>
Date : 2017-11-13T17:47:11+01:00
Stats : +12/-33 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-photutils/c/872da8371d2310cdeb94dba7450f306346a3287a?branch=epel10
Log:
New upstream (0.4.0)
---
diff --git a/.gitignore b/.gitignore
index f6de42d..c05ce07 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/photutils-0.2.2.tar.gz
/photutils-0.3.tar.gz
/photutils-0.3.2.tar.gz
+/photutils-0.4.tar.gz
diff --git a/python-photutils-Use-astropy_helpers-provided-by-the-system.patch b/python-photutils-Use-astropy_helpers-provided-by-the-system.patch
index 201f6d3..005adb6 100644
--- a/python-photutils-Use-astropy_helpers-provided-by-the-system.patch
+++ b/python-photutils-Use-astropy_helpers-provided-by-the-system.patch
@@ -10,8 +10,8 @@ diff --git a/setup.cfg b/setup.cfg
index e7881d0..2d23bfd 100644
--- a/setup.cfg
+++ b/setup.cfg
-@@ -13,7 +13,7 @@ norecursedirs = build docs/_build
- doctest_plus = enabled
+@@ -14,7 +14,7 @@
+ addopts = --pyargs -p no:warnings
[ah_bootstrap]
-auto_use = True
diff --git a/python-photutils-changing-parametrized-tests-pytest-3.2.0-compatible.patch b/python-photutils-changing-parametrized-tests-pytest-3.2.0-compatible.patch
deleted file mode 100644
index 289b41a..0000000
--- a/python-photutils-changing-parametrized-tests-pytest-3.2.0-compatible.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From: Brigitta Sipocz <bsipocz@gmail.com>
-Date: Wed, 2 Aug 2017 20:00:15 +0100
-Subject: changing parametrized tests pytest 3.2.0 compatible
-
----
- photutils/psf/tests/test_photometry.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/photutils/psf/tests/test_photometry.py b/photutils/psf/tests/test_photometry.py
-index 2141120..4441ca3 100644
---- a/photutils/psf/tests/test_photometry.py
-+++ b/photutils/psf/tests/test_photometry.py
-@@ -165,8 +165,8 @@ def test_psf_photometry_niters(sigma_psf, sources):
- (sigma_psfs[1], sources2),
- # these ensure that the test *fails* if the model
- # PSFs are the wrong shape
-- pytest.mark.xfail((sigma_psfs[0]/1.2, sources1)),
-- pytest.mark.xfail((sigma_psfs[1]*1.2, sources2))])
-+ pytest.param(sigma_psfs[0]/1.2, sources1, marks=pytest.mark.xfail()),
-+ pytest.param(sigma_psfs[1]*1.2, sources2, marks=pytest.mark.xfail())])
- def test_psf_photometry_oneiter(sigma_psf, sources):
- """
- Tests in an image with a group of two overlapped stars and an
diff --git a/python-photutils.spec b/python-photutils.spec
index 80ec08b..6797c3f 100644
--- a/python-photutils.spec
+++ b/python-photutils.spec
@@ -1,8 +1,8 @@
%global srcname photutils
Name: python-%{srcname}
-Version: 0.3.2
-Release: 4%{?dist}
+Version: 0.4
+Release: 1%{?dist}
Summary: Astropy affiliated package for image photometry tasks
License: BSD
@@ -11,8 +11,6 @@ Source0: https://pypi.io/packages/source/p/photutils/%{srcname}-%{version}.tar.g
# Use system copy of astropy-helpers
Patch0: python-photutils-Use-astropy_helpers-provided-by-the-system.patch
-# Fix tests with pytest >= 3.2
-Patch1: python-photutils-changing-parametrized-tests-pytest-3.2.0-compatible.patch
BuildRequires: python2-devel python3-devel
@@ -113,22 +111,25 @@ py.test-%{python2_version} %{srcname}
popd
pushd %{buildroot}/%{python3_sitearch}
-#py.test-%{python3_version} %{srcname}
+py.test-%{python3_version} %{srcname}
popd
%files -n python2-%{srcname}
%doc README.rst
-%license licenses/LICENSE.rst
+%license LICENSE.rst
%{python2_sitearch}/%{srcname}-%{version}-py%{python2_version}.egg-info
%{python2_sitearch}/%{srcname}
%files -n python3-%{srcname}
%doc README.rst
-%license licenses/LICENSE.rst
+%license LICENSE.rst
%{python3_sitearch}/%{srcname}-%{version}-py%{python3_version}.egg-info
%{python3_sitearch}/%{srcname}
%changelog
+* Mon Nov 13 2017 Sergio Pascual <sergiopr@fedoraproject.com> - 0.4.0-1
+- New upstream (0.4.0)
+
* Tue Oct 10 2017 Christian Dersch <lupinix@mailbox.org> - 0.3.2-4
- Fixed tests
diff --git a/sources b/sources
index 6b87612..e69fb8b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (photutils-0.3.2.tar.gz) = 69c845cee9e16ab9daa26e87bbd209f9159fbba4cbcbae1eea9e84bf4ab75b7723964bde30ecec4004d00a80370ed599d867d8314675700485eb6190c7aa0300
+SHA512 (photutils-0.4.tar.gz) = dbce5e4eb85ebe9d8011c3572fc5e352f6b523b43310e4413f945e9f16a68a0618d49390739c09e12adc005f2d1aa8cf7772232fbe09a459d2a2de649a6714c1
reply other threads:[~2026-06-26 3:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178244530355.1.4859412015181525582.rpms-python-photutils-872da8371d23@fedoraproject.org \
--to=sergiopr@fis.ucm.es \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox