public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-photutils] epel10: Fix FTBFS with Python 3.7
@ 2026-06-26  3:41 Christian Dersch
  0 siblings, 0 replies; only message in thread
From: Christian Dersch @ 2026-06-26  3:41 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-photutils
Branch : epel10
Commit : 112bbce9676c28f09f61578781692207ef3cae83
Author : Christian Dersch <lupinix@mailbox.org>
Date   : 2018-07-08T11:55:46+02:00
Stats  : +7/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-photutils/c/112bbce9676c28f09f61578781692207ef3cae83?branch=epel10

Log:
Fix FTBFS with Python 3.7

---
diff --git a/python-photutils.spec b/python-photutils.spec
index cb66648..d47018d 100644
--- a/python-photutils.spec
+++ b/python-photutils.spec
@@ -2,12 +2,13 @@
 
 Name: python-%{srcname}
 Version: 0.4
-Release: 4%{?dist}
+Release: 5%{?dist}
 Summary: Astropy affiliated package for image photometry tasks
 License: BSD
 
 URL: http://photutils.readthedocs.org/en/latest/index.html
-Source0: https://pypi.io/packages/source/p/photutils/%{srcname}-%{version}.tar.gz
+# Use the un-Cythonized github tar, as we need the newer Fedora Cython to build with Python 3.7
+Source0: https://github.com/astropy/photutils/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
 
 # Use system copy of astropy-helpers
 Patch0:  python-photutils-Use-astropy_helpers-provided-by-the-system.patch
@@ -130,6 +131,9 @@ popd
 %{python3_sitearch}/%{srcname}
 
 %changelog
+* Sun Jul 08 2018 Christian Dersch <lupinix@mailbox.org> - 0.4-5
+- Fix FTBFS with Python 3.7
+
 * Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4-4
 - Rebuilt for Python 3.7
 

diff --git a/sources b/sources
index e69fb8b..5497ec1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (photutils-0.4.tar.gz) = dbce5e4eb85ebe9d8011c3572fc5e352f6b523b43310e4413f945e9f16a68a0618d49390739c09e12adc005f2d1aa8cf7772232fbe09a459d2a2de649a6714c1
+SHA512 (photutils-0.4.tar.gz) = 90f6e0737f20e6a0221bd397f87684c72c42c8a8d37bd111153f39708f60f993b6640c57f986ddcb664032f0982b162ce29f4f15e691a2432c82c4a1d843d309

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-26  3:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-26  3:41 [rpms/python-photutils] epel10: Fix FTBFS with Python 3.7 Christian Dersch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox