public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-httplib2] rawhide: Update to 0.32.1. Fixes rhbz#2391904
@ 2026-11-09  0:42 Kevin Fenzi
  0 siblings, 0 replies; only message in thread
From: Kevin Fenzi @ 2026-11-09  0:42 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-11-09  0:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09  0:42 [rpms/python-httplib2] rawhide: Update to 0.32.1. Fixes rhbz#2391904 Kevin Fenzi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox