pulumi-azuredevops 3.7.0a1739251473__py3-none-any.whl → 3.7.0a1739377965__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": "azuredevops",
4
- "version": "3.7.0-alpha.1739251473"
4
+ "version": "3.7.0-alpha.1739377965"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pulumi_azuredevops
3
- Version: 3.7.0a1739251473
3
+ Version: 3.7.0a1739377965
4
4
  Summary: A Pulumi package for creating and managing Azure DevOps.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -1,6 +1,6 @@
1
1
  pulumi_azuredevops/__init__.py,sha256=HkkDBxWy5v5suT7WX-vqojik1DkTSpcQ6IBbN3w_J3I,27902
2
2
  pulumi_azuredevops/_inputs.py,sha256=IaZ7_cXGMh8gYvtuAb4fBb2_J4_EOhxQ-eUfE75H598,229534
3
- pulumi_azuredevops/_utilities.py,sha256=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
3
+ pulumi_azuredevops/_utilities.py,sha256=yyuODPikZ9pto3JWJRfMJo98dWmQ5_y45-TVcZG_K8Y,10807
4
4
  pulumi_azuredevops/area_permissions.py,sha256=j6re_QZJvTEpN_5xPYi0VVhE9mRrl6JqqgmGI7CTrJ4,23434
5
5
  pulumi_azuredevops/branch_policy_auto_reviewers.py,sha256=Nih-V9JI1nunk64RsuBO9h1a1Jap1gZfsSoyNlDZ91s,17296
6
6
  pulumi_azuredevops/branch_policy_build_validation.py,sha256=b0I3WWlYiThHctS9GZCsKSNsJFGPJzdQ1KGIghEtGp8,18564
@@ -73,7 +73,7 @@ pulumi_azuredevops/project_permissions.py,sha256=bm3iBUeTtbusTceEDL2YkqyXn6VTXx5
73
73
  pulumi_azuredevops/project_pipeline_settings.py,sha256=vqQeuzPSPrMRFN3aDq-pRFYmwlsrfLbzs8Y4rl5eb7w,26399
74
74
  pulumi_azuredevops/project_tags.py,sha256=9s9Id1RqjP3rsXnmRzojCutVC9wY9i-nY2Z1hE4FRY0,10151
75
75
  pulumi_azuredevops/provider.py,sha256=qqKeV3JDQU26YttRJ_P1mMV-1QbmcpT6wDn7kzhvb7I,29572
76
- pulumi_azuredevops/pulumi-plugin.json,sha256=lphwn9X-zDxjqq66ue644_meN2YlHYkEw9V2L4mOCFE,87
76
+ pulumi_azuredevops/pulumi-plugin.json,sha256=4CxYKElpDX26GmmHp4OBB3Yir891zQ8RssD4D2XJUI0,87
77
77
  pulumi_azuredevops/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
78
78
  pulumi_azuredevops/queue.py,sha256=o4wwAW_pIBR7wDxGhNaGsLpWKGqqHIlztR99c_gSVm4,15192
79
79
  pulumi_azuredevops/repository_policy_author_email_pattern.py,sha256=2x-PbyxE6rxiXE_OtAN20KfCiyNwWfaRJaHqd1QNv5g,21866
@@ -142,7 +142,7 @@ pulumi_azuredevops/workitem.py,sha256=b4uOR8kZly1teKoNgLmtQp59iYU9F_E4WaNmtR7exQ
142
142
  pulumi_azuredevops/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
143
143
  pulumi_azuredevops/config/__init__.pyi,sha256=bhi-Wqoygl60BB8QnHwKCaPgXZrtNwoZFx1SqCKmkGw,2384
144
144
  pulumi_azuredevops/config/vars.py,sha256=9lyVkQaBnkfIdLEfYMy4ObszQGUoSwNxcg7y_S7Yloc,4621
145
- pulumi_azuredevops-3.7.0a1739251473.dist-info/METADATA,sha256=YUImMxMRSG4-cK6YjyElkG9OD36aK40O3OMtOZgdoiU,2931
146
- pulumi_azuredevops-3.7.0a1739251473.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
147
- pulumi_azuredevops-3.7.0a1739251473.dist-info/top_level.txt,sha256=8XRS3pKzB2g--TmH4rHjGWlU-D7835DEQDV88pWf79Y,19
148
- pulumi_azuredevops-3.7.0a1739251473.dist-info/RECORD,,
145
+ pulumi_azuredevops-3.7.0a1739377965.dist-info/METADATA,sha256=MAx6ZhYzGlPPwl6vpWyTt0-EnQKX5pt_tWqus2GX3J8,2931
146
+ pulumi_azuredevops-3.7.0a1739377965.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
147
+ pulumi_azuredevops-3.7.0a1739377965.dist-info/top_level.txt,sha256=8XRS3pKzB2g--TmH4rHjGWlU-D7835DEQDV88pWf79Y,19
148
+ pulumi_azuredevops-3.7.0a1739377965.dist-info/RECORD,,