-
Notifications
You must be signed in to change notification settings - Fork 219
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
2.0.0b4 no longer works, possibly due to grpcio/grpcio-tools update #341
Comments
Can you try on master, I fear this may be related to bc3cfc5 |
FYI - we're also seeing this on 2.0.0b3 with buf (buf.build):
gives us:
We also tried versions 2.0.0b1, 2.0.0b2, 2.0.0b4 - they all have the same issue. We haven't changed anything either since yesterday, and this issue started this morning. Also confirmed betterproto 1.2.5 builds the protos, but breaks everything with the bad imports. |
This seems to have been caused by a recent release of the markupsafe package https://pypi.org/project/MarkupSafe/#history |
Looks like this comes from The current issue is |
Would be willing to help with that. Kind of blocking as I need |
release A new pre-release? |
This hasn't been fixed yet --- 2.0.0b5 cannot come soon enough. |
Any update on this? It's kind of a blocker. |
For me, manually upgrading jinja2 after installing the prerelease of betterproto worked:
Tested with betterproto v2.0.0b4 and jinja2 v3.1.2. |
As b5 has been released, I'm closing this |
Using example from README:
Setup virtualenv with
pip install grpcio{,-tools} betterproto[compiler]==2.0.0b4
Gives:
I noticed that grpcio and grpcio-tools pip packages both were updated to 1.44.0 yesterday and suspected this was the culprit, however when I setup the virtualenv with:
pip install grpcio{,-tools}==1.43.0 betterproto[compiler]==2.0.0b4
I still get the same error.
This was working fine 2 days ago when I last regenerated my protobufs with a script that set's up the virtualenv's as described above. I'm very confused why using version grpcio 1.43.0 gives the same error here as I thought this was the exact setup that was working for me 2 days ago.. has anything else changed that I'm missing?
Thanks
Edit: using betterproto 1.2.5 with grpcio-tools 1.44.0 works, but this isn't ideal as it generates files with bad imports
The text was updated successfully, but these errors were encountered: