pulumi-hcloud 1.22.0a1739339434__py3-none-any.whl → 1.22.0a1739425782__py3-none-any.whl

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.
@@ -89,12 +89,16 @@ def _get_semver_version():
89
89
  elif pep440_version.pre_tag == 'rc':
90
90
  prerelease = f"rc.{pep440_version.pre}"
91
91
  elif pep440_version.dev is not None:
92
+ # PEP440 has explicit support for dev builds, while semver encodes them as "prerelease" versions. To bridge
93
+ # between the two, we convert our dev build version into a prerelease tag. This matches what all of our other
94
+ # packages do when constructing their own semver string.
92
95
  prerelease = f"dev.{pep440_version.dev}"
96
+ elif pep440_version.local is not None:
97
+ # PEP440 only allows a small set of prerelease tags, so when converting an arbitrary prerelease,
98
+ # PypiVersion in /pkg/codegen/python/utilities.go converts it to a local version. Therefore, we need to
99
+ # do the reverse conversion here and set the local version as the prerelease tag.
100
+ prerelease = pep440_version.local
93
101
 
94
- # The only significant difference between PEP440 and semver as it pertains to us is that PEP440 has explicit support
95
- # for dev builds, while semver encodes them as "prerelease" versions. In order to bridge between the two, we convert
96
- # our dev build version into a prerelease tag. This matches what all of our other packages do when constructing
97
- # their own semver string.
98
102
  return SemverVersion(major=major, minor=minor, patch=patch, prerelease=prerelease)
99
103
 
100
104
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "hcloud",
4
- "version": "1.22.0-alpha.1739339434"
4
+ "version": "1.22.0-alpha.1739425782"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pulumi_hcloud
3
- Version: 1.22.0a1739339434
3
+ Version: 1.22.0a1739425782
4
4
  Summary: A Pulumi package for creating and managing hcloud cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -1,6 +1,6 @@
1
1
  pulumi_hcloud/__init__.py,sha256=1sBKVfYXaAAjoPydg7dg9RCL0NwkQo0AjUngGqPbvAQ,6074
2
2
  pulumi_hcloud/_inputs.py,sha256=WlVKvGUhGYGoBed2RWJehd7hsPOricjhZQAmI2P_0n4,37675
3
- pulumi_hcloud/_utilities.py,sha256=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
3
+ pulumi_hcloud/_utilities.py,sha256=yyuODPikZ9pto3JWJRfMJo98dWmQ5_y45-TVcZG_K8Y,10807
4
4
  pulumi_hcloud/certificate.py,sha256=bYDdezxWvfaUeO2WA3mOHsvCjdn8LUg5CITGCgCqciM,14164
5
5
  pulumi_hcloud/firewall.py,sha256=Wr0JCpCcPjln0K11Q9OTmqE5j10W7LNCngYRGmpS1T4,15000
6
6
  pulumi_hcloud/firewall_attachment.py,sha256=0J68b88TWrFeqBO-mmrP2qYqlicuU_tq1t7wiv6yABA,13924
@@ -48,7 +48,7 @@ pulumi_hcloud/outputs.py,sha256=g2XTfctv1hHFEbX0Vx1MgClkp6ET0jUhckq3gY6fmus,8716
48
48
  pulumi_hcloud/placement_group.py,sha256=1Fsln7YuJrkngFDWu2DWyoCfVkYg-wY4x0_WLzXA3RM,11696
49
49
  pulumi_hcloud/primary_ip.py,sha256=1aIh8vzTeZ83bcr9hQa6SSMGTBpBgZJ3gHqGHpMzWVM,27620
50
50
  pulumi_hcloud/provider.py,sha256=Jw8xKT08pJiSbhWzqso4gLrWo54k1uvoCze5HIHZFjs,9091
51
- pulumi_hcloud/pulumi-plugin.json,sha256=Ooep5RE-QO6ztHuLVvgqfdpOoL-2btsEprit78hZQ44,83
51
+ pulumi_hcloud/pulumi-plugin.json,sha256=fXGKbQezabT5fchvzeuZUofBIGe7Pq-YQu5DKZLGsgk,83
52
52
  pulumi_hcloud/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
53
  pulumi_hcloud/rdns.py,sha256=W3QJq44BKkbVvINzhnjcKWM8JrsHGI4OOiu4upwgYcM,21520
54
54
  pulumi_hcloud/server.py,sha256=w6wXfMZaVxjp6lQgzCox21x87ufaROKIRk7Q-uZH6Vg,71410
@@ -61,7 +61,7 @@ pulumi_hcloud/volume_attachment.py,sha256=p_D_KUzbZKGzNG620GC49oVQd05YV7qge8XXwT
61
61
  pulumi_hcloud/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
62
62
  pulumi_hcloud/config/__init__.pyi,sha256=2EjDsBZ7-A0tF1fn3DHDv597aXmwwig2eLRtqSElp9Q,1048
63
63
  pulumi_hcloud/config/vars.py,sha256=p-bMQxLGvw7_95R-cEOhkadIYqdZI6MXJwD5zkbLqHY,1547
64
- pulumi_hcloud-1.22.0a1739339434.dist-info/METADATA,sha256=IuQ5JOEhQIQ3RNCYGL2TQv7rFtX73r66VMhNcJSlYKQ,2120
65
- pulumi_hcloud-1.22.0a1739339434.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
66
- pulumi_hcloud-1.22.0a1739339434.dist-info/top_level.txt,sha256=1P62wdJ9bVotT2lSpU9iMUl24bR9TwEGl2JyhNg4Xy8,14
67
- pulumi_hcloud-1.22.0a1739339434.dist-info/RECORD,,
64
+ pulumi_hcloud-1.22.0a1739425782.dist-info/METADATA,sha256=LX9a-pqxEX8r89snT-BE_FnMGOZMPu_C_kFyNaypaOw,2120
65
+ pulumi_hcloud-1.22.0a1739425782.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
66
+ pulumi_hcloud-1.22.0a1739425782.dist-info/top_level.txt,sha256=1P62wdJ9bVotT2lSpU9iMUl24bR9TwEGl2JyhNg4Xy8,14
67
+ pulumi_hcloud-1.22.0a1739425782.dist-info/RECORD,,