public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-urllib3] rawhide: Use various long options
@ 2026-09-19 7:26 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-19 7:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-urllib3
Branch : rawhide
Commit : 3a1b7fe1e962c81d74958a85f2a974cb32772283
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-17T12:33:21+01:00
Stats : +5/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-urllib3/c/3a1b7fe1e962c81d74958a85f2a974cb32772283?branch=rawhide
Log:
Use various long options
[skip changelog]
---
diff --git a/python-urllib3.spec b/python-urllib3.spec
index aebd212..ed63c75 100644
--- a/python-urllib3.spec
+++ b/python-urllib3.spec
@@ -97,7 +97,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
@@ -115,7 +115,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
@@ -189,8 +190,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:26 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:26 [rpms/python-urllib3] rawhide: 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