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-apipkg] rawhide: Fix python-apipkg: FTBFS in Fedora rawhide/f45 rhbz#2504439 and rhbz#2485758
Date: Mon, 27 Jul 2026 02:43:43 GMT	[thread overview]
Message-ID: <178512022347.1.13646833578857111116.rpms-python-apipkg-fba8b26319dc@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-07-27  2:43 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=178512022347.1.13646833578857111116.rpms-python-apipkg-fba8b26319dc@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