pulumi-oci 2.25.0a1739255452__py3-none-any.whl → 2.25.0a1739381230__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.
pulumi_oci/_utilities.py CHANGED
@@ -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": "oci",
4
- "version": "2.25.0-alpha.1739255452"
4
+ "version": "2.25.0-alpha.1739381230"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pulumi_oci
3
- Version: 2.25.0a1739255452
3
+ Version: 2.25.0a1739381230
4
4
  Summary: A Pulumi package for creating and managing Oracle Cloud Infrastructure resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://www.pulumi.com
@@ -1,7 +1,7 @@
1
1
  pulumi_oci/__init__.py,sha256=8c_HY2V9npduKyz_pEcybWM7MadJd7hTg93bKkcSmk0,176133
2
- pulumi_oci/_utilities.py,sha256=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
2
+ pulumi_oci/_utilities.py,sha256=yyuODPikZ9pto3JWJRfMJo98dWmQ5_y45-TVcZG_K8Y,10807
3
3
  pulumi_oci/provider.py,sha256=L04-4ahVUIjPUidGY7-4m7y0-gX_oHcgpIJSRYRJET4,24096
4
- pulumi_oci/pulumi-plugin.json,sha256=1Ibj500DIRZMFmZjhkdppzBcwNrwwyyTlCbY607P6hI,80
4
+ pulumi_oci/pulumi-plugin.json,sha256=tuJEW2bppRnOhPkzoVTBLSW4NBSi4F9slO4PM_lZcGE,80
5
5
  pulumi_oci/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  pulumi_oci/adm/__init__.py,sha256=pxPlS_-eNzVJqBq2i1MCMmmLGhFhW-ATfiH6YEb71xI,1049
7
7
  pulumi_oci/adm/_inputs.py,sha256=YnlFWcwYsWjjrUbroAeHpnljrt9mAPqMtutbJnKVRCk,69792
@@ -3011,7 +3011,7 @@ pulumi_oci/zpr/get_zpr_policies.py,sha256=xRhJl8bBol1fMs5EXtqBuTMajSv3v0tm1A0a0B
3011
3011
  pulumi_oci/zpr/get_zpr_policy.py,sha256=Zx42tYwAMM6gOiNIREiyxZyMA5Gy1aAMsFHAR-zf8bg,11465
3012
3012
  pulumi_oci/zpr/outputs.py,sha256=bLQC7_On52bzTOlKVC9oF2CSxcSo7CiwTmOkBNy7MD4,8943
3013
3013
  pulumi_oci/zpr/zpr_policy.py,sha256=kRQiN_Fg_m8N1oVD93ktqQhhXv8z8y08nBKuypB_t3k,32563
3014
- pulumi_oci-2.25.0a1739255452.dist-info/METADATA,sha256=8FGajxddlIDT8UyYF5xgpVZcr7l6nIEpki6gnvzGJ80,4054
3015
- pulumi_oci-2.25.0a1739255452.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
3016
- pulumi_oci-2.25.0a1739255452.dist-info/top_level.txt,sha256=0k-nWr_IdDNVF3qcT4ALORmmu1SNCLxWZfHDMN7TWsg,11
3017
- pulumi_oci-2.25.0a1739255452.dist-info/RECORD,,
3014
+ pulumi_oci-2.25.0a1739381230.dist-info/METADATA,sha256=WZBb5pD1YB3uG7V_Xb_wdzZpcTnYDfs0XdWUj2BmvC0,4054
3015
+ pulumi_oci-2.25.0a1739381230.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
3016
+ pulumi_oci-2.25.0a1739381230.dist-info/top_level.txt,sha256=0k-nWr_IdDNVF3qcT4ALORmmu1SNCLxWZfHDMN7TWsg,11
3017
+ pulumi_oci-2.25.0a1739381230.dist-info/RECORD,,