parent
8a1b75f3f5
commit
3f046a3699
@ -1,41 +0,0 @@
|
|||||||
diff -ru apache-libcloud-2.2.1/libcloud/compute/drivers/azure.py apache-libcloud-2.2.1_patched/libcloud/compute/drivers/azure.py
|
|
||||||
--- apache-libcloud-2.2.1/libcloud/compute/drivers/azure.py 2017-09-05 17:30:14.000000000 +0200
|
|
||||||
+++ apache-libcloud-2.2.1_patched/libcloud/compute/drivers/azure.py 2018-07-16 14:43:35.384935707 +0200
|
|
||||||
@@ -1435,7 +1435,7 @@
|
|
||||||
|
|
||||||
return response
|
|
||||||
|
|
||||||
- def _perform_post(self, path, body, response_type=None, async=False):
|
|
||||||
+ def _perform_post(self, path, body, response_type=None, **kwargs):
|
|
||||||
request = AzureHTTPRequest()
|
|
||||||
request.method = 'POST'
|
|
||||||
request.host = AZURE_SERVICE_MANAGEMENT_HOST
|
|
||||||
@@ -1447,7 +1447,7 @@
|
|
||||||
|
|
||||||
return response
|
|
||||||
|
|
||||||
- def _perform_put(self, path, body, response_type=None, async=False):
|
|
||||||
+ def _perform_put(self, path, body, response_type=None, **kwargs):
|
|
||||||
request = AzureHTTPRequest()
|
|
||||||
request.method = 'PUT'
|
|
||||||
request.host = AZURE_SERVICE_MANAGEMENT_HOST
|
|
||||||
@@ -1459,7 +1459,8 @@
|
|
||||||
|
|
||||||
return response
|
|
||||||
|
|
||||||
- def _perform_delete(self, path, async=False):
|
|
||||||
+ def _perform_delete(self, path, **kwargs):
|
|
||||||
+ asynch = kwargs.get("async", False)
|
|
||||||
request = AzureHTTPRequest()
|
|
||||||
request.method = 'DELETE'
|
|
||||||
request.host = AZURE_SERVICE_MANAGEMENT_HOST
|
|
||||||
@@ -1470,7 +1471,7 @@
|
|
||||||
|
|
||||||
self.raise_for_response(response, 202)
|
|
||||||
|
|
||||||
- if async:
|
|
||||||
+ if asynch:
|
|
||||||
return self._parse_response_for_async_op(response)
|
|
||||||
|
|
||||||
def _perform_request(self, request):
|
|
||||||
Only in apache-libcloud-2.2.1_patched/libcloud/compute/drivers: .azure.py.swp
|
|
@ -0,0 +1,46 @@
|
|||||||
|
diff -up apache-libcloud-3.6.0/requirements-tests.txt_patched apache-libcloud-3.6.0/requirements-tests.txt
|
||||||
|
--- apache-libcloud-3.6.0/requirements-tests.txt_patched 2022-07-30 21:45:35.012824729 -0500
|
||||||
|
+++ apache-libcloud-3.6.0/requirements-tests.txt 2022-07-30 21:47:05.510409349 -0500
|
||||||
|
@@ -1,15 +1,2 @@
|
||||||
|
-pep8==1.7.1
|
||||||
|
-flake8==4.0.1
|
||||||
|
-astroid==2.11.4
|
||||||
|
-pylint==2.13.8
|
||||||
|
-codecov==2.1.12
|
||||||
|
-coverage==4.5.4
|
||||||
|
requests>=2.27.1
|
||||||
|
requests_mock==1.9.3
|
||||||
|
-pytest==7.0.1
|
||||||
|
-pytest-xdist==2.5.0
|
||||||
|
-pytest-benchmark[histogram]==3.4.1
|
||||||
|
-cryptography==36.0.1
|
||||||
|
-# NOTE: Only needed by nttcis loadbalancer driver
|
||||||
|
-pyopenssl==21.0.0
|
||||||
|
-more-itertools==8.11.0
|
||||||
|
diff -up apache-libcloud-3.6.0/tox.ini_patched apache-libcloud-3.6.0/tox.ini
|
||||||
|
--- apache-libcloud-3.6.0/tox.ini_patched 2022-07-30 21:45:44.749995227 -0500
|
||||||
|
+++ apache-libcloud-3.6.0/tox.ini 2022-07-30 21:47:34.183911411 -0500
|
||||||
|
@@ -9,7 +9,6 @@ passenv = TERM CI GITHUB_* DOCKER_*
|
||||||
|
deps =
|
||||||
|
-r{toxinidir}/requirements-tests.txt
|
||||||
|
fasteners
|
||||||
|
- libvirt-python==7.9.0
|
||||||
|
basepython =
|
||||||
|
pypypy3: pypy3
|
||||||
|
pypyjion: pyjion
|
||||||
|
@@ -323,7 +322,6 @@ deps =
|
||||||
|
paramiko==2.9.2
|
||||||
|
pyopenssl==21.0.0
|
||||||
|
python-dateutil
|
||||||
|
- libvirt-python==7.9.0
|
||||||
|
fasteners
|
||||||
|
setenv =
|
||||||
|
CRYPTOGRAPHY_ALLOW_OPENSSL_102=1
|
||||||
|
@@ -336,7 +334,6 @@ deps =
|
||||||
|
-r{toxinidir}/requirements-tests.txt
|
||||||
|
paramiko==2.9.2
|
||||||
|
pyopenssl==21.0.0
|
||||||
|
- libvirt-python==7.9.0
|
||||||
|
fasteners
|
||||||
|
setenv =
|
||||||
|
CRYPTOGRAPHY_ALLOW_OPENSSL_102=1
|
@ -1 +1,2 @@
|
|||||||
SHA512 (apache-libcloud-2.2.1.tar.gz) = 97dc044d07888320655ea0cc16e21f61550f2c52a17464a45e6701841c03de315e94e520e50e112456869d2ae0c88e5c11175157660d1e81f2477f92ece0cb97
|
SHA512 (apache-libcloud-2.2.1.tar.gz) = 97dc044d07888320655ea0cc16e21f61550f2c52a17464a45e6701841c03de315e94e520e50e112456869d2ae0c88e5c11175157660d1e81f2477f92ece0cb97
|
||||||
|
SHA512 (apache-libcloud-3.6.0.tar.gz) = 40e49ec8adc1fde2d320286648d669369abd56d2fa94c9c8b646a324f4831f7b07bc2268d673d35b34bfe76825c71740f43083e06121d1f4259e84c59a1fb5c6
|
||||||
|
Loading…
Reference in new issue