public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pyproject-rpm-macros] rawhide: Remove F42-only code as Fedora 42 goes EOL
@ 2026-06-30 15:52 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-30 15:52 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/pyproject-rpm-macros
Branch : rawhide
Commit : 7ef083b7f01032321b0ac5321e76a7c9ef670b77
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2026-06-30T15:52:25+00:00
Stats  : +1/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/pyproject-rpm-macros/c/7ef083b7f01032321b0ac5321e76a7c9ef670b77?branch=rawhide

Log:
Remove F42-only code as Fedora 42 goes EOL

---
diff --git a/pyproject_buildrequires.py b/pyproject_buildrequires.py
index dc734e5..7382168 100644
--- a/pyproject_buildrequires.py
+++ b/pyproject_buildrequires.py
@@ -22,15 +22,8 @@ from pyproject_wheel import parse_config_settings_args
 # Allow only the forms we know we can handle.
 VERSION_RE = re.compile(r'[a-zA-Z0-9.-]+(\.\*)?')
 
-# To avoid breakage on Fedora 40-42,
-# we don't assert tox configuration there.
-# This can be removed when Fedora 42 goes EOL.
-# Note that %tox still uses --assert-config
-# because %tox without config is dangerous (false sense of tests).
-# Running %pyproject_buildrequires -t/-e without tox config is wrong, but not dangerous.
 FEDORA = int(os.getenv('FEDORA') or 0)
 RHEL = int(os.getenv('RHEL') or 0)
-TOX_ASSERT_CONFIG_OPTS = () if 40 <= FEDORA < 43 else ('--assert-config',)
 
 # To avoid breakage on Fedora < 45 and RHEL < 11
 # we don't compare extras listed in %pyproject_buildrequires -x
@@ -521,7 +514,7 @@ def generate_tox_requirements(toxenv, requirements):
              '--print-deps-to', deps.name,
              '--print-extras-to', extras.name,
              '--no-provision', provision.name,
-             *TOX_ASSERT_CONFIG_OPTS,
+             '--assert-config',
              '-q', '-r', '-e', toxenv],
             check=False,
             encoding='utf-8',

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

only message in thread, other threads:[~2026-06-30 15:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 15:52 [rpms/pyproject-rpm-macros] rawhide: Remove F42-only code as Fedora 42 goes EOL 

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