mirror of https://github.com/grpc/grpc.git
Freeze xDS interop test runner dependencies (#31859)
* Freeze xDS interop test runner dependencies * Address review comments * Reviewer comments on scripts * Create venv in tmpdir instead * Moved freeze.sh to bin directory * Fix shellcheck * Update tools/run_tests/xds_k8s_test_driver/bin/freeze.sh Co-authored-by: Sergii Tkachenko <hi@sergii.org> * Revert --------- Co-authored-by: Sergii Tkachenko <hi@sergii.org>pull/32319/head
parent
e699e0135e
commit
c608379c70
5 changed files with 87 additions and 4 deletions
@ -0,0 +1,27 @@ |
||||
#!/usr/bin/env bash |
||||
# Copyright 2023 gRPC authors. |
||||
# |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
# you may not use this file except in compliance with the License. |
||||
# You may obtain a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
# See the License for the specific language governing permissions and |
||||
# limitations under the License. |
||||
|
||||
|
||||
set -exo pipefail |
||||
|
||||
VENV_NAME="venv-$(mktemp -d)" |
||||
readonly VENV_NAME |
||||
|
||||
python3 -m virtualenv "${VENV_NAME}" |
||||
|
||||
"${VENV_NAME}"/bin/pip install -r requirements.txt |
||||
"${VENV_NAME}"/bin/pip freeze > requirements.lock |
||||
|
||||
rm -rf "${VENV_NAME}" |
@ -1,4 +1,4 @@ |
||||
-r requirements.txt |
||||
-r requirements.lock |
||||
yapf==0.30.0 # Mirrors yapf version set in https://github.com/grpc/grpc/blob/master/tools/distrib/yapf_code.sh |
||||
isort~=5.9 |
||||
# TODO(https://github.com/grpc/grpc/pull/25872): mypy |
||||
|
@ -0,0 +1,40 @@ |
||||
absl-py==0.15.0 |
||||
cachetools==5.2.1 |
||||
certifi==2022.12.7 |
||||
charset-normalizer==3.0.1 |
||||
google-api-core==2.11.0 |
||||
google-api-python-client==1.12.11 |
||||
google-auth==2.16.0 |
||||
google-auth-httplib2==0.1.0 |
||||
google-cloud-secret-manager==2.15.0 |
||||
googleapis-common-protos==1.58.0 |
||||
grpc-google-iam-v1==0.12.6 |
||||
grpcio==1.51.1 |
||||
grpcio-channelz==1.48.2 |
||||
grpcio-health-checking==1.48.2 |
||||
grpcio-status==1.48.2 |
||||
grpcio-tools==1.48.2 |
||||
httplib2==0.21.0 |
||||
idna==3.4 |
||||
kubernetes==12.0.1 |
||||
Mako==1.2.4 |
||||
MarkupSafe==2.1.2 |
||||
oauthlib==3.2.2 |
||||
packaging==21.3 |
||||
proto-plus==1.22.2 |
||||
protobuf==3.20.3 |
||||
pyasn1==0.4.8 |
||||
pyasn1-modules==0.2.8 |
||||
Pygments==2.14.0 |
||||
pyparsing==3.0.9 |
||||
python-dateutil==2.8.2 |
||||
PyYAML==5.4.1 |
||||
requests==2.28.2 |
||||
requests-oauthlib==1.3.1 |
||||
rsa==4.9 |
||||
six==1.16.0 |
||||
tenacity==6.3.1 |
||||
uritemplate==3.0.1 |
||||
urllib3==1.26.14 |
||||
websocket-client==1.4.2 |
||||
xds-protos==0.0.11 |
Loading…
Reference in new issue