public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pyproject-rpm-macros] rawhide: Remove F42-only code as Fedora 42 goes EOL
Date: Tue, 30 Jun 2026 15:52:39 GMT	[thread overview]
Message-ID: <178283475981.1.8939938807483561848.rpms-pyproject-rpm-macros-7ef083b7f010@fedoraproject.org> (raw)

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',

                 reply	other threads:[~2026-06-30 15:52 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=178283475981.1.8939938807483561848.rpms-pyproject-rpm-macros-7ef083b7f010@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