cloudpub 1.3.2__tar.gz → 1.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cloudpub-1.3.2/cloudpub.egg-info → cloudpub-1.3.3}/PKG-INFO +1 -1
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/ms_azure/utils.py +11 -6
- {cloudpub-1.3.2 → cloudpub-1.3.3/cloudpub.egg-info}/PKG-INFO +1 -1
- {cloudpub-1.3.2 → cloudpub-1.3.3}/requirements.txt +18 -18
- {cloudpub-1.3.2 → cloudpub-1.3.3}/setup.py +1 -1
- {cloudpub-1.3.2 → cloudpub-1.3.3}/LICENSE +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/MANIFEST.in +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/README.md +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/__init__.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/aws/__init__.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/aws/service.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/aws/utils.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/common.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/error.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/models/__init__.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/models/aws.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/models/common.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/models/ms_azure.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/ms_azure/__init__.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/ms_azure/service.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/ms_azure/session.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub/utils.py +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub.egg-info/SOURCES.txt +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub.egg-info/dependency_links.txt +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub.egg-info/not-zip-safe +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub.egg-info/requires.txt +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/cloudpub.egg-info/top_level.txt +0 -0
- {cloudpub-1.3.2 → cloudpub-1.3.3}/setup.cfg +0 -0
|
@@ -262,11 +262,16 @@ def prepare_vm_images(
|
|
|
262
262
|
return [VMImageDefinition.from_json(json_gen1)]
|
|
263
263
|
|
|
264
264
|
|
|
265
|
-
def
|
|
266
|
-
|
|
267
|
-
for
|
|
268
|
-
|
|
269
|
-
|
|
265
|
+
def _all_skus_present(old_skus: List[VMISku], disk_versions: List[DiskVersion]) -> bool:
|
|
266
|
+
image_types = set()
|
|
267
|
+
for sku in old_skus:
|
|
268
|
+
image_types.add(sku.image_type)
|
|
269
|
+
|
|
270
|
+
for dv in disk_versions:
|
|
271
|
+
for img in dv.vm_images:
|
|
272
|
+
if img.image_type not in image_types:
|
|
273
|
+
return False
|
|
274
|
+
return True
|
|
270
275
|
|
|
271
276
|
|
|
272
277
|
def _build_skus(
|
|
@@ -352,7 +357,7 @@ def update_skus(
|
|
|
352
357
|
|
|
353
358
|
# If we have SKUs for each image we don't need to update them as they're already
|
|
354
359
|
# properly set.
|
|
355
|
-
if
|
|
360
|
+
if _all_skus_present(old_skus, disk_versions):
|
|
356
361
|
return old_skus
|
|
357
362
|
|
|
358
363
|
# Update SKUs to create the alternate gen.
|
|
@@ -8,13 +8,13 @@ attrs==25.3.0 \
|
|
|
8
8
|
--hash=sha256:427318ce031701fea540783410126f03899a97ffc6f61596ad581ac2e40e3bc3 \
|
|
9
9
|
--hash=sha256:75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b
|
|
10
10
|
# via cloudpub (setup.py)
|
|
11
|
-
boto3==1.37.
|
|
12
|
-
--hash=sha256:
|
|
13
|
-
--hash=sha256:
|
|
11
|
+
boto3==1.37.37 \
|
|
12
|
+
--hash=sha256:752d31105a45e3e01c8c68471db14ae439990b75a35e72b591ca528e2575b28f \
|
|
13
|
+
--hash=sha256:d125cb11e22817f7a2581bade4bf7b75247b401888890239ceb5d3e902ccaf38
|
|
14
14
|
# via cloudpub (setup.py)
|
|
15
|
-
botocore==1.37.
|
|
16
|
-
--hash=sha256:
|
|
17
|
-
--hash=sha256:
|
|
15
|
+
botocore==1.37.37 \
|
|
16
|
+
--hash=sha256:3eadde6fed95c4cb469cc39d1c3558528b7fa76d23e7e16d4bddc77250431a64 \
|
|
17
|
+
--hash=sha256:eb730ff978f47c02f0c8ed07bccdc0db6d8fa098ed32ac31bee1da0e9be480d1
|
|
18
18
|
# via
|
|
19
19
|
# boto3
|
|
20
20
|
# s3transfer
|
|
@@ -130,13 +130,13 @@ jmespath==1.0.1 \
|
|
|
130
130
|
# via
|
|
131
131
|
# boto3
|
|
132
132
|
# botocore
|
|
133
|
-
orderly-set==5.
|
|
134
|
-
--hash=sha256:
|
|
135
|
-
--hash=sha256:
|
|
133
|
+
orderly-set==5.4.0 \
|
|
134
|
+
--hash=sha256:c8ff5ba824abe4eebcbbdd3f646ff3648ad0dd52239319d90056d8d30b6cccdd \
|
|
135
|
+
--hash=sha256:f0192a7f9ae3385b587b71688353fae491d1ca45878496eb71ea118be1623639
|
|
136
136
|
# via deepdiff
|
|
137
|
-
packaging==
|
|
138
|
-
--hash=sha256:
|
|
139
|
-
--hash=sha256:
|
|
137
|
+
packaging==25.0 \
|
|
138
|
+
--hash=sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484 \
|
|
139
|
+
--hash=sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f
|
|
140
140
|
# via cloudpub (setup.py)
|
|
141
141
|
python-dateutil==2.9.0.post0 \
|
|
142
142
|
--hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \
|
|
@@ -146,17 +146,17 @@ requests==2.32.3 \
|
|
|
146
146
|
--hash=sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760 \
|
|
147
147
|
--hash=sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6
|
|
148
148
|
# via cloudpub (setup.py)
|
|
149
|
-
s3transfer==0.11.
|
|
150
|
-
--hash=sha256:
|
|
151
|
-
--hash=sha256:
|
|
149
|
+
s3transfer==0.11.5 \
|
|
150
|
+
--hash=sha256:757af0f2ac150d3c75bc4177a32355c3862a98d20447b69a0161812992fe0bd4 \
|
|
151
|
+
--hash=sha256:8c8aad92784779ab8688a61aefff3e28e9ebdce43142808eaa3f0b0f402f68b7
|
|
152
152
|
# via boto3
|
|
153
153
|
six==1.17.0 \
|
|
154
154
|
--hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \
|
|
155
155
|
--hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
|
|
156
156
|
# via python-dateutil
|
|
157
|
-
tenacity==9.
|
|
158
|
-
--hash=sha256:
|
|
159
|
-
--hash=sha256:
|
|
157
|
+
tenacity==9.1.2 \
|
|
158
|
+
--hash=sha256:1169d376c297e7de388d18b4481760d478b0e99a777cad3a9c86e556f4b697cb \
|
|
159
|
+
--hash=sha256:f77bf36710d8b73a50b2dd155c97b870017ad21afe6ab300326b0371b3b05138
|
|
160
160
|
# via cloudpub (setup.py)
|
|
161
161
|
urllib3==1.26.20 \
|
|
162
162
|
--hash=sha256:0ed14ccfbf1c30a9072c7ca157e4319b70d65f623e91e7b32fadb2853431016e \
|
|
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
|
|
3
3
|
setup(
|
|
4
4
|
name='cloudpub',
|
|
5
5
|
description='Services for publishing products in cloud environments',
|
|
6
|
-
version='1.3.
|
|
6
|
+
version='1.3.3',
|
|
7
7
|
keywords='stratosphere cloudpub cloudpublish',
|
|
8
8
|
author='Jonathan Gangi',
|
|
9
9
|
author_email='jgangi@redhat.com',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|