pulumi-newrelic 5.41.0a1739253780__py3-none-any.whl → 5.41.0a1739378407__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_newrelic/_utilities.py +8 -4
- pulumi_newrelic/pulumi-plugin.json +1 -1
- {pulumi_newrelic-5.41.0a1739253780.dist-info → pulumi_newrelic-5.41.0a1739378407.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.41.0a1739253780.dist-info → pulumi_newrelic-5.41.0a1739378407.dist-info}/RECORD +6 -6
- {pulumi_newrelic-5.41.0a1739253780.dist-info → pulumi_newrelic-5.41.0a1739378407.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.41.0a1739253780.dist-info → pulumi_newrelic-5.41.0a1739378407.dist-info}/top_level.txt +0 -0
pulumi_newrelic/_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
|
|
{pulumi_newrelic-5.41.0a1739253780.dist-info → pulumi_newrelic-5.41.0a1739378407.dist-info}/RECORD
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
pulumi_newrelic/__init__.py,sha256=q0NdPqgZC1kS4XOkgRZa7J_iuaWxIkMKXQfOnC5CysU,11535
|
2
2
|
pulumi_newrelic/_inputs.py,sha256=70CkqfnaV3xViBsSreQggp7UL3FKVxdDg2EgbLR5Sjg,797096
|
3
|
-
pulumi_newrelic/_utilities.py,sha256
|
3
|
+
pulumi_newrelic/_utilities.py,sha256=yyuODPikZ9pto3JWJRfMJo98dWmQ5_y45-TVcZG_K8Y,10807
|
4
4
|
pulumi_newrelic/account_management.py,sha256=qFD7xsT6kNFNY3ZEO-15E4T6mSIOQ6uw_Goqf7-NkTU,8963
|
5
5
|
pulumi_newrelic/alert_channel.py,sha256=QNF_jzaDJLKD78qxtBnDpRaAVMJigmGYQtSWuCEIC7g,21825
|
6
6
|
pulumi_newrelic/alert_condition.py,sha256=1Z6zrlx82N6hrQDpIMCAATUx4YH8oXiS1pNmGiW94bQ,46708
|
@@ -42,7 +42,7 @@ pulumi_newrelic/one_dashboard_json.py,sha256=EZqg6akwsh-SqsRjCmQzDjgsjvbIfKsX2zt
|
|
42
42
|
pulumi_newrelic/one_dashboard_raw.py,sha256=__3ZuSPVubBaC5iPa9V6q1SG7lHFcpNdVsLXQie5c7U,23668
|
43
43
|
pulumi_newrelic/outputs.py,sha256=GpBj8cVexHhJXbpzkqZBbcaOSQkLybzZ46vEKFaREPg,576475
|
44
44
|
pulumi_newrelic/provider.py,sha256=OjBqZT1L0Jt_1-c3zMSSGA03zIZjgif7RrThna-ojng,18493
|
45
|
-
pulumi_newrelic/pulumi-plugin.json,sha256=
|
45
|
+
pulumi_newrelic/pulumi-plugin.json,sha256=HGn9ah_0rhPhqx00uEFHH8ljDttZgg6FukKXmyv2eb0,85
|
46
46
|
pulumi_newrelic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
47
47
|
pulumi_newrelic/service_level.py,sha256=Dk_AoEFTmaJAg5v8SKBN4-a4T-MGXDbPubxsnB98sFk,28980
|
48
48
|
pulumi_newrelic/user.py,sha256=guVvPGAeuR-mQ6_bA_MvBP7GY2grEmnbdNkc_5hs1us,19116
|
@@ -84,7 +84,7 @@ pulumi_newrelic/synthetics/private_location.py,sha256=-pj6W9dg9fB-jtnrTH8wnd7o_j
|
|
84
84
|
pulumi_newrelic/synthetics/script_monitor.py,sha256=fwRaviLtkQ0ViK3V1W98npxcN_qBXFevwuHgHArl3m0,66220
|
85
85
|
pulumi_newrelic/synthetics/secure_credential.py,sha256=EilBGvvvqmADHo1VPeWfQkCdc2GYRO8Dq9-lktE7Y3M,15776
|
86
86
|
pulumi_newrelic/synthetics/step_monitor.py,sha256=7tqzQ9InEMRdfAr9K_vpLm-OCPHyIKEH4f8CT2BxaLQ,49116
|
87
|
-
pulumi_newrelic-5.41.
|
88
|
-
pulumi_newrelic-5.41.
|
89
|
-
pulumi_newrelic-5.41.
|
90
|
-
pulumi_newrelic-5.41.
|
87
|
+
pulumi_newrelic-5.41.0a1739378407.dist-info/METADATA,sha256=S_fcDJLzplM4Q7hXokHfHHxXQuEdYJ23sUM6ehK14Po,3963
|
88
|
+
pulumi_newrelic-5.41.0a1739378407.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
89
|
+
pulumi_newrelic-5.41.0a1739378407.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
|
90
|
+
pulumi_newrelic-5.41.0a1739378407.dist-info/RECORD,,
|
{pulumi_newrelic-5.41.0a1739253780.dist-info → pulumi_newrelic-5.41.0a1739378407.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|