-
Notifications
You must be signed in to change notification settings - Fork 1.1k
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No upper bound on python dep protobuf results in latest protobuf version breakage (protobuf>=4.21.0) #9694
Comments
|
Just adding to this, same issue. Current workaround is pinning Some additional error messages:
https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates This might be related to generate.sh ? |
I ran into this issue as well. I can also confirm that reverting to the previous major version of Setting |
Pinning the version would require us to do a release, at which point we could just re-generate the protobuf files to fix this. |
Folks we are looking into this immediately - thanks for raising the issue! We see the same problem on some of our nightly acceptance test runs |
* Pin python protobuf to <4 Fixes #9694 * Add to CHANGELOG
this build still failed with the proto error: https://github.com/pulumi/pulumi/runs/6608080649?check_suite_focus=true |
No, but we're continuing to work on it. The aim is to get it fixed and then get a release out as soon as possible. |
Would it be possible to quickly push out the fix that just pins the version to <4 and work on the larger upgrade of protoc afterward? |
We looked into that but setting the pinned version still caused a whole load of our test to fail with the same issue. We have multiple engineers investigating multiple approaches to fix this. |
It looks like |
Does that prevent this issue from affecting customers? Or only from afffecting customers who have not yet ended up with the bad version pinned in a venv? What's the state of customer impact here after this was yanked and after landing #9696? |
#9696 didn't seem to help our tests, but I suspect that was due to our test environments doing something strange rather than the pin being wrong. Customers that have got 4.21.0 in their venv are going to stay stuck, even if we push a new pulumi release they would have to re-install requirements to see the version clash. Having said that I think most customers impacted by this are probably building venvs from scratch each time (which is why they saw this issue straight away) and with the package now yanked they will get protobuf 3. |
I have reran my infrastructure deploy job after the protobuf release was yanked and it worked (https://github.com/CouncilDataProject/denver/runs/6613594089?check_suite_focus=true). So for the time being we are seemingly okay but definitely something to pin for the future it seems. Thanks all for the fast response ❤️ |
This is back. Just hit it in our env. I also see Protobuf 4.21.0 is back on pypi. |
Folks, we are working on a release to mitigate this issue! |
@denniswebb patched version v3.33.2 has been pushed |
I am seeing a similar issue today
|
What happened?
I was deploying a new stack when I reached a long traceback that ultimately ended with a
protobuf
error:Log: https://github.com/CouncilDataProject/denver/runs/6604387518?check_suite_focus=true
Steps to reproduce
I can't think of a minimal reproducible example at the given moment...
Expected Behavior
Infrastructure deploy to proceed without fail. This same stack configuration completed just fine just hours prior: https://github.com/CouncilDataProject/portland/runs/6597117332?check_suite_focus=true
When I ran a text diff against the two install lists, the only difference between the installed Python packages was
protobuf-3.20.1
(succeeding) andprotobuf-4.21.0
(failing)Actual Behavior
Until latest version of protobuf is supported, install should use
protobuf>=3.6,<4.21.0
and succeed.Versions used
OS: Ubuntu 20.04.4
Python: 3.9.12
Pulumi (Python): 3.33.1
pulumi/actions: 3.33.1
Full Python package installed:
Additional context
Looks like this was unpinned in #9337
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: