diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/botocore/files | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/botocore/files')
| -rw-r--r-- | dev-python/botocore/files/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch | 32 | ||||
| -rw-r--r-- | dev-python/botocore/files/botocore-1.16.7-unlock-deps.patch | 27 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/botocore/files/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch b/dev-python/botocore/files/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch new file mode 100644 index 000000000000..49fd3adef376 --- /dev/null +++ b/dev-python/botocore/files/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch @@ -0,0 +1,32 @@ +From 78077a5e80c9ad5f909037a48100481ddfedc6b2 Mon Sep 17 00:00:00 2001 +From: Andrey Utkin <andrey_utkin@gentoo.org> +Date: Wed, 13 Dec 2017 01:50:03 +0000 +Subject: [PATCH] tests: pass all env vars to cmd-runner + +cmd-runner was started with no environment variables inherited. +This breaks tests when run with custom PYTHONPATH, which is useful for +testing botocore while not being installed in standard locations. + +One case when this is important is performing tests before installing +the package in Gentoo Linux. + +Link: https://bugs.gentoo.org/640726 +--- + tests/__init__.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/__init__.py b/tests/__init__.py +index 74a2e4de..fa0b819b 100644 +--- a/tests/__init__.py ++++ b/tests/__init__.py +@@ -145,6 +145,7 @@ class BaseClientDriverTest(unittest.TestCase): + if self.INJECT_DUMMY_CREDS: + env = {'AWS_ACCESS_KEY_ID': 'foo', + 'AWS_SECRET_ACCESS_KEY': 'bar'} ++ env.update(os.environ) + self.driver.start(env=env) + + def cmd(self, *args): +-- +2.15.1 + diff --git a/dev-python/botocore/files/botocore-1.16.7-unlock-deps.patch b/dev-python/botocore/files/botocore-1.16.7-unlock-deps.patch new file mode 100644 index 000000000000..1dbb890fbced --- /dev/null +++ b/dev-python/botocore/files/botocore-1.16.7-unlock-deps.patch @@ -0,0 +1,27 @@ +diff --git a/setup.py b/setup.py +index edc35789..94545b8d 100644 +--- a/setup.py ++++ b/setup.py +@@ -24,17 +24,17 @@ def find_version(*file_paths): + + + requires = [ +- 'jmespath>=0.7.1,<1.0.0', +- 'docutils>=0.10,<0.16', +- 'python-dateutil>=2.1,<3.0.0', ++ 'jmespath', ++ 'docutils', ++ 'python-dateutil', + ] + + + if sys.version_info[:2] == (3, 4): + # urllib3 dropped support for python 3.4 in point release 1.25.8 +- requires.append('urllib3>=1.20,<1.25.8') ++ requires.append('urllib3') + else: +- requires.append('urllib3>=1.20,<1.26') ++ requires.append('urllib3') + + + |
