public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-photutils] rawhide: pass --pyargs to pytest instead of pushd/popd use
@ 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 : 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}
^ 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: pass --pyargs to pytest instead of pushd/popd use Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox