Skip to content

Commit 0eabbfb

Browse files
committed
fix(deps): pin plain googleapis-common-protos in lock
pip-compile writes only the googleapis-common-protos[grpc] entry. google-api-core needs the package without the extra. pip counts that as a separate requirement. Without a pin, pip takes the newest release from the index. The --require-hashes check then fails. This stopped each dev image build that could not reuse a cached image. Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
1 parent 8c06169 commit 0eabbfb

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎etc/requirements-common_lock.txt‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,15 @@ google-cloud-pubsub==2.39.1 \
308308
--hash=sha256:b40347cff2df3c4b33747bfdf8a8d74942754c5a6752592acd51a20fec316b56 \
309309
--hash=sha256:dacead1fa0aca7b2015f1acc88d279cd4b12852087908f426fbecf71985940e8
310310
# via -r etc/requirements-common.in
311+
# Hand-added: pip-compile emits only the [grpc] variant below, but
312+
# google-api-core also requires the plain package. pip resolves that as a
313+
# separate requirement, and without a pin here it fetches the newest release
314+
# from the index and then fails the --require-hashes check. Keep both entries
315+
# at the same version when regenerating this file.
316+
googleapis-common-protos==1.75.0 \
317+
--hash=sha256:53a062ff3c32552fbd62c11fe23768b78e4ddf0494d5e5fd97d3f4689c75fbbd \
318+
--hash=sha256:961ed60399c457ceb0ee8f285a84c870aabc9c6a832b9d37bb281b5bebde43ed
319+
# via google-api-core
311320
googleapis-common-protos[grpc]==1.75.0 \
312321
--hash=sha256:53a062ff3c32552fbd62c11fe23768b78e4ddf0494d5e5fd97d3f4689c75fbbd \
313322
--hash=sha256:961ed60399c457ceb0ee8f285a84c870aabc9c6a832b9d37bb281b5bebde43ed

0 commit comments

Comments
 (0)