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-aiohttp] f45: Use various long options for better clarity
Date: Mon, 24 Aug 2026 08:05:15 GMT [thread overview]
Message-ID: <178755871546.1.2882182382232117820.rpms-python-aiohttp-d8f90e46b28c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-aiohttp
Branch : f45
Commit : d8f90e46b28c630f5788c3e5f77a9aac2b91ec19
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-20T10:02:54+01:00
Stats : +8/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-aiohttp/c/d8f90e46b28c630f5788c3e5f77a9aac2b91ec19?branch=f45
Log:
Use various long options for better clarity
[skip changelog]
---
diff --git a/python-aiohttp.spec b/python-aiohttp.spec
index cbd0be3..19e6ce6 100644
--- a/python-aiohttp.spec
+++ b/python-aiohttp.spec
@@ -44,7 +44,7 @@ Recommends: python3-aiohttp+speedups
%autosetup -n aiohttp-%{version} -p1
# Remove bundled llhttp
-rm -rv vendor/llhttp
+rm --recursive --verbose vendor/llhttp
%if %{without gunicorn}
%pyproject_patch_dependency gunicorn:ignore
@@ -72,13 +72,15 @@ rm -rv vendor/llhttp
%pyproject_patch_dependency pytest-cov:ignore
%pyproject_patch_dependency pytest_codspeed:ignore
%pyproject_patch_dependency mypy:ignore
-sed -r -i '/--cov=|-p pytest_cov/d' setup.cfg
+sed --regexp-extended --in-place '/--cov=|-p pytest_cov/d' setup.cfg
# Make sure the source archive does not include any files generated by Cython
-grep -rl '/\* Generated by Cython' | xargs -r rm -v
+grep --recursive --files-with-matches '/\* Generated by Cython' |
+ xargs --no-run-if-empty rm --verbose
# don't treat DeprecationWarnings as errors in subprocess based tests
-sed -i 's/"-W", "error"/"-W", "error", "-W", "ignore::DeprecationWarning"/' \
+sed --in-place \
+ 's/"-W", "error"/"-W", "error", "-W", "ignore::DeprecationWarning"/' \
tests/test_circular_imports.py
@@ -102,7 +104,7 @@ export AIOHTTP_USE_SYSTEM_DEPS=1
aiohttp/*.pyx \
aiohttp/_websocket/*.pyx \
aiohttp/_websocket/reader_c.py \
- -I aiohttp
+ --include-dir aiohttp
# Now we can actually proceed with building the package.
%pyproject_wheel
@@ -161,7 +163,7 @@ k="${k-}${k+ and }not test_send_compress_text_notakeover"
# We expect that upstream will encounter the issue in their own CI soon enough.
k="${k-}${k+ and }not test_parse_set_cookie_headers_uses_unquote_with_octal"
-%pytest -Wdefault ${ignore-} -k "${k-}" -m 'not dev_mode'
+%pytest --pythonwarnings default ${ignore-} -k "${k-}" -m 'not dev_mode'
%endif
reply other threads:[~2026-08-24 8:05 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=178755871546.1.2882182382232117820.rpms-python-aiohttp-d8f90e46b28c@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