public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pyproject-rpm-macros] rawhide: CI: Make setuptools test spec build with latest pytest
Date: Tue, 25 Aug 2026 13:40:48 GMT [thread overview]
Message-ID: <178766524859.1.4176907663622835125.rpms-pyproject-rpm-macros-7105affd875d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pyproject-rpm-macros
Branch : rawhide
Commit : 7105affd875d8b5f434663745daa671ccefd3859
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-08-25T12:55:48+02:00
Stats : +1/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pyproject-rpm-macros/c/7105affd875d8b5f434663745daa671ccefd3859?branch=rawhide
Log:
CI: Make setuptools test spec build with latest pytest
There are PytestRemovedIn10Warnings in test_config_discovery.py.
The -k "sdist" option would otherwise skip these tests entirely,
but this fails during collection.
This %check is an integration test for the RPM macros,
not for setuptools itself,
so ignore the file instead of patching the deprecation.
Assisted-By: Claude Sonnet 5
---
diff --git a/tests/python-setuptools.spec b/tests/python-setuptools.spec
index a2c96fe..deb75cd 100644
--- a/tests/python-setuptools.spec
+++ b/tests/python-setuptools.spec
@@ -91,6 +91,7 @@ rm pyproject.toml
# We only run a subset of tests to speed things up and be less fragile
PRE_BUILT_SETUPTOOLS_WHEEL=%{_pyproject_wheeldir}/setuptools-%{version}-py3-none-any.whl \
PYTHONPATH=$(pwd) %pytest --ignore=pavement.py \
+ --ignore=setuptools/tests/test_config_discovery.py \
--ignore=setuptools/tests/test_develop.py \
--ignore=setuptools/tests/test_editable_install.py \
--ignore=setuptools/tests/config/test_apply_pyprojecttoml.py \
reply other threads:[~2026-08-25 13:40 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=178766524859.1.4176907663622835125.rpms-pyproject-rpm-macros-7105affd875d@fedoraproject.org \
--to=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