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-mdit-py-plugins] rawhide: Create a bootstrap to not pull python-pytest-regressions too soon
Date: Wed, 01 Jul 2026 14:37:43 GMT	[thread overview]
Message-ID: <178291666309.1.8085445909234100620.rpms-python-mdit-py-plugins-56e4e38d9957@fedoraproject.org> (raw)

            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

                 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=178291666309.1.8085445909234100620.rpms-python-mdit-py-plugins-56e4e38d9957@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