-
Notifications
You must be signed in to change notification settings - Fork 326
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
Pin protobuf<4 #543
Pin protobuf<4 #543
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Hopefully we can remove this soon.
Looks like 4.21.0 was yanked so maybe the protobuf devs understand that this was a bad idea: https://pypi.org/project/protobuf/#history If you rerun the tests on your other PR it might pass without needing this PR. Not sure if protobuf or tensorboard will get a new release first. |
Not sure what's going on with this test failure. I could add the protobuf entry under pip in the environment.yml but I'm not sure that's the issue here. Per the discussion in the linked issue, it might be a good idea to pin |
Yeah, definitely pinning to |
Head branch was pushed to by a user without write access
I also have no idea why the Windows tests are failing. We don't use |
Can you rebase and also add this to |
37b60d8
to
0366c23
Compare
Head branch was pushed to by a user without write access
Ran into a failed coverage test (no idea why that happened). Pushed again to see if error reappears. |
No idea what's going on with coverage. You have all the same commits as main, so it's not like new code has been added and the absolute number of lines of coverage have changed... Also, you'll probably want to add protobuf to the ignore list in There is a new release of protobuf now that hasn't been yanked, but there's also a new release of pytorch-lightning that pins protobuf to an older version, so we're technically good for now. PyTorch has also pinned to older protobuf and 1.12.0 seems poised for a release soon. Hopefully we won't need this for long. |
Wouldn't we then need to update the min version of pytorch-lightning and/or pytorch? Seems like a big jump from 1.3 to 1.6.5 and 1.7.0 to 1.12.0 respectively. |
No need to change the minimum versions, TorchGeo is still compatible with both the older and newer releases. Someone might need to manually install an older version of protobuf to get PyTorch or tensorboard working, but that's not a TorchGeo issue. |
Tests were failing due to the recent release of protobuf 4.21.0. See protocolbuffers/protobuf#10051
Error propagation: protobuf > tensorboard > pytorch_lightning > torchgeo