public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-photutils] rawhide: Spec cleanup to fix python-photutils: FTBFS in Fedora rawhide/f45
Date: Sat, 29 Aug 2026 03:20:38 GMT	[thread overview]
Message-ID: <178797363815.1.15440763533137477376.rpms-python-photutils-cff6f0cb5495@fedoraproject.org> (raw)

            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}

                 reply	other threads:[~2026-08-29  3:20 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=178797363815.1.15440763533137477376.rpms-python-photutils-cff6f0cb5495@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --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