https://pulumi.com logo
Title
a

adorable-action-51248

01/11/2023, 10:27 AM
I am seeing:
resource plugin docker-3.7.0-alpha.1668812666] downloading from : failed to download plugin: docker-3.7.0-alpha.1668812666
it just happened. the pulumi deployments now are failing. while they work last week. tried pulumi
3.40.2
and
3.42.0
.
brew upgrade pulumi
does not upgrade to
3.51.0
fixed the issue. had in the requirement:
pulumi-docker>=3.4.1<4.0.0
which pulled in
pulumi-docker-3.5.0a1660680787
which is an alpha version i assume. fixed the issue by pinning the version to
==3.6.1
and then had to delete the provider reference in the state. would it be possible to release alpha pip packages such that they are not installed when providing a range version in pip ?
e

echoing-dinner-19531

01/11/2023, 10:48 AM
I thought that was already standard pip behaviour?
a

adorable-action-51248

01/11/2023, 10:49 AM
may be because there is a dot missing ?
pulumi-docker-3.5.0a1660680787
-> pulumi-
docker-3.5.0.a1660680787
interesting. not sure what happened
e

echoing-dinner-19531

01/11/2023, 10:52 AM
a

adorable-action-51248

01/11/2023, 10:56 AM
just checked
it pulls the alpha version
see snippet
pip 19.0.3
e

echoing-dinner-19531

01/11/2023, 10:58 AM
Well that's unexpected
d

dry-keyboard-94795

01/11/2023, 11:07 AM
That's a pretty old version of pip. Can you upgrade it and try again? May as well recreate your venv as well
e

echoing-dinner-19531

01/11/2023, 11:07 AM
I think your missing a comma...
python -m pip install 'pulumi-docker>=3.4.1,<4.0.0'
Collecting pulumi-docker<4.0.0,>=3.4.1
  Downloading pulumi_docker-3.6.1.tar.gz (86 kB)
d

dry-keyboard-94795

01/11/2023, 11:08 AM
@echoing-dinner-19531 that's some amazing Eagle eyes you have there 😂
a

adorable-action-51248

01/11/2023, 11:09 AM
oh
indeed
the
,
fixes the issue
interesting. this missing comma makes pip pull alpha version.
also pip 22 has that issue.
thanks for helping !
may be a check for pulumi plugins may be good. to ensure no alphas are used without an explicit opt-in.