public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-zmq] f43: Use %pyproject_patch_dependency in lieu of sed
Date: Sat, 22 Aug 2026 06:17:47 GMT [thread overview]
Message-ID: <178737946712.1.11247454727687818992.rpms-python-zmq-e5e077bac77b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-zmq
Branch : f43
Commit : e5e077bac77b1c305e390a0d153ed34d2d8c1853
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-05-07T06:40:57+01:00
Stats : +9/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-zmq/c/e5e077bac77b1c305e390a0d153ed34d2d8c1853?branch=f43
Log:
Use %pyproject_patch_dependency in lieu of sed
---
diff --git a/python-zmq.spec b/python-zmq.spec
index db44b2e..90e399b 100644
--- a/python-zmq.spec
+++ b/python-zmq.spec
@@ -46,7 +46,7 @@ URL: https://zeromq.org/languages/python/
Source: %{forgeurl}/archive/v%{version}/pyzmq-%{version}.tar.gz
BuildSystem: pyproject
-BuildOption(generate_buildrequires): test-requirements-filtered.txt
+BuildOption(generate_buildrequires): test-requirements.txt
# https://scikit-build-core.readthedocs.io/en/latest/configuration/index.html
BuildOption(build): %{shrink:
-Ccmake.define.PYZMQ_LIBZMQ_RPATH:BOOL=OFF
@@ -128,11 +128,14 @@ find 'src' -type f -name '*.py' \
xargs -r sed -r -i '1{/^#!/d}'
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
-# - pymongo is used only in examples/mongodb/, and we don’t run examples
-sed -r \
- -e 's/^(black|codecov|coverage|flake8|mypy|pytest-cov)\b/# &/' \
- -e 's/^(pymongo)\b/# &/' \
- test-requirements.txt | tee test-requirements-filtered.txt
+%pyproject_patch_dependency black:ignore
+%pyproject_patch_dependency codecov:ignore
+%pyproject_patch_dependency coverage:ignore
+%pyproject_patch_dependency flake8:ignore
+%pyproject_patch_dependency mypy:ignore
+%pyproject_patch_dependency pytest-cov:ignore
+# pymongo is used only in examples/mongodb/, and we don’t run examples
+%pyproject_patch_dependency pymongo:ignore
%check -p
reply other threads:[~2026-08-22 6:17 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=178737946712.1.11247454727687818992.rpms-python-zmq-e5e077bac77b@fedoraproject.org \
--to=code@musicinmybrain.net \
--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