public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-photutils] rawhide: Spec cleanup to fix python-photutils: FTBFS in Fedora rawhide/f45
@ 2026-08-29 3:20 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-29 3:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-photutils
Branch : rawhide
Commit : cff6f0cb5495c2ece90dfb03b35c9ac0869ab963
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-21T18:12:21-03:00
Stats : +6/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-photutils/c/cff6f0cb5495c2ece90dfb03b35c9ac0869ab963?branch=rawhide
Log:
Spec cleanup to fix python-photutils: FTBFS in Fedora rawhide/f45
Resolves: rhbz#2504559
---
diff --git a/python-photutils.spec b/python-photutils.spec
index e7f1937..b5d7fd8 100644
--- a/python-photutils.spec
+++ b/python-photutils.spec
@@ -12,7 +12,8 @@ URL: http://photutils.readthedocs.org/en/latest/index.html
Source0: %{pypi_source}
ExcludeArch: %{ix86}
-BuildRequires: gcc
+BuildRequires: gcc
+BuildRequires: python3-devel
%global _description %{expand:
@@ -28,8 +29,6 @@ Photutils contains functions for:
%package -n python3-%{srcname}
Summary: %{summary}
-BuildRequires: python3-devel
-
Recommends: %{py3_dist scipy} >= 1.7.2
Recommends: %{py3_dist scikit-image} >= 0.19
Recommends: %{py3_dist scikit-learn} >= 1.0
@@ -41,7 +40,7 @@ Recommends: %{py3_dist matplotlib} >= 3.7
%autosetup -n %{srcname}-%{version}
%generate_buildrequires
-%pyproject_buildrequires -t -e %{toxenv}-test
+%pyproject_buildrequires -r -x test
%build
%pyproject_wheel
@@ -52,7 +51,9 @@ Recommends: %{py3_dist matplotlib} >= 3.7
%if %{with check}
%check
-%{tox}
+pushd %{buildroot}%{python3_sitearch}
+%pytest -p no:cacheprovider -W ignore::numpy.exceptions.ComplexWarning -k "not test_centroids_nan_withmask" photutils
+popd
%endif
%files -n python3-%{srcname} -f %{pyproject_files}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-29 3:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-29 3:20 [rpms/python-photutils] rawhide: Spec cleanup to fix python-photutils: FTBFS in Fedora rawhide/f45 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox