public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karolina Surma <ksurma@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-tomlkit] rawhide: Add a bootstrap to avoid circular dependency on pytest
Date: Mon, 19 Oct 2026 16:43:26 GMT [thread overview]
Message-ID: <179242820687.1.13105736192838916500.rpms-python-tomlkit-94858980c8f6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-tomlkit
Branch : rawhide
Commit : 94858980c8f68475faaaac57e05b57eb1c8c9dff
Author : Karolina Surma <ksurma@redhat.com>
Date : 2026-10-19T11:07:31+02:00
Stats : +10/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-tomlkit/c/94858980c8f68475faaaac57e05b57eb1c8c9dff?branch=rawhide
Log:
Add a bootstrap to avoid circular dependency on pytest
---
diff --git a/python-tomlkit.spec b/python-tomlkit.spec
index 12a6dac..c9b3595 100644
--- a/python-tomlkit.spec
+++ b/python-tomlkit.spec
@@ -11,6 +11,11 @@ You can also create new TOML documents from scratch using the provided helpers.
Part of the implementation has been adapted, improved and fixed from Molten.}
+# Break a circular dependency on tomlkit-hatchling-pygments-pytest
+# during the new Python bootstrap
+%bcond bootstrap 0
+%bcond tests %{without bootstrap}
+
Name: python-%{pypi_name}
Summary: Style preserving TOML library
Version: 0.13.2
@@ -39,9 +44,11 @@ BuildArch: noarch
BuildRequires: python3-devel
+%if %{with tests}
# test dependencies
BuildRequires: python3dist(pytest)
BuildRequires: python3dist(pyyaml)
+%endif
%description %{common_description}
@@ -70,7 +77,10 @@ Summary: %{summary}
%check
+%pyproject_check_import
+%if %{with tests}
%pytest
+%endif
%files -n python3-%{pypi_name} -f %{pyproject_files}
reply other threads:[~2026-10-19 16: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=179242820687.1.13105736192838916500.rpms-python-tomlkit-94858980c8f6@fedoraproject.org \
--to=ksurma@redhat.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