public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kevin Fenzi <kevin@scrye.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-httplib2] rawhide: Update to 0.32.1. Fixes rhbz#2391904
Date: Mon, 09 Nov 2026 00:42:21 GMT [thread overview]
Message-ID: <179418494127.1.9520150261279892508.rpms-python-httplib2-fa60ab8d9fc0@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-httplib2
Branch : rawhide
Commit : fa60ab8d9fc0c244966e73a59c3a8c477e85dfa5
Author : Kevin Fenzi <kevin@scrye.com>
Date : 2026-11-08T16:42:13-08:00
Stats : +31/-45 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-httplib2/c/fa60ab8d9fc0c244966e73a59c3a8c477e85dfa5?branch=rawhide
Log:
Update to 0.32.1. Fixes rhbz#2391904
Drop cacert.txt doc file to avoid confusion ( rhbz#2563344 )
---
diff --git a/.gitignore b/.gitignore
index 44d122e..3cbe17e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,3 +28,4 @@ httplib2-0.4.0.tar.gz
/httplib2-0.20.4.tar.gz
/httplib2-0.21.0.tar.gz
/httplib2-0.22.0.tar.gz
+/httplib2-0.32.1.tar.gz
diff --git a/python-httplib2.certfile.patch b/python-httplib2.certfile.patch
index 2bf0d9e..c9cc8e9 100644
--- a/python-httplib2.certfile.patch
+++ b/python-httplib2.certfile.patch
@@ -1,35 +1,13 @@
-diff --git a/python2/httplib2/certs.py b/python2/httplib2/certs.py
-index 59d1ffc..a2e7513 100644
---- a/python2/httplib2/certs.py
-+++ b/python2/httplib2/certs.py
-@@ -23,6 +23,7 @@ BUILTIN_CA_CERTS = os.path.join(
- os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
- )
-
-+FEDORA_CA_CERTS = "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem"
-
- def where():
- env = os.environ.get("HTTPLIB2_CA_CERTS")
-@@ -35,7 +36,7 @@ def where():
- return custom_ca_locater_where()
- if certifi_available:
- return certifi_where()
-- return BUILTIN_CA_CERTS
-+ return FEDORA_CA_CERTS
-
-
- if __name__ == "__main__":
-diff --git a/python3/httplib2/certs.py b/python3/httplib2/certs.py
-index 59d1ffc..2708393 100644
---- a/python3/httplib2/certs.py
-+++ b/python3/httplib2/certs.py
+diff --git a/httplib2/certs.py b/httplib2/certs.py
+--- a/httplib2/certs.py
++++ b/httplib2/certs.py
@@ -23,6 +23,8 @@ BUILTIN_CA_CERTS = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
)
-
+
+FEDORA_CA_CERTS = "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem"
+
-
+
def where():
env = os.environ.get("HTTPLIB2_CA_CERTS")
@@ -35,7 +37,7 @@ def where():
@@ -38,40 +16,39 @@ index 59d1ffc..2708393 100644
return certifi_where()
- return BUILTIN_CA_CERTS
+ return FEDORA_CA_CERTS
-
-
+
+
if __name__ == "__main__":
diff --git a/tests/test_cacerts_from_env.py b/tests/test_cacerts_from_env.py
-index cb2bd9f..0fed4d5 100644
--- a/tests/test_cacerts_from_env.py
+++ b/tests/test_cacerts_from_env.py
-@@ -7,6 +7,7 @@ import httplib2
-
-
+@@ -10,6 +10,7 @@ import httplib2
+
+
CA_CERTS_BUILTIN = os.path.join(os.path.dirname(httplib2.__file__), "cacerts.txt")
+FEDORA_CA_CERTS = "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem"
CERTIFI_CERTS_FILE = "unittest_certifi_file"
CUSTOM_CA_CERTS = "unittest_custom_ca_certs"
-
-@@ -32,7 +33,7 @@ def ca_certs_tmpfile(clean_env):
+
+@@ -35,7 +36,7 @@ def ca_certs_tmpfile(clean_env):
@mock.patch("httplib2.certs.certifi_available", False)
@mock.patch("httplib2.certs.custom_ca_locater_available", False)
def test_certs_file_from_builtin(clean_env):
- assert httplib2.certs.where() == CA_CERTS_BUILTIN
+ assert httplib2.certs.where() == FEDORA_CA_CERTS
-
-
+
+
@mock.patch("httplib2.certs.certifi_available", False)
-@@ -44,7 +45,7 @@ def test_certs_file_from_environment(ca_certs_tmpfile):
+@@ -47,7 +48,7 @@ def test_certs_file_from_environment(ca_certs_tmpfile):
with pytest.raises(RuntimeError):
httplib2.certs.where()
os.environ.pop("HTTPLIB2_CA_CERTS")
- assert httplib2.certs.where() == CA_CERTS_BUILTIN
+ assert httplib2.certs.where() == FEDORA_CA_CERTS
-
-
+
+
@mock.patch("httplib2.certs.certifi_where", mock.MagicMock(return_value=CERTIFI_CERTS_FILE))
-@@ -69,4 +70,4 @@ def test_with_certifi_removed_from_modules(ca_certs_tmpfile):
+@@ -72,4 +73,4 @@ def test_with_certifi_removed_from_modules(ca_certs_tmpfile):
os.environ["HTTPLIB2_CA_CERTS"] = ca_certs_tmpfile
assert httplib2.certs.where() == ca_certs_tmpfile
os.environ.pop("HTTPLIB2_CA_CERTS")
diff --git a/python-httplib2.spec b/python-httplib2.spec
index 0fc9d9c..3a2b888 100644
--- a/python-httplib2.spec
+++ b/python-httplib2.spec
@@ -1,8 +1,8 @@
%global srcname httplib2
Name: python-%{srcname}
-Version: 0.22.0
-Release: 10%{?dist}
+Version: 0.32.1
+Release: 1%{?dist}
Summary: Comprehensive HTTP client library
License: MIT
URL: https://pypi.python.org/pypi/httplib2
@@ -40,6 +40,9 @@ BuildRequires: python3-pyparsing
# Drop coverage
sed -i '/--cov/d' setup.cfg
+# remove the proxy test, as it depends on an upackaged module
+rm -f tests/test_proxy.py
+
%generate_buildrequires
%pyproject_buildrequires
@@ -63,12 +66,17 @@ sed -i '/--cov/d' setup.cfg
test_invalid_ca_certs_path and not test_max_tls_version and not \
test_get_301_via_https and not test_client_cert_password_verified and not\
test_get_via_https and not test_min_tls_version and not\
- test_client_cert_verified and not test_inject_space and not test_get_301_no_redirect"
+ test_client_cert_verified and not test_inject_space and not\
+ test_get_301_no_redirect"
%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.md
%changelog
+* Sun Nov 08 2026 Kevin Fenzi <kevin@scrye.com> - 0.32.1-1
+- Update to 0.32.1. Fixes rhbz#2391904
+- Drop cacert.txt doc file to avoid confusion ( rhbz#2563344 )
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 67b409a..1a72b35 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (httplib2-0.22.0.tar.gz) = 77210f85ccaa2d2cf4a6c89f5146ca5eb9a6f26f00e862f6d0716ec73baffdf94714ae1d5eaced4349920b91276a7835e2f028c6d9156e84c241514b198791e5
+SHA512 (httplib2-0.32.1.tar.gz) = 70182ac1434702161f43e931578dd3b72990526dad3e59ee9ec5102790c62254332a9c7e75760348713960278403fda3289ac0588764189f54d48aafc60fd047
reply other threads:[~2026-11-09 0:42 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=179418494127.1.9520150261279892508.rpms-python-httplib2-fa60ab8d9fc0@fedoraproject.org \
--to=kevin@scrye.com \
--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