cloudpub 1.5.0__tar.gz → 1.7.0__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.
Files changed (33) hide show
  1. {cloudpub-1.5.0/cloudpub.egg-info → cloudpub-1.7.0}/PKG-INFO +17 -2
  2. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/error.py +4 -0
  3. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/models/ms_azure.py +11 -1
  4. cloudpub-1.7.0/cloudpub/ms_azure/service.py +981 -0
  5. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/ms_azure/session.py +4 -4
  6. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/ms_azure/utils.py +68 -116
  7. {cloudpub-1.5.0 → cloudpub-1.7.0/cloudpub.egg-info}/PKG-INFO +17 -2
  8. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub.egg-info/SOURCES.txt +4 -1
  9. cloudpub-1.7.0/requirements.txt +187 -0
  10. {cloudpub-1.5.0 → cloudpub-1.7.0}/setup.py +1 -1
  11. cloudpub-1.7.0/tests/test_common.py +38 -0
  12. cloudpub-1.7.0/tests/test_models.py +34 -0
  13. cloudpub-1.7.0/tests/test_utils.py +19 -0
  14. cloudpub-1.5.0/cloudpub/ms_azure/service.py +0 -666
  15. cloudpub-1.5.0/requirements.txt +0 -166
  16. {cloudpub-1.5.0 → cloudpub-1.7.0}/LICENSE +0 -0
  17. {cloudpub-1.5.0 → cloudpub-1.7.0}/MANIFEST.in +0 -0
  18. {cloudpub-1.5.0 → cloudpub-1.7.0}/README.md +0 -0
  19. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/__init__.py +0 -0
  20. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/aws/__init__.py +0 -0
  21. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/aws/service.py +0 -0
  22. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/aws/utils.py +0 -0
  23. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/common.py +0 -0
  24. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/models/__init__.py +0 -0
  25. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/models/aws.py +0 -0
  26. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/models/common.py +0 -0
  27. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/ms_azure/__init__.py +0 -0
  28. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub/utils.py +0 -0
  29. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub.egg-info/dependency_links.txt +0 -0
  30. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub.egg-info/not-zip-safe +0 -0
  31. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub.egg-info/requires.txt +0 -0
  32. {cloudpub-1.5.0 → cloudpub-1.7.0}/cloudpub.egg-info/top_level.txt +0 -0
  33. {cloudpub-1.5.0 → cloudpub-1.7.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: cloudpub
3
- Version: 1.5.0
3
+ Version: 1.7.0
4
4
  Summary: Services for publishing products in cloud environments
5
5
  Home-page: https://github.com/release-engineering/cloudpub
6
6
  Author: Jonathan Gangi
@@ -13,3 +13,18 @@ Classifier: Programming Language :: Python :: 3.11
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Classifier: Programming Language :: Python :: 3.13
15
15
  License-File: LICENSE
16
+ Requires-Dist: attrs
17
+ Requires-Dist: deepdiff
18
+ Requires-Dist: requests
19
+ Requires-Dist: tenacity
20
+ Requires-Dist: packaging
21
+ Requires-Dist: boto3>=1.34.117
22
+ Dynamic: author
23
+ Dynamic: author-email
24
+ Dynamic: classifier
25
+ Dynamic: home-page
26
+ Dynamic: keywords
27
+ Dynamic: license
28
+ Dynamic: license-file
29
+ Dynamic: requires-dist
30
+ Dynamic: summary
@@ -21,5 +21,9 @@ class NotFoundError(ValueError):
21
21
  """Represent a missing resource."""
22
22
 
23
23
 
24
+ class ConflictError(RuntimeError):
25
+ """Report a submission conflict error."""
26
+
27
+
24
28
  class Timeout(Exception):
25
29
  """Represent a missing resource."""
@@ -711,11 +711,21 @@ class ProductProperty(AzureProductLinkedResource):
711
711
  `Schema definition for ProductProperty <https://schema.mp.microsoft.com/schema/property/2022-03-01-preview2>`_
712
712
  """ # noqa E501
713
713
 
714
+ schema: str = field(
715
+ validator=instance_of(str),
716
+ metadata={
717
+ "alias": MS_SCHEMA,
718
+ "const": "https://schema.mp.microsoft.com/schema/property/2022-03-01-preview2",
719
+ },
720
+ )
721
+ """
722
+ The `resource schema`_ for Graph API."""
723
+
714
724
  kind: str
715
725
  """Expected to be ``azureVM``"""
716
726
 
717
727
  terms_of_use: Optional[str] = field(
718
- validator=optional(instance_of(str)), metadata={"alias": "termsOfUse"}
728
+ validator=optional(instance_of(str)), metadata={"alias": "termsOfUseUrl"}
719
729
  )
720
730
  """The product terms of use."""
721
731