public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-apipkg] rawhide: Fix python-apipkg: FTBFS in Fedora rawhide/f45 rhbz#2504439 and rhbz#2485758
@ 2026-07-27 2:43 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-27 2:43 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-apipkg
Branch : rawhide
Commit : fba8b26319dc82ebf59210a8c8c4f8695893be97
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-07-26T23:32:49-03:00
Stats : +3/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-apipkg/c/fba8b26319dc82ebf59210a8c8c4f8695893be97?branch=rawhide
Log:
Fix python-apipkg: FTBFS in Fedora rawhide/f45 rhbz#2504439 and rhbz#2485758
---
diff --git a/python-apipkg.spec b/python-apipkg.spec
index 61aae03..01fd9e1 100644
--- a/python-apipkg.spec
+++ b/python-apipkg.spec
@@ -29,6 +29,8 @@ Summary: %{summary}
%autosetup -n %{srcname}-%{version}
# https://github.com/pytest-dev/apipkg/issues/43
sed -i '/distribution_version("py")/d' test_apipkg.py
+# Fix pytest 9 deprecation warning in conftest.py
+sed -i 's/pytest_report_header(startdir)/pytest_report_header(start_path)/' conftest.py
%generate_buildrequires
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
@@ -44,7 +46,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_save_files apipkg
%check
-%tox
+%pytest
%files -n python3-%{srcname} -f %{pyproject_files}
%doc CHANGELOG README.rst
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-27 2:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-27 2:43 [rpms/python-apipkg] rawhide: Fix python-apipkg: FTBFS in Fedora rawhide/f45 rhbz#2504439 and rhbz#2485758 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox