Update to 20.3.0 (#1914641)
parent
6146c7b4f5
commit
acb80f1b48
@ -0,0 +1,38 @@
|
||||
From bd1bf597199a209b70bddec3cdaa64a9e4902cfa Mon Sep 17 00:00:00 2001
|
||||
From: Lumir Balhar <lbalhar@redhat.com>
|
||||
Date: Tue, 12 Jan 2021 08:09:38 +0100
|
||||
Subject: [PATCH] Remove pip_cert fixture
|
||||
|
||||
---
|
||||
tests/conftest.py | 15 ---------------
|
||||
1 file changed, 15 deletions(-)
|
||||
|
||||
diff --git a/tests/conftest.py b/tests/conftest.py
|
||||
index 4b91773..7b9628c 100644
|
||||
--- a/tests/conftest.py
|
||||
+++ b/tests/conftest.py
|
||||
@@ -148,21 +148,6 @@ def ignore_global_config(tmp_path_factory):
|
||||
yield
|
||||
|
||||
|
||||
-@pytest.fixture(autouse=True, scope="session")
|
||||
-def pip_cert(tmp_path_factory):
|
||||
- # workaround for https://github.com/pypa/pip/issues/8984 - if the certificate is explicitly set no error can happen
|
||||
- key = ensure_str("PIP_CERT")
|
||||
- if key in os.environ:
|
||||
- return
|
||||
- cert = tmp_path_factory.mktemp("folder") / "cert"
|
||||
- import pkgutil
|
||||
-
|
||||
- cert_data = pkgutil.get_data("pip._vendor.certifi", "cacert.pem")
|
||||
- cert.write_bytes(cert_data)
|
||||
- with change_os_environ(key, str(cert)):
|
||||
- yield
|
||||
-
|
||||
-
|
||||
@pytest.fixture(autouse=True)
|
||||
def check_os_environ_stable():
|
||||
old = os.environ.copy()
|
||||
--
|
||||
2.29.2
|
||||
|
@ -1 +1 @@
|
||||
SHA512 (virtualenv-20.2.1.tar.gz) = e7877a9766bc47f47a07219258201ad8457ca587a04d61119a0516da43016dda4b5cfeaf725dd0b06f1f896ac8af0f3d7a2ceed3d3f35ac7a4b6ecc607c84118
|
||||
SHA512 (virtualenv-20.3.0.tar.gz) = 5703a934d373d88670092febf26782f65303c65de93cffdd1a2ca06d6f2de4868378421f3ad96e3857eb99d0b60e7a77b0a2dbcf10561918efcbadb29a4ebf3b
|
||||
|
Loading…
Reference in new issue