public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pyproject-rpm-macros] rawhide: CI: Make setuptools test spec build with latest pytest
@ 2026-08-25 13:40 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-25 13:40 UTC (permalink / raw)
  To: git-commits

            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 \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-25 13:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 13:40 [rpms/pyproject-rpm-macros] rawhide: CI: Make setuptools test spec build with latest pytest 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox