public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-zstandard] rawhide: Avoid pytest-xdist dependency on RHEL
Date: Mon, 17 Aug 2026 20:09:20 GMT	[thread overview]
Message-ID: <178699736091.1.15746162546944402226.rpms-python-zstandard-389139a6a66f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-zstandard
            Branch : rawhide
            Commit : 389139a6a66ffeb0c7e9f1bf6c2daa3278c5c2bc
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-08-14T12:29:37-04:00
            Stats  : +7/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-zstandard/c/389139a6a66ffeb0c7e9f1bf6c2daa3278c5c2bc?branch=rawhide

            Log:
            Avoid pytest-xdist dependency on RHEL

It is unwanted in RHEL due to its dependencies, but the only difference
is that the tests need to be run serially instead.

---
diff --git a/python-zstandard.spec b/python-zstandard.spec
index 0432fb8..8fe4a0a 100644
--- a/python-zstandard.spec
+++ b/python-zstandard.spec
@@ -7,7 +7,7 @@ compression library. A C extension and CFFI interface are provided.
 
 Name: python-%{pypi_name}
 Version: 0.25.0
-Release: 6%{?dist}
+Release: 7%{?dist}
 Summary: Zstandard bindings for Python
 License: (BSD-3-Clause OR GPL-2.0-only) AND MIT
 URL: https://github.com/indygreg/python-zstandard
@@ -23,8 +23,10 @@ BuildRequires: libzstd-devel
 BuildRequires: python3-devel
 %if %{with check}
 BuildRequires: python3dist(pytest)
+%if %{undefined rhel}
 BuildRequires: python3dist(pytest-xdist)
 %endif
+%endif
 # https://github.com/indygreg/python-zstandard/issues/48
 Provides: bundled(zstd) = 1.5.7
 
@@ -52,8 +54,7 @@ rm -r %{pypi_name}.egg-info
 %if %{with check}
 mv zstandard{,.src}
 export ZSTD_SLOW_TESTS=1
-%pytest -v\
-        --numprocesses=auto
+%pytest -v %{!?rhel:--numprocesses=auto}
 mv zstandard{.src,}
 %endif
 
@@ -62,6 +63,9 @@ mv zstandard{.src,}
 %doc README.rst
 
 %changelog
+* Fri Aug 14 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 0.25.0-7
+- Avoid pytest-xdist dependency on RHEL
+
 * Wed Aug 12 2026 Dominik Mierzejewski <dominik@greysector.net> - 0.25.0-6
 - drop unnecessary patch and check conditional
 

                 reply	other threads:[~2026-08-17 20:09 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=178699736091.1.15746162546944402226.rpms-python-zstandard-389139a6a66f@fedoraproject.org \
    --to=yselkowi@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