From e2cc3f57550ab6152e67f8128587527604d67268 Mon Sep 17 00:00:00 2001 From: Michael Boulton Date: Wed, 27 Mar 2024 12:59:39 +0000 Subject: [PATCH] Lock protobuf to lower version to avoid api break --- constraints.txt | 9 +++++---- pyproject.toml | 2 +- requirements.txt | 43 ++++++++++++++++++++++--------------------- 3 files changed, 28 insertions(+), 26 deletions(-) diff --git a/constraints.txt b/constraints.txt index 3c36d148..01ce0ca3 100644 --- a/constraints.txt +++ b/constraints.txt @@ -60,7 +60,7 @@ flit==3.9.0 flit-core==3.9.0 # via flit fluent-logger==0.11.0 -google-api-core==2.8.0 +google-api-core==2.18.0 # via google-api-python-client google-api-python-client==2.123.0 google-auth==2.29.0 @@ -70,7 +70,7 @@ google-auth==2.29.0 # google-auth-httplib2 google-auth-httplib2==0.2.0 # via google-api-python-client -googleapis-common-protos==1.56.1 +googleapis-common-protos==1.63.0 # via # google-api-core # grpcio-status @@ -133,8 +133,9 @@ pluggy==1.4.0 # pytest # tox pre-commit==3.7.0 -proto-plus==1.20.4 -protobuf==5.26.0 +proto-plus==1.23.0 + # via google-api-core +protobuf==4.25.3 # via # google-api-core # googleapis-common-protos diff --git a/pyproject.toml b/pyproject.toml index 8d1b5cb0..6d51aff8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ grpc = [ "grpcio-reflection", "grpcio-status", "google-api-python-client", - "protobuf", + "protobuf>=4,<5", "proto-plus", ] diff --git a/requirements.txt b/requirements.txt index 9ad85289..a31d1a67 100644 --- a/requirements.txt +++ b/requirements.txt @@ -251,9 +251,9 @@ flit-core==3.9.0 \ fluent-logger==0.11.0 \ --hash=sha256:3485cc006294b8cb6faf2a832ba088da55b7daef3f99fd379468623108c7e2c7 \ --hash=sha256:813cf44b70ad204f7c161b79604892c89bc92df63fcd132f3c6734bab56e6527 -google-api-core==2.8.0 \ - --hash=sha256:065bb8e11c605fd232707ae50963dc1c8af5b3c95b4568887515985e6c1156b3 \ - --hash=sha256:1b9f59236ce1bae9a687c1d4f22957e79a2669e53d032893f6bf0fca54f6931d +google-api-core==2.18.0 \ + --hash=sha256:5a63aa102e0049abe85b5b88cb9409234c1f70afcda21ce1e40b285b9629c1d6 \ + --hash=sha256:62d97417bfc674d6cef251e5c4d639a9655e00c45528c4364fbfebb478ce72a9 # via google-api-python-client google-api-python-client==2.123.0 \ --hash=sha256:1c2bcaa846acf5bac4d6f244d8373d4de9de73d64eb6e77b56767ab4cf681419 \ @@ -269,9 +269,9 @@ google-auth-httplib2==0.2.0 \ --hash=sha256:38aa7badf48f974f1eb9861794e9c0cb2a0511a4ec0679b1f886d108f5640e05 \ --hash=sha256:b65a0a2123300dd71281a7bf6e64d65a0759287df52729bdd1ae2e47dc311a3d # via google-api-python-client -googleapis-common-protos==1.56.1 \ - --hash=sha256:6b5ee59dc646eb61a8eb65ee1db186d3df6687c8804830024f32573298bca19b \ - --hash=sha256:ddcd955b5bb6589368f659fa475373faa1ed7d09cde5ba25e88513d87007e174 +googleapis-common-protos==1.63.0 \ + --hash=sha256:17ad01b11d5f1d0171c06d3ba5c04c54474e883b66b949722b4938ee2694ef4e \ + --hash=sha256:ae45f75702f7c08b541f750854a678bd8f534a1a6bace6afe975f1d0a82d6632 # via # google-api-core # grpcio-status @@ -545,21 +545,22 @@ pluggy==1.4.0 \ pre-commit==3.7.0 \ --hash=sha256:5eae9e10c2b5ac51577c3452ec0a490455c45a0533f7960f993a0d01e59decab \ --hash=sha256:e209d61b8acdcf742404408531f0c37d49d2c734fd7cff2d6076083d191cb060 -proto-plus==1.20.4 \ - --hash=sha256:3cfaac30676793d5ee764a0982bc30481beb5059f315e2a2422d7c73ded5b601 \ - --hash=sha256:6653541c2f1209e4d5268d3e6302791f72a95cc5f8bdcf3e60d943edc657e70a -protobuf==5.26.0 \ - --hash=sha256:2c334550e1cb4efac5c8a3987384bf13a4334abaf5ab59e40479e7b70ecd6b19 \ - --hash=sha256:6ee9d1aa02f951c5ce10bf8c6cfb7604133773038e33f913183c8b5201350600 \ - --hash=sha256:7e47c57303466c867374a17b2b5e99c5a7c8b72a94118e2f28efb599f19b4069 \ - --hash=sha256:82f5870d74c99addfe4152777bdf8168244b9cf0ac65f8eccf045ddfa9d80d9b \ - --hash=sha256:8eef61a90631c21b06b4f492a27e199a269827f046de3bb68b61aa84fcf50905 \ - --hash=sha256:a49b6c5359bf34fb7bf965bf21abfab4476e4527d822ab5289ee3bf73f291159 \ - --hash=sha256:ca825f4eecb8c342d2ec581e6a5ad1ad1a47bededaecd768e0d3451ae4aaac2b \ - --hash=sha256:dfd29f6eb34107dccf289a93d44fb6b131e68888d090b784b691775ac84e8213 \ - --hash=sha256:e184175276edc222e2d5e314a72521e10049938a9a4961fe4bea9b25d073c03f \ - --hash=sha256:efd4f5894c50bd76cbcfdd668cd941021333861ed0f441c78a83d8254a01cc9f \ - --hash=sha256:f9ecc8eb6f18037e0cbf43256db0325d4723f429bca7ef5cd358b7c29d65f628 +proto-plus==1.23.0 \ + --hash=sha256:89075171ef11988b3fa157f5dbd8b9cf09d65fffee97e29ce403cd8defba19d2 \ + --hash=sha256:a829c79e619e1cf632de091013a4173deed13a55f326ef84f05af6f50ff4c82c + # via google-api-core +protobuf==4.25.3 \ + --hash=sha256:19b270aeaa0099f16d3ca02628546b8baefe2955bbe23224aaf856134eccf1e4 \ + --hash=sha256:209ba4cc916bab46f64e56b85b090607a676f66b473e6b762e6f1d9d591eb2e8 \ + --hash=sha256:25b5d0b42fd000320bd7830b349e3b696435f3b329810427a6bcce6a5492cc5c \ + --hash=sha256:7c8daa26095f82482307bc717364e7c13f4f1c99659be82890dcfc215194554d \ + --hash=sha256:c053062984e61144385022e53678fbded7aea14ebb3e0305ae3592fb219ccfa4 \ + --hash=sha256:d4198877797a83cbfe9bffa3803602bbe1625dc30d8a097365dbc762e5790faa \ + --hash=sha256:e3c97a1555fd6388f857770ff8b9703083de6bf1f9274a002a332d65fbb56c8c \ + --hash=sha256:e7cb0ae90dd83727f0c0718634ed56837bfeeee29a5f82a7514c03ee1364c019 \ + --hash=sha256:f0700d54bcf45424477e46a9f0944155b46fb0639d69728739c0e47bab83f2b9 \ + --hash=sha256:f1279ab38ecbfae7e456a108c5c0681e4956d5b1090027c1de0f934dfdb4b35c \ + --hash=sha256:f4f118245c4a087776e0a8408be33cf09f6c547442c00395fbfb116fac2f8ac2 # via # google-api-core # googleapis-common-protos