public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-urllib3] f43: Use various long options
@ 2026-09-19  7:36 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-19  7:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-urllib3
            Branch : f43
            Commit : 084834c314fe1c74521b32e27306b14d0eb61630
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-09-19T08:31:02+01:00
            Stats  : +5/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-urllib3/c/084834c314fe1c74521b32e27306b14d0eb61630?branch=f43

            Log:
            Use various long options

[skip changelog]

---
diff --git a/python-urllib3.spec b/python-urllib3.spec
index 6672efe..cab1ff5 100644
--- a/python-urllib3.spec
+++ b/python-urllib3.spec
@@ -88,7 +88,7 @@ Recommends:     python3-urllib3+socks
 # Allow setuptools-scm 10+
 # Upstream PR pins to <11: https://github.com/urllib3/urllib3/pull/4954
 # We don't pin if we don't have to -- the build should fail if it doesn't work with future versions.
-sed -i 's/setuptools-scm>=8,<10/setuptools-scm>=8/' pyproject.toml
+sed --in-place 's/setuptools-scm>=8,<10/setuptools-scm>=8/' pyproject.toml
 
 # Make sure that the RECENT_DATE value doesn't get too far behind what the current date is.
 # RECENT_DATE must not be older that 2 years from the build time, or else test_recent_date
@@ -106,7 +106,8 @@ sed -i 's/setuptools-scm>=8,<10/setuptools-scm>=8/' pyproject.toml
 # set to some time in the past, but not to far away from the present).
 # Next few lines update RECENT_DATE dynamically.
 recent_date=$(date --date "7 month ago" +"%Y, %_m, %_d")
-sed -i "s/^RECENT_DATE = datetime.date(.*)/RECENT_DATE = datetime.date($recent_date)/" src/urllib3/connection.py
+sed --in-place "s/^RECENT_DATE = datetime.date(.*)/RECENT_DATE = datetime.date($recent_date)/" \
+    src/urllib3/connection.py
 
 %if %{with tests}
 # Possible improvements to dependency groups
@@ -183,8 +184,8 @@ export PYTHONPATH="${hypercorndir}:%{buildroot}%{python3_sitelib}"
 # even when we export the CI environment variable to increase timeouts.
 k="${k-}${k+ and }not (TestHTTPProxyManager and test_tunneling_proxy_request_timeout[https-https])"
 
-%pytest -v -rs ${ignore-} -k "${k-}"
-%pytest -v -rs ${ignore-} -k "${k-}" --integration
+%pytest --verbose -rs ${ignore-} -k "${k-}"
+%pytest --verbose -rs ${ignore-} -k "${k-}" --integration
 %endif
 
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-19  7:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-19  7:36 [rpms/python-urllib3] f43: Use various long options 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