public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-mdit-py-plugins] rawhide: Create a bootstrap to not pull python-pytest-regressions too soon
@ 2026-07-01 14:37 Karolina Surma
0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-07-01 14:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-mdit-py-plugins
Branch : rawhide
Commit : 56e4e38d9957272a7deeb2cd6d60aebf6994438c
Author : Karolina Surma <ksurma@redhat.com>
Date : 2026-07-01T14:21:29+00:00
Stats : +6/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-mdit-py-plugins/c/56e4e38d9957272a7deeb2cd6d60aebf6994438c?branch=rawhide
Log:
Create a bootstrap to not pull python-pytest-regressions too soon
A convenience bcond to make the rebuild of a new Python version quicker.
---
diff --git a/python-mdit-py-plugins.spec b/python-mdit-py-plugins.spec
index d8219bc..6b9f1b2 100644
--- a/python-mdit-py-plugins.spec
+++ b/python-mdit-py-plugins.spec
@@ -1,3 +1,6 @@
+# A "fake" bootstrap to not require python-pytest-regessions,
+# as its long dependency chain allows to build it much later in new Python bootstrap
+%bcond bootstrap 0
%global pypi_name mdit-py-plugins
Name: python-%{pypi_name}
@@ -14,7 +17,9 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(pytest)
+%if %{without bootstrap}
BuildRequires: python3dist(pytest-regressions)
+%endif
%global _description %{expand:
Collection of core plugins for markdown-it-py.
@@ -41,7 +46,7 @@ Summary: %{summary}
%pyproject_save_files mdit_py_plugins
%check
-%pytest
+%pytest %{?with_bootstrap:-k 'not test_plugin_parse and not test_attrs_allowed and not test_tokens and not test_no_new_line_issue and not test_custom_renderer'}
%files -n python3-%{pypi_name} -f %{pyproject_files}
%license LICENSE
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-01 14:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01 14:37 [rpms/python-mdit-py-plugins] rawhide: Create a bootstrap to not pull python-pytest-regressions too soon Karolina Surma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox