public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-myst-parser] 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-myst-parser
Branch : rawhide
Commit : a819785e2518ea717332a7619b4b40990836550d
Author : Karolina Surma <ksurma@redhat.com>
Date : 2026-07-01T14:23:23+00:00
Stats : +6/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-myst-parser/c/a819785e2518ea717332a7619b4b40990836550d?branch=rawhide
Log:
Create a bootstrap to not pull python-pytest-regressions too soon
---
diff --git a/python-myst-parser.spec b/python-myst-parser.spec
index 89f2ec7..4565472 100644
--- a/python-myst-parser.spec
+++ b/python-myst-parser.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 myst-parser
Name: python-%{pypi_name}
@@ -22,7 +25,9 @@ BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-beautifulsoup4
BuildRequires: python3-docutils
+%if %{without bootstrap}
BuildRequires: python3-pytest-regressions
+%endif
BuildRequires: python3-pytest-param-files
BuildRequires: python3-sphinx-pytest
BuildRequires: python3-linkify-it-py
@@ -61,7 +66,7 @@ Summary: %{summary}
%pyproject_save_files myst_parser
%check
-%pytest
+%pytest %{?with_bootstrap:-k 'not test_inv and not test_parse' --ignore tests/test_sphinx/test_sphinx_builds.py}
%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-myst-parser] 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