You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that v0.8.0 is already published on the Pulumi registry and it's the default latest version that gets pulled in when using our provider. The problem is that it doesn't work with mainnet.
If I compare to Terraform, we don't have the same issue. That repo uses tags like -dev and -qa for releases that aren't on mainnet yet. These get pushed to the Terraform registry, but Terraform won't update to them unless they are specified explicitly:
I don't know if Pulumi has the same behavior, but I think it would at least be worth using the same version suffixes like -dev, etc. Ideally though we can find a way that users won't get a version that's not compatible with mainnet unless they specifically request it.
The text was updated successfully, but these errors were encountered:
Turns out the situation is also a bit more complicated, because new plugin versions are usually being pulled in via the package manager of the programming language in use.
For example if I write:
pip install --upgrade pulumi_threefold
then I get the latest version of our Python package for the Pulumi provider.
Python ecosystem supports pre-release and also dev release version number formats. However, they have a specific format that's not compatible with the format we use for Terraform (and our other repos in general). Likewise, the other languages like Go and any others we might want to support later will have their own format.
So if we want to support the pre-release mechanism, it will be necessary to somehow generate compatible version numbers for each package we publish. That might be tricky to automate, since Python is fairly rigid about pre-release identifiers, but it should be possible to find some mapping from our version identifier scheme (dev, qa, test, rc).
I noticed that
v0.8.0
is already published on the Pulumi registry and it's the default latest version that gets pulled in when using our provider. The problem is that it doesn't work with mainnet.If I compare to Terraform, we don't have the same issue. That repo uses tags like
-dev
and-qa
for releases that aren't on mainnet yet. These get pushed to the Terraform registry, but Terraform won't update to them unless they are specified explicitly:I don't know if Pulumi has the same behavior, but I think it would at least be worth using the same version suffixes like
-dev
, etc. Ideally though we can find a way that users won't get a version that's not compatible with mainnet unless they specifically request it.The text was updated successfully, but these errors were encountered: