pulumi/sdk/python/cmd/pulumi-language-python/testdata
Fraser Waters 969e0b9735
Conformance test for provider pre-release versions (#16498)
Noticed this issue while doing SDK gen for parameterised providers, but
figured it deserved its own conformance test. Check that if a provider
has a pre-release semver that the _exact_ version can be reported by the
generated SDK. This already just works for NodeJS, but Python needed a
fix to write the version to `_utilities.py` rather than trying to
unconvert the pypi version from the package.

Also needed to make the conformance test checks for
`GetProgramDependencies` even weaker (which is fine, they are just a
very basic sanity check) because the provider reports a version of
"3.0.0-alpha.1.internal" while the python version is "3.0.0a1+internal".
2024-06-29 10:07:14 +00:00
..
sdks/old-1.0.0 Set range in python codegen default SDK version (#16151) 2024-06-24 13:57:57 +00:00
setuppy Conformance test for provider pre-release versions (#16498) 2024-06-29 10:07:14 +00:00
toml Conformance test for provider pre-release versions (#16498) 2024-06-29 10:07:14 +00:00