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-myst-parser] rawhide: Create a bootstrap to not pull python-pytest-regressions too soon
Date: Wed, 01 Jul 2026 14:37:12 GMT	[thread overview]
Message-ID: <178291663258.1.11951565293414797014.rpms-python-myst-parser-a819785e2518@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-07-01 14:37 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=178291663258.1.11951565293414797014.rpms-python-myst-parser-a819785e2518@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