[arch-commits] Commit in python-httpx/repos/community-any (4 files)

2022-01-26 Thread Antonio Rojas via arch-commits
Date: Wednesday, January 26, 2022 @ 16:51:44
  Author: arojas
Revision: 1116062

archrelease: copy trunk to community-any

Added:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
(from rev 1116061, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
  python-httpx/repos/community-any/PKGBUILD
(from rev 1116061, python-httpx/trunk/PKGBUILD)
Deleted:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
  python-httpx/repos/community-any/PKGBUILD

-+
 0001-Do-not-override-the-system-SSL-certificates-with-the.patch |  174 
+-
 PKGBUILD|   97 ++---
 2 files changed, 135 insertions(+), 136 deletions(-)

Deleted: 0001-Do-not-override-the-system-SSL-certificates-with-the.patch
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2022-01-26 16:51:34 UTC (rev 1116061)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2022-01-26 16:51:44 UTC (rev 1116062)
@@ -1,87 +0,0 @@
-From f2d28b9a35572134b336bcc6e347659cf0504be6 Mon Sep 17 00:00:00 2001
-From: Eli Schwartz 
-Date: Mon, 13 Jul 2020 11:29:54 -0400
-Subject: [PATCH] Do not override the system SSL certificates with the certifi
- bundle.
-
-We need to respect the system certification policy, and by default the
-ssl module will use our packaged ca-certificates.
-
-ssl.create_default_context(cafile=None) is the default to use the
-builtin (system) certs, but due to the sorcery which this module uses to
-check how arguments are being passed, it's less invasive to simply
-hardcode the standard certificate path instead of letting python
-properly handle it.

- httpx/_config.py | 4 +---
- setup.py | 1 -
- tests/test_config.py | 5 ++---
- 3 files changed, 3 insertions(+), 7 deletions(-)
-
-diff --git a/httpx/_config.py b/httpx/_config.py
-index 9d29f9f..1ac64e1 100644
 a/httpx/_config.py
-+++ b/httpx/_config.py
-@@ -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
-@@ -57,7 +55,7 @@ class SSLConfig:
- SSL Configuration.
- """
- 
--DEFAULT_CA_BUNDLE_PATH = Path(certifi.where())
-+DEFAULT_CA_BUNDLE_PATH = Path("/etc/ssl/certs/ca-certificates.crt")
- 
- def __init__(
- self,
-diff --git a/setup.py b/setup.py
-index f3ada86..396d713 100644
 a/setup.py
-+++ b/setup.py
-@@ -56,7 +56,6 @@ setup(
- include_package_data=True,
- zip_safe=False,
- install_requires=[
--"certifi",
- "charset_normalizer",
- "sniffio",
- "rfc3986[idna2008]>=1.3,<2",
-diff --git a/tests/test_config.py b/tests/test_config.py
-index f218f8f..74ab743 100644
 a/tests/test_config.py
-+++ b/tests/test_config.py
-@@ -3,7 +3,6 @@ import ssl
- import sys
- from pathlib import Path
- 
--import certifi
- import pytest
- 
- import httpx
-@@ -21,7 +20,7 @@ def test_load_ssl_config_verify_non_existing_path():
- 
- 
- def test_load_ssl_config_verify_existing_file():
--context = httpx.create_ssl_context(verify=certifi.where())
-+context = 
httpx.create_ssl_context(verify="/etc/ssl/certs/ca-certificates.crt")
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
- 
-@@ -44,7 +43,7 @@ def test_load_ssl_config_verify_env_file(
- 
- 
- def test_load_ssl_config_verify_directory():
--path = Path(certifi.where()).parent
-+path = Path("/etc/ssl/certs/ca-certificates.crt").parent
- context = httpx.create_ssl_context(verify=str(path))
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
--- 
-2.32.0
-

Copied: 
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
 (from rev 1116061, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
(rev 0)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2022-01-26 16:51:44 UTC (rev 1116062)
@@ -0,0 +1,87 @@
+From f2d28b9a35572134b336bcc6e347659cf0504be6 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Mon, 13 Jul 2020 11:29:54 -0400
+Subject: [PATCH] Do not override the system SSL certificates with the certifi
+ bundle.
+
+We need to respect the system certification policy, and by default the
+ssl module will use our packaged ca-certificates.
+
+ssl.create_default_context(cafile=None) is the default 

[arch-commits] Commit in python-httpx/repos/community-any (4 files)

2022-01-08 Thread Antonio Rojas via arch-commits
Date: Saturday, January 8, 2022 @ 17:14:01
  Author: arojas
Revision: 1097242

archrelease: copy trunk to community-any

Added:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
(from rev 1097241, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
  python-httpx/repos/community-any/PKGBUILD
(from rev 1097241, python-httpx/trunk/PKGBUILD)
Deleted:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
  python-httpx/repos/community-any/PKGBUILD

-+
 0001-Do-not-override-the-system-SSL-certificates-with-the.patch |  174 
+-
 PKGBUILD|   98 ++---
 2 files changed, 136 insertions(+), 136 deletions(-)

Deleted: 0001-Do-not-override-the-system-SSL-certificates-with-the.patch
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2022-01-08 17:13:48 UTC (rev 1097241)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2022-01-08 17:14:01 UTC (rev 1097242)
@@ -1,87 +0,0 @@
-From f2d28b9a35572134b336bcc6e347659cf0504be6 Mon Sep 17 00:00:00 2001
-From: Eli Schwartz 
-Date: Mon, 13 Jul 2020 11:29:54 -0400
-Subject: [PATCH] Do not override the system SSL certificates with the certifi
- bundle.
-
-We need to respect the system certification policy, and by default the
-ssl module will use our packaged ca-certificates.
-
-ssl.create_default_context(cafile=None) is the default to use the
-builtin (system) certs, but due to the sorcery which this module uses to
-check how arguments are being passed, it's less invasive to simply
-hardcode the standard certificate path instead of letting python
-properly handle it.

- httpx/_config.py | 4 +---
- setup.py | 1 -
- tests/test_config.py | 5 ++---
- 3 files changed, 3 insertions(+), 7 deletions(-)
-
-diff --git a/httpx/_config.py b/httpx/_config.py
-index 9d29f9f..1ac64e1 100644
 a/httpx/_config.py
-+++ b/httpx/_config.py
-@@ -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
-@@ -57,7 +55,7 @@ class SSLConfig:
- SSL Configuration.
- """
- 
--DEFAULT_CA_BUNDLE_PATH = Path(certifi.where())
-+DEFAULT_CA_BUNDLE_PATH = Path("/etc/ssl/certs/ca-certificates.crt")
- 
- def __init__(
- self,
-diff --git a/setup.py b/setup.py
-index f3ada86..396d713 100644
 a/setup.py
-+++ b/setup.py
-@@ -56,7 +56,6 @@ setup(
- include_package_data=True,
- zip_safe=False,
- install_requires=[
--"certifi",
- "charset_normalizer",
- "sniffio",
- "rfc3986[idna2008]>=1.3,<2",
-diff --git a/tests/test_config.py b/tests/test_config.py
-index f218f8f..74ab743 100644
 a/tests/test_config.py
-+++ b/tests/test_config.py
-@@ -3,7 +3,6 @@ import ssl
- import sys
- from pathlib import Path
- 
--import certifi
- import pytest
- 
- import httpx
-@@ -21,7 +20,7 @@ def test_load_ssl_config_verify_non_existing_path():
- 
- 
- def test_load_ssl_config_verify_existing_file():
--context = httpx.create_ssl_context(verify=certifi.where())
-+context = 
httpx.create_ssl_context(verify="/etc/ssl/certs/ca-certificates.crt")
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
- 
-@@ -44,7 +43,7 @@ def test_load_ssl_config_verify_env_file(
- 
- 
- def test_load_ssl_config_verify_directory():
--path = Path(certifi.where()).parent
-+path = Path("/etc/ssl/certs/ca-certificates.crt").parent
- context = httpx.create_ssl_context(verify=str(path))
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
--- 
-2.32.0
-

Copied: 
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
 (from rev 1097241, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
(rev 0)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2022-01-08 17:14:01 UTC (rev 1097242)
@@ -0,0 +1,87 @@
+From f2d28b9a35572134b336bcc6e347659cf0504be6 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Mon, 13 Jul 2020 11:29:54 -0400
+Subject: [PATCH] Do not override the system SSL certificates with the certifi
+ bundle.
+
+We need to respect the system certification policy, and by default the
+ssl module will use our packaged ca-certificates.
+
+ssl.create_default_context(cafile=None) is the default to 

[arch-commits] Commit in python-httpx/repos/community-any (4 files)

2022-01-05 Thread Antonio Rojas via arch-commits
Date: Wednesday, January 5, 2022 @ 18:25:11
  Author: arojas
Revision: 1093366

archrelease: copy trunk to community-any

Added:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
(from rev 1093365, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
  python-httpx/repos/community-any/PKGBUILD
(from rev 1093365, python-httpx/trunk/PKGBUILD)
Deleted:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
  python-httpx/repos/community-any/PKGBUILD

-+
 0001-Do-not-override-the-system-SSL-certificates-with-the.patch |  174 
+-
 PKGBUILD|   98 ++---
 2 files changed, 136 insertions(+), 136 deletions(-)

Deleted: 0001-Do-not-override-the-system-SSL-certificates-with-the.patch
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2022-01-05 18:24:38 UTC (rev 1093365)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2022-01-05 18:25:11 UTC (rev 1093366)
@@ -1,87 +0,0 @@
-From f2d28b9a35572134b336bcc6e347659cf0504be6 Mon Sep 17 00:00:00 2001
-From: Eli Schwartz 
-Date: Mon, 13 Jul 2020 11:29:54 -0400
-Subject: [PATCH] Do not override the system SSL certificates with the certifi
- bundle.
-
-We need to respect the system certification policy, and by default the
-ssl module will use our packaged ca-certificates.
-
-ssl.create_default_context(cafile=None) is the default to use the
-builtin (system) certs, but due to the sorcery which this module uses to
-check how arguments are being passed, it's less invasive to simply
-hardcode the standard certificate path instead of letting python
-properly handle it.

- httpx/_config.py | 4 +---
- setup.py | 1 -
- tests/test_config.py | 5 ++---
- 3 files changed, 3 insertions(+), 7 deletions(-)
-
-diff --git a/httpx/_config.py b/httpx/_config.py
-index 9d29f9f..1ac64e1 100644
 a/httpx/_config.py
-+++ b/httpx/_config.py
-@@ -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
-@@ -57,7 +55,7 @@ class SSLConfig:
- SSL Configuration.
- """
- 
--DEFAULT_CA_BUNDLE_PATH = Path(certifi.where())
-+DEFAULT_CA_BUNDLE_PATH = Path("/etc/ssl/certs/ca-certificates.crt")
- 
- def __init__(
- self,
-diff --git a/setup.py b/setup.py
-index f3ada86..396d713 100644
 a/setup.py
-+++ b/setup.py
-@@ -56,7 +56,6 @@ setup(
- include_package_data=True,
- zip_safe=False,
- install_requires=[
--"certifi",
- "charset_normalizer",
- "sniffio",
- "rfc3986[idna2008]>=1.3,<2",
-diff --git a/tests/test_config.py b/tests/test_config.py
-index f218f8f..74ab743 100644
 a/tests/test_config.py
-+++ b/tests/test_config.py
-@@ -3,7 +3,6 @@ import ssl
- import sys
- from pathlib import Path
- 
--import certifi
- import pytest
- 
- import httpx
-@@ -21,7 +20,7 @@ def test_load_ssl_config_verify_non_existing_path():
- 
- 
- def test_load_ssl_config_verify_existing_file():
--context = httpx.create_ssl_context(verify=certifi.where())
-+context = 
httpx.create_ssl_context(verify="/etc/ssl/certs/ca-certificates.crt")
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
- 
-@@ -44,7 +43,7 @@ def test_load_ssl_config_verify_env_file(
- 
- 
- def test_load_ssl_config_verify_directory():
--path = Path(certifi.where()).parent
-+path = Path("/etc/ssl/certs/ca-certificates.crt").parent
- context = httpx.create_ssl_context(verify=str(path))
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
--- 
-2.32.0
-

Copied: 
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
 (from rev 1093365, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
(rev 0)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2022-01-05 18:25:11 UTC (rev 1093366)
@@ -0,0 +1,87 @@
+From f2d28b9a35572134b336bcc6e347659cf0504be6 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Mon, 13 Jul 2020 11:29:54 -0400
+Subject: [PATCH] Do not override the system SSL certificates with the certifi
+ bundle.
+
+We need to respect the system certification policy, and by default the
+ssl module will use our packaged ca-certificates.
+
+ssl.create_default_context(cafile=None) is the default 

[arch-commits] Commit in python-httpx/repos/community-any (4 files)

2021-09-04 Thread Maxime Gauduin via arch-commits
Date: Saturday, September 4, 2021 @ 10:38:18
  Author: alucryd
Revision: 1010997

archrelease: copy trunk to community-any

Added:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
(from rev 1010996, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
  python-httpx/repos/community-any/PKGBUILD
(from rev 1010996, python-httpx/trunk/PKGBUILD)
Deleted:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
  python-httpx/repos/community-any/PKGBUILD

-+
 0001-Do-not-override-the-system-SSL-certificates-with-the.patch |  174 
+-
 PKGBUILD|   92 ++---
 2 files changed, 133 insertions(+), 133 deletions(-)

Deleted: 0001-Do-not-override-the-system-SSL-certificates-with-the.patch
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2021-09-04 10:38:13 UTC (rev 1010996)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2021-09-04 10:38:18 UTC (rev 1010997)
@@ -1,87 +0,0 @@
-From f2d28b9a35572134b336bcc6e347659cf0504be6 Mon Sep 17 00:00:00 2001
-From: Eli Schwartz 
-Date: Mon, 13 Jul 2020 11:29:54 -0400
-Subject: [PATCH] Do not override the system SSL certificates with the certifi
- bundle.
-
-We need to respect the system certification policy, and by default the
-ssl module will use our packaged ca-certificates.
-
-ssl.create_default_context(cafile=None) is the default to use the
-builtin (system) certs, but due to the sorcery which this module uses to
-check how arguments are being passed, it's less invasive to simply
-hardcode the standard certificate path instead of letting python
-properly handle it.

- httpx/_config.py | 4 +---
- setup.py | 1 -
- tests/test_config.py | 5 ++---
- 3 files changed, 3 insertions(+), 7 deletions(-)
-
-diff --git a/httpx/_config.py b/httpx/_config.py
-index 9d29f9f..1ac64e1 100644
 a/httpx/_config.py
-+++ b/httpx/_config.py
-@@ -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
-@@ -57,7 +55,7 @@ class SSLConfig:
- SSL Configuration.
- """
- 
--DEFAULT_CA_BUNDLE_PATH = Path(certifi.where())
-+DEFAULT_CA_BUNDLE_PATH = Path("/etc/ssl/certs/ca-certificates.crt")
- 
- def __init__(
- self,
-diff --git a/setup.py b/setup.py
-index f3ada86..396d713 100644
 a/setup.py
-+++ b/setup.py
-@@ -56,7 +56,6 @@ setup(
- include_package_data=True,
- zip_safe=False,
- install_requires=[
--"certifi",
- "sniffio",
- "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 f218f8f..74ab743 100644
 a/tests/test_config.py
-+++ b/tests/test_config.py
-@@ -3,7 +3,6 @@ import ssl
- import sys
- from pathlib import Path
- 
--import certifi
- import pytest
- 
- import httpx
-@@ -21,7 +20,7 @@ def test_load_ssl_config_verify_non_existing_path():
- 
- 
- def test_load_ssl_config_verify_existing_file():
--context = httpx.create_ssl_context(verify=certifi.where())
-+context = 
httpx.create_ssl_context(verify="/etc/ssl/certs/ca-certificates.crt")
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
- 
-@@ -44,7 +43,7 @@ def test_load_ssl_config_verify_env_file(
- 
- 
- def test_load_ssl_config_verify_directory():
--path = Path(certifi.where()).parent
-+path = Path("/etc/ssl/certs/ca-certificates.crt").parent
- context = httpx.create_ssl_context(verify=str(path))
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
--- 
-2.32.0
-

Copied: 
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
 (from rev 1010996, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
(rev 0)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2021-09-04 10:38:18 UTC (rev 1010997)
@@ -0,0 +1,87 @@
+From f2d28b9a35572134b336bcc6e347659cf0504be6 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Mon, 13 Jul 2020 11:29:54 -0400
+Subject: [PATCH] Do not override the system SSL certificates with the certifi
+ bundle.
+
+We need to respect the system certification policy, and by default the
+ssl module will use our packaged ca-certificates.
+
+ssl.create_default_context(cafile=None) is the 

[arch-commits] Commit in python-httpx/repos/community-any (4 files)

2021-06-21 Thread Eli Schwartz via arch-commits
Date: Tuesday, June 22, 2021 @ 03:04:44
  Author: eschwartz
Revision: 966714

archrelease: copy trunk to community-any

Added:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
(from rev 966713, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
  python-httpx/repos/community-any/PKGBUILD
(from rev 966713, python-httpx/trunk/PKGBUILD)
Deleted:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
  python-httpx/repos/community-any/PKGBUILD

-+
 0001-Do-not-override-the-system-SSL-certificates-with-the.patch |  174 
+-
 PKGBUILD|   92 ++---
 2 files changed, 133 insertions(+), 133 deletions(-)

Deleted: 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:26 UTC (rev 966713)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2021-06-22 03:04:44 UTC (rev 966714)
@@ -1,87 +0,0 @@
-From d03e57b75c2eb8a3696b6dd9a5f84aba4f01280c Mon Sep 17 00:00:00 2001
-From: Eli Schwartz 
-Date: Mon, 13 Jul 2020 11:29:54 -0400
-Subject: [PATCH] Do not override the system SSL certificates with the certifi
- bundle.
-
-We need to respect the system certification policy, and by default the
-ssl module will use our packaged ca-certificates.
-
-ssl.create_default_context(cafile=None) is the default to use the
-builtin (system) certs, but due to the sorcery which this module uses to
-check how arguments are being passed, it's less invasive to simply
-hardcode the standard certificate path instead of letting python
-properly handle it.

- httpx/_config.py | 4 +---
- setup.py | 1 -
- tests/test_config.py | 5 ++---
- 3 files changed, 3 insertions(+), 7 deletions(-)
-
-diff --git a/httpx/_config.py b/httpx/_config.py
-index 8d589ea..ea256a8 100644
 a/httpx/_config.py
-+++ b/httpx/_config.py
-@@ -5,8 +5,6 @@ import warnings
- from base64 import b64encode
- from pathlib import Path
- 
--import certifi
--
- 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.
- """
- 
--DEFAULT_CA_BUNDLE_PATH = Path(certifi.where())
-+DEFAULT_CA_BUNDLE_PATH = Path("/etc/ssl/certs/ca-certificates.crt")
- 
- def __init__(
- self,
-diff --git a/setup.py b/setup.py
-index e811d2a..2eaf419 100644
 a/setup.py
-+++ b/setup.py
-@@ -55,7 +55,6 @@ setup(
- include_package_data=True,
- zip_safe=False,
- install_requires=[
--"certifi",
- "sniffio",
- "chardet==3.*",
- "rfc3986[idna2008]>=1.3,<2",
-diff --git a/tests/test_config.py b/tests/test_config.py
-index 5c68bad..a03c607 100644
 a/tests/test_config.py
-+++ b/tests/test_config.py
-@@ -3,7 +3,6 @@ import ssl
- import sys
- from pathlib import Path
- 
--import certifi
- import pytest
- 
- import httpx
-@@ -21,7 +20,7 @@ def test_load_ssl_config_verify_non_existing_path():
- 
- 
- def test_load_ssl_config_verify_existing_file():
--context = httpx.create_ssl_context(verify=certifi.where())
-+context = 
httpx.create_ssl_context(verify="/etc/ssl/certs/ca-certificates.crt")
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
- 
-@@ -44,7 +43,7 @@ def test_load_ssl_config_verify_env_file(
- 
- 
- def test_load_ssl_config_verify_directory():
--path = Path(certifi.where()).parent
-+path = Path("/etc/ssl/certs/ca-certificates.crt").parent
- context = httpx.create_ssl_context(verify=str(path))
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
--- 
-2.28.0
-

Copied: 
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
 (from rev 966713, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
(rev 0)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2021-06-22 03:04:44 UTC (rev 966714)
@@ -0,0 +1,87 @@
+From f2d28b9a35572134b336bcc6e347659cf0504be6 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Mon, 13 Jul 2020 11:29:54 -0400
+Subject: [PATCH] Do not override the system SSL certificates with the certifi
+ bundle.
+
+We need to respect the system certification policy, and by default the
+ssl module will use our packaged ca-certificates.
+
+ssl.create_default_context(cafile=None) is 

[arch-commits] Commit in python-httpx/repos/community-any (4 files)

2021-05-07 Thread Maxime Gauduin via arch-commits
Date: Friday, May 7, 2021 @ 09:41:16
  Author: alucryd
Revision: 928581

archrelease: copy trunk to community-any

Added:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
(from rev 928580, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
  python-httpx/repos/community-any/PKGBUILD
(from rev 928580, python-httpx/trunk/PKGBUILD)
Deleted:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
  python-httpx/repos/community-any/PKGBUILD

-+
 0001-Do-not-override-the-system-SSL-certificates-with-the.patch |  174 
+-
 PKGBUILD|   92 ++---
 2 files changed, 133 insertions(+), 133 deletions(-)

Deleted: 0001-Do-not-override-the-system-SSL-certificates-with-the.patch
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2021-05-07 09:41:10 UTC (rev 928580)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2021-05-07 09:41:16 UTC (rev 928581)
@@ -1,87 +0,0 @@
-From d03e57b75c2eb8a3696b6dd9a5f84aba4f01280c Mon Sep 17 00:00:00 2001
-From: Eli Schwartz 
-Date: Mon, 13 Jul 2020 11:29:54 -0400
-Subject: [PATCH] Do not override the system SSL certificates with the certifi
- bundle.
-
-We need to respect the system certification policy, and by default the
-ssl module will use our packaged ca-certificates.
-
-ssl.create_default_context(cafile=None) is the default to use the
-builtin (system) certs, but due to the sorcery which this module uses to
-check how arguments are being passed, it's less invasive to simply
-hardcode the standard certificate path instead of letting python
-properly handle it.

- httpx/_config.py | 4 +---
- setup.py | 1 -
- tests/test_config.py | 5 ++---
- 3 files changed, 3 insertions(+), 7 deletions(-)
-
-diff --git a/httpx/_config.py b/httpx/_config.py
-index 8d589ea..ea256a8 100644
 a/httpx/_config.py
-+++ b/httpx/_config.py
-@@ -5,8 +5,6 @@ import warnings
- from base64 import b64encode
- from pathlib import Path
- 
--import certifi
--
- 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.
- """
- 
--DEFAULT_CA_BUNDLE_PATH = Path(certifi.where())
-+DEFAULT_CA_BUNDLE_PATH = Path("/etc/ssl/certs/ca-certificates.crt")
- 
- def __init__(
- self,
-diff --git a/setup.py b/setup.py
-index e811d2a..2eaf419 100644
 a/setup.py
-+++ b/setup.py
-@@ -55,7 +55,6 @@ setup(
- include_package_data=True,
- zip_safe=False,
- install_requires=[
--"certifi",
- "sniffio",
- "chardet==3.*",
- "rfc3986[idna2008]>=1.3,<2",
-diff --git a/tests/test_config.py b/tests/test_config.py
-index 5c68bad..a03c607 100644
 a/tests/test_config.py
-+++ b/tests/test_config.py
-@@ -3,7 +3,6 @@ import ssl
- import sys
- from pathlib import Path
- 
--import certifi
- import pytest
- 
- import httpx
-@@ -21,7 +20,7 @@ def test_load_ssl_config_verify_non_existing_path():
- 
- 
- def test_load_ssl_config_verify_existing_file():
--context = httpx.create_ssl_context(verify=certifi.where())
-+context = 
httpx.create_ssl_context(verify="/etc/ssl/certs/ca-certificates.crt")
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
- 
-@@ -44,7 +43,7 @@ def test_load_ssl_config_verify_env_file(
- 
- 
- def test_load_ssl_config_verify_directory():
--path = Path(certifi.where()).parent
-+path = Path("/etc/ssl/certs/ca-certificates.crt").parent
- context = httpx.create_ssl_context(verify=str(path))
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
--- 
-2.28.0
-

Copied: 
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
 (from rev 928580, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
(rev 0)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2021-05-07 09:41:16 UTC (rev 928581)
@@ -0,0 +1,87 @@
+From d03e57b75c2eb8a3696b6dd9a5f84aba4f01280c Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Mon, 13 Jul 2020 11:29:54 -0400
+Subject: [PATCH] Do not override the system SSL certificates with the certifi
+ bundle.
+
+We need to respect the system certification policy, and by default the
+ssl module will use our packaged ca-certificates.
+
+ssl.create_default_context(cafile=None) is the 

[arch-commits] Commit in python-httpx/repos/community-any (4 files)

2021-04-14 Thread Maxime Gauduin via arch-commits
Date: Wednesday, April 14, 2021 @ 16:11:43
  Author: alucryd
Revision: 918472

archrelease: copy trunk to community-any

Added:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
(from rev 918471, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
  python-httpx/repos/community-any/PKGBUILD
(from rev 918471, python-httpx/trunk/PKGBUILD)
Deleted:
  
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
  python-httpx/repos/community-any/PKGBUILD

-+
 0001-Do-not-override-the-system-SSL-certificates-with-the.patch |  174 
+-
 PKGBUILD|   98 ++---
 2 files changed, 133 insertions(+), 139 deletions(-)

Deleted: 0001-Do-not-override-the-system-SSL-certificates-with-the.patch
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2021-04-14 16:11:38 UTC (rev 918471)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2021-04-14 16:11:43 UTC (rev 918472)
@@ -1,87 +0,0 @@
-From d03e57b75c2eb8a3696b6dd9a5f84aba4f01280c Mon Sep 17 00:00:00 2001
-From: Eli Schwartz 
-Date: Mon, 13 Jul 2020 11:29:54 -0400
-Subject: [PATCH] Do not override the system SSL certificates with the certifi
- bundle.
-
-We need to respect the system certification policy, and by default the
-ssl module will use our packaged ca-certificates.
-
-ssl.create_default_context(cafile=None) is the default to use the
-builtin (system) certs, but due to the sorcery which this module uses to
-check how arguments are being passed, it's less invasive to simply
-hardcode the standard certificate path instead of letting python
-properly handle it.

- httpx/_config.py | 4 +---
- setup.py | 1 -
- tests/test_config.py | 5 ++---
- 3 files changed, 3 insertions(+), 7 deletions(-)
-
-diff --git a/httpx/_config.py b/httpx/_config.py
-index 8d589ea..ea256a8 100644
 a/httpx/_config.py
-+++ b/httpx/_config.py
-@@ -5,8 +5,6 @@ import warnings
- from base64 import b64encode
- from pathlib import Path
- 
--import certifi
--
- 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.
- """
- 
--DEFAULT_CA_BUNDLE_PATH = Path(certifi.where())
-+DEFAULT_CA_BUNDLE_PATH = Path("/etc/ssl/certs/ca-certificates.crt")
- 
- def __init__(
- self,
-diff --git a/setup.py b/setup.py
-index e811d2a..2eaf419 100644
 a/setup.py
-+++ b/setup.py
-@@ -55,7 +55,6 @@ setup(
- include_package_data=True,
- zip_safe=False,
- install_requires=[
--"certifi",
- "sniffio",
- "chardet==3.*",
- "rfc3986[idna2008]>=1.3,<2",
-diff --git a/tests/test_config.py b/tests/test_config.py
-index 5c68bad..a03c607 100644
 a/tests/test_config.py
-+++ b/tests/test_config.py
-@@ -3,7 +3,6 @@ import ssl
- import sys
- from pathlib import Path
- 
--import certifi
- import pytest
- 
- import httpx
-@@ -21,7 +20,7 @@ def test_load_ssl_config_verify_non_existing_path():
- 
- 
- def test_load_ssl_config_verify_existing_file():
--context = httpx.create_ssl_context(verify=certifi.where())
-+context = 
httpx.create_ssl_context(verify="/etc/ssl/certs/ca-certificates.crt")
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
- 
-@@ -44,7 +43,7 @@ def test_load_ssl_config_verify_env_file(
- 
- 
- def test_load_ssl_config_verify_directory():
--path = Path(certifi.where()).parent
-+path = Path("/etc/ssl/certs/ca-certificates.crt").parent
- context = httpx.create_ssl_context(verify=str(path))
- assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED
- assert context.check_hostname is True
--- 
-2.28.0
-

Copied: 
python-httpx/repos/community-any/0001-Do-not-override-the-system-SSL-certificates-with-the.patch
 (from rev 918471, 
python-httpx/trunk/0001-Do-not-override-the-system-SSL-certificates-with-the.patch)
===
--- 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
(rev 0)
+++ 0001-Do-not-override-the-system-SSL-certificates-with-the.patch 
2021-04-14 16:11:43 UTC (rev 918472)
@@ -0,0 +1,87 @@
+From d03e57b75c2eb8a3696b6dd9a5f84aba4f01280c Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Mon, 13 Jul 2020 11:29:54 -0400
+Subject: [PATCH] Do not override the system SSL certificates with the certifi
+ bundle.
+
+We need to respect the system certification policy, and by default the
+ssl module will use our packaged ca-certificates.
+
+ssl.create_default_context(cafile=None) is