Skip to content

docs: add upgrade note for broken google imports - #341

Open
ivanauth wants to merge 1 commit into
authzed:mainfrom
ivanauth:fix/issue-329-missing-annotations-pb2-from-google-api
Open

docs: add upgrade note for broken google imports#341
ivanauth wants to merge 1 commit into
authzed:mainfrom
ivanauth:fix/issue-329-missing-annotations-pb2-from-google-api

Conversation

@ivanauth

@ivanauth ivanauth commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Fixes #329

Wheels v1.22.2rc1/rc2 and v1.23.0-v1.24.3 vendored google.api files owned by googleapis-common-protos; upgrading past one of them makes pip delete those shared files on uninstall, breaking from google.api import annotations_pb2.

The packaging bug was fixed in v1.24.4 (#327), but since pip deletes the files before any new code runs, no future release can repair an already-broken install - hence this README note with recovery commands.

Wheels for v1.23.0 through v1.24.3 vendored modules under the google
namespace at the same paths owned by googleapis-common-protos, so
uninstalling those versions during an upgrade deletes files that
googleapis-common-protos needs and imports like google.api.annotations_pb2
start failing. Document how to restore the missing files.

Signed-off-by: ivanauth <ivan@authzed.com>
@ivanauth
ivanauth requested a review from a team as a code owner July 27, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing annotations_pb2 from google.api

1 participant