From 94f419e3857ae8581556989412e9bcb8975c0abc Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 12 May 2026 12:20:15 +0200 Subject: [PATCH] Update to 2.7.0 (rhbz#2467787) --- .gitignore | 1 + python-urllib3.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index e3fee0e..687233d 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,4 @@ /urllib3-2.6.1.tar.gz /urllib3-2.6.2.tar.gz /urllib3-2.6.3.tar.gz +/urllib3-2.7.0.tar.gz diff --git a/python-urllib3.spec b/python-urllib3.spec index 6cac6e1..b2854a7 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -5,7 +5,7 @@ %bcond extradeps %{undefined rhel} Name: python-urllib3 -Version: 2.6.3 +Version: 2.7.0 Release: %autorelease Summary: HTTP library with thread-safe connection pooling, file post, and more @@ -111,9 +111,9 @@ sed -i "s/^RECENT_DATE = datetime.date(.*)/RECENT_DATE = datetime.date($recent_d %if %{with tests} # Possible improvements to dependency groups # https://github.com/urllib3/urllib3/issues/3594 -# Adjust the contents of the "dev" dependency group by removing: +# Adjust the contents of the "dev-base" dependency group by removing: remove_from_dev() { - tomcli set pyproject.toml lists delitem 'dependency-groups.dev' "($1)\b.*" + tomcli set pyproject.toml lists delitem 'dependency-groups.dev-base' "($1)\b.*" } # - Linters, coverage tools, profilers, etc.: # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters @@ -133,7 +133,7 @@ remove_from_dev 'hypercorn' # constraints, which is currently fine, but could theoretically cause trouble # in the future. We’ll cross that bridge if we ever arrive at it.) tomcli set pyproject.toml lists replace --type regex_search \ - 'dependency-groups.dev' '[>=]=.*' '' + 'dependency-groups.dev-base' '[>=]=.*' '' %endif diff --git a/sources b/sources index d7b27ef..aa5132c 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (urllib3-2.6.3.tar.gz) = 554cedfd97d411fffa9a8ba46f592eab9e58c5fa8822ecd5a73ab45d6adfc188a6b9c4e238d02a4fbd3a1067a25a1de841a33d398d0641e22a32ea414876b615 +SHA512 (urllib3-2.7.0.tar.gz) = 5bcfcde51cf28ab5d999ec863de9eed794df84530bdcc957259376ee8c677fe9aaee609dc643324b99c43610553914366164d99407334d8eb6ca2c60eba12f49 SHA512 (hypercorn-d1719f8c1570cbd8e6a3719ffdb14a4d72880abb.tar.gz) = 62d6787d88a2e716f0ac04fc49f6cdc586e473a660ee754ff66961922ae78bcc75d1f78b091e78557dd60f006e8e480114738c7b4ff71beac804e4fc9603240b