Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37870156
en ru br
ALT Linux repositórios
S:1.31.5-alt1

Group :: Development/Python3
RPM: python3-module-botocore

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: python3-module-botocore-1.27.90-alt.patch
Download


 botocore/httpsession.py | 10 +++-------
 tox.ini                 |  4 +---
 2 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/botocore/httpsession.py b/botocore/httpsession.py
index d8094a237..9cc4646a0 100644
--- a/botocore/httpsession.py
+++ b/botocore/httpsession.py
@@ -72,14 +72,10 @@ filter_ssl_warnings()
 logger = logging.getLogger(__name__)
 DEFAULT_TIMEOUT = 60
 MAX_POOL_CONNECTIONS = 10
-DEFAULT_CA_BUNDLE = os.path.join(os.path.dirname(__file__), 'cacert.pem')
+DEFAULT_CA_BUNDLE = "/etc/pki/tls/certs/ca-bundle.crt"
 
-try:
-    from certifi import where
-except ImportError:
-
-    def where():
-        return DEFAULT_CA_BUNDLE
+def where():
+    return DEFAULT_CA_BUNDLE
 
 
 def get_cert_path(verify):
diff --git a/tox.ini b/tox.ini
index 638946ab2..1c505afc0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,9 +1,7 @@
 [tox]
 envlist = py37,py38,py39,py310
 
-skipsdist = True
-
 [testenv]
 commands =
-    {toxinidir}/scripts/ci/install
+    # {toxinidir}/scripts/ci/install
     {toxinidir}/scripts/ci/run-tests
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009