public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-aiohttp] f45: Use various long options for better clarity
@ 2026-08-24 8:05 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-24 8:05 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-24 8:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-24 8:05 [rpms/python-aiohttp] f45: Use various long options for better clarity Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox