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
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