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: pass --pyargs to pytest instead of pushd/popd use
Date: Sat, 29 Aug 2026 03:20:39 GMT	[thread overview]
Message-ID: <178797363950.1.1428969398739425652.rpms-python-photutils-8020e65b077c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-photutils
Branch : rawhide
Commit : 8020e65b077c23e91f0ee663e306c4258191276a
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-08-21T18:12:21-03:00
Stats  : +1/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-photutils/c/8020e65b077c23e91f0ee663e306c4258191276a?branch=rawhide

Log:
pass --pyargs to pytest instead of pushd/popd use

---
diff --git a/python-photutils.spec b/python-photutils.spec
index 92092b4..e8fd3ef 100644
--- a/python-photutils.spec
+++ b/python-photutils.spec
@@ -49,9 +49,7 @@ Recommends: %{py3_dist scikit-image} >= 0.23
 
 %if %{with check}
 %check
-pushd %{buildroot}%{python3_sitearch}
-%pytest -p no:cacheprovider -W ignore::numpy.exceptions.ComplexWarning -k "not test_centroids_nan_withmask" photutils
-popd
+%pytest --pyargs -p no:cacheprovider -W ignore::numpy.exceptions.ComplexWarning -k "not test_centroids_nan_withmask" photutils
 %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=178797363950.1.1428969398739425652.rpms-python-photutils-8020e65b077c@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