Skip to content

Commit 4433657

Browse files
authored
Merge pull request #2055 from apache/chore/deps-update
Update dev dependencies, fix typos
2 parents 973f891 + 0a5acdc commit 4433657

File tree

20 files changed

+31
-24
lines changed

20 files changed

+31
-24
lines changed

.github/workflows/publish_dev_artifact.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,20 @@ jobs:
5151
ls -la dist | grep .tar.gz
5252
ls -la dist | grep .whl
5353
54-
- name: Store dev artifacts
54+
- name: Store dev artifacts - .tar.gz
5555
uses: actions/upload-artifact@v4
5656
with:
57-
name: libcloud-dev-artifacts
57+
name: libcloud-dev-tarball
5858
retention-days: 60
59+
compression-level: 0
5960
path: |
6061
dist/*.tar.gz
62+
63+
- name: Store dev artifacts - .whl
64+
uses: actions/upload-artifact@v4
65+
with:
66+
name: libcloud-dev-wheel
67+
retention-days: 60
68+
compression-level: 0
69+
path: |
6170
dist/*.whl

libcloud/common/openstack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def _set_up_connection_info(self, url):
362362
new_conn = (self.host, self.port, self.secure)
363363
if new_conn != prev_conn:
364364
# We only call connect in case connection details have changed - this way we correctly
365-
# re-use connection in case nothing has changed
365+
# reuse connection in case nothing has changed
366366
self.connect()
367367

368368
def _populate_hosts_and_request_paths(self):

libcloud/common/openstack_identity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class OpenStackAuthenticationCache:
9090
:class:`OpenStackAuthenticationCache` in
9191
OpenStackIdentityConnection.auth_cache.
9292
93-
Cache implementors should inherit this class and define the methods below.
93+
Cache implementers should inherit this class and define the methods below.
9494
"""
9595

9696
def get(self, key):

libcloud/compute/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ def _run_deployment_script(self, task, node, ssh_client, max_tries=3):
19471947

19481948
if "ssh session not active" in str(e).lower():
19491949
# Sometimes connection gets closed or disconnected half
1950-
# way through for wahtever reason.
1950+
# way through for whatever reason.
19511951
# If this happens, we try to re-connect before
19521952
# re-attempting to run the step.
19531953
try:

libcloud/compute/deployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def run(self, node, client):
197197
"""
198198
self.name = cast(str, self.name)
199199
file_path = client.put(path=self.name, chmod=int("755", 8), contents=self.script)
200-
# Pre-pend cwd if user specified a relative path
200+
# Prepend cwd if user specified a relative path
201201
if self.name and (self.name[0] not in ["/", "\\"] and not re.match(r"^\w\:.*$", file_path)):
202202
base_path = os.path.dirname(file_path)
203203
name = os.path.join(base_path, self.name)

libcloud/compute/drivers/ec2.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,9 +1650,7 @@ def create_node(
16501650
params["SecurityGroup.%d" % (sig + 1,)] = security_groups[sig]
16511651

16521652
if ex_security_group_ids and not ex_subnet:
1653-
raise ValueError(
1654-
"You can only supply ex_security_group_ids" " combinated with ex_subnet"
1655-
)
1653+
raise ValueError("You can only supply ex_security_group_ids" " combined with ex_subnet")
16561654

16571655
security_group_ids = ex_security_group_ids
16581656
security_group_id_params = {}

libcloud/compute/drivers/gce.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def _merge_response_items(self, list_name, response_list):
229229
"""
230230
Take a list of API responses ("item"-portion only) and combine them.
231231
232-
Helper function to combine multiple aggegrated responses into a single
232+
Helper function to combine multiple aggregated responses into a single
233233
dictionary that resembles an API response.
234234
235235
Note: keys that don't have a 'list_name" key (including warnings)

libcloud/compute/drivers/kubevirt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ def create_node(
956956
be used for the creation of the
957957
Persistent Volume Claim.
958958
Make sure it allows for
959-
dymamic provisioning.
959+
dynamic provisioning.
960960
- optional:
961961
- access_mode: default is ReadWriteOnce
962962
- volume_mode: default is `Filesystem`, it can also be `Block`

libcloud/compute/drivers/outscale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5427,7 +5427,7 @@ def ex_link_private_ips(
54275427
:type private_ips: ``list`` of ``str``
54285428
54295429
:param secondary_private_ip_count: The secondary private IP a
5430-
ddress or addresses you want to assign to the NIC within the IP
5430+
address or addresses you want to assign to the NIC within the IP
54315431
address range of the Subnet.
54325432
:type secondary_private_ip_count: ``int``
54335433

libcloud/compute/drivers/vcloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ def destroy_node(self, node):
707707
self._wait_for_task_completion(res.object.get("href"))
708708
except ExpatError:
709709
# The undeploy response is malformed XML atm.
710-
# We can remove this whent he providers fix the problem.
710+
# We can remove this when the providers fix the problem.
711711
pass
712712
except Exception:
713713
# Some vendors don't implement undeploy at all yet,

0 commit comments

Comments
 (0)