Date: Tuesday, June 22, 2021 @ 03:04:26 Author: eschwartz Revision: 966713
upgpkg: python-httpx 0.18.2-1: upstream release Modified: python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch python-httpx/trunk/PKGBUILD -----------------------------------------------------------------+ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch | 18 +++++----- PKGBUILD | 12 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) Modified: 0001-Do-not-override-the-system-SSL-certificates-with-the.patch =================================================================== --- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 2021-06-22 03:04:05 UTC (rev 966712) +++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 2021-06-22 03:04:26 UTC (rev 966713) @@ -1,4 +1,4 @@ -From d03e57b75c2eb8a3696b6dd9a5f84aba4f01280c Mon Sep 17 00:00:00 2001 +From f2d28b9a35572134b336bcc6e347659cf0504be6 Mon Sep 17 00:00:00 2001 From: Eli Schwartz <eschwa...@archlinux.org> Date: Mon, 13 Jul 2020 11:29:54 -0400 Subject: [PATCH] Do not override the system SSL certificates with the certifi @@ -19,18 +19,18 @@ 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/httpx/_config.py b/httpx/_config.py -index 8d589ea..ea256a8 100644 +index 9d29f9f..1ac64e1 100644 --- a/httpx/_config.py +++ b/httpx/_config.py -@@ -5,8 +5,6 @@ import warnings +@@ -4,8 +4,6 @@ import typing from base64 import b64encode from pathlib import Path -import certifi - + from ._compat import set_minimum_tls_version_1_2 from ._models import URL, Headers from ._types import CertTypes, HeaderTypes, TimeoutTypes, URLTypes, VerifyTypes - from ._utils import get_ca_bundle_from_env, get_logger, warn_deprecated @@ -57,7 +55,7 @@ class SSLConfig: SSL Configuration. """ @@ -41,19 +41,19 @@ def __init__( self, diff --git a/setup.py b/setup.py -index e811d2a..2eaf419 100644 +index f3ada86..396d713 100644 --- a/setup.py +++ b/setup.py -@@ -55,7 +55,6 @@ setup( +@@ -56,7 +56,6 @@ setup( include_package_data=True, zip_safe=False, install_requires=[ - "certifi", "sniffio", - "chardet==3.*", "rfc3986[idna2008]>=1.3,<2", + "httpcore>=0.13.3,<0.14.0", diff --git a/tests/test_config.py b/tests/test_config.py -index 5c68bad..a03c607 100644 +index f218f8f..74ab743 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -3,7 +3,6 @@ import ssl @@ -83,5 +83,5 @@ assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED assert context.check_hostname is True -- -2.28.0 +2.32.0 Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-06-22 03:04:05 UTC (rev 966712) +++ PKGBUILD 2021-06-22 03:04:26 UTC (rev 966713) @@ -2,7 +2,7 @@ _pkgname=httpx pkgname=python-httpx -pkgver=0.18.1 +pkgver=0.18.2 pkgrel=1 pkgdesc="A next generation HTTP client for Python" arch=('any') @@ -11,13 +11,13 @@ depends=('python-chardet' 'python-httpcore' 'python-idna' 'python-rfc3986' 'python-sniffio') optdepends=('python-brotlicffi: for brotli response decompression') makedepends=('python-setuptools') -checkdepends=('python-pytest-asyncio' 'python-pytest-trio' 'python-brotlicffi' 'python-h2' 'python-trustme' 'uvicorn') +checkdepends=('python-pytest-asyncio' 'python-pytest-trio' 'python-typing_extensions' 'python-brotlicffi' 'python-h2' 'python-trustme' 'uvicorn') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz" "0001-Do-not-override-the-system-SSL-certificates-with-the.patch") -sha512sums=('954b020d117dd1064262f3ac2d3137d01bba344b1a061e5713c3889283334d9ca92d9ed3d23f6ce79d684e31bae2d83fca6993178ef55e5a91353b812ad489e3' - 'e4b1e33a77cdb5555a4ac3d09b59bc4a0a176a7f5d97099d66a4876abcfd3889058e21beb8bfc375e8e7e61b3808d2a76119033e1a44602d8e6cd461ea3f88de') -b2sums=('dcbfcb4a452b47b643d5114a535005f7f92170392202dedc6c152546430231d20fd8b94b7ecc1d2abacbc9d76acb14cbfdc268109b171cc40812504e696dcaab' - 'e03d340cef44bfb322219030bbcbe53c1323c8b9d9d7aace07045e80faa185a7594839c9ff0fee9604a7fddf916db462f95a341d51f17072bce8e55d53055c7b') +sha512sums=('727974e5d5924fdd653987dd4f528d27bb2653085b01ef5efcdac39dc92ef2ed586f872c202349aa31105ad970cff914de4315c2d79338a6aa18bebb8126f392' + '6c8f9e929f0b5bf24bd288c0ca75f2a97bda294df4ea48bb393d6e9116b515e0388c3a1131de87cfcf41a46af43d15529c0b0e6e0f1c4b05431b985c5f973d79') +b2sums=('3d1e25d503ae5306150c157bc83afdac9a475110d042e041b58de448a0dcfd75de3f4c15836b838dc799cd5f8b7e0d646e43bbe107ffad87d51ff016afe585cd' + '7c226209cbea28e3a5360d61a70d9afc465f4f11ae48cb5bc9cc230bff25b320902070e0e0cb1fd55fc2f708b53665e7e247803c87a2ece6c5efa13ada3d8b76') prepare() { cd "${srcdir}"/${_pkgname}-${pkgver}