1616# Instructions for generation follow:
1717# Use the oldest supported version of Python
1818#
19- # $ docker run -it --rm -v $(pwd):/grpc python:3.8 /bin/bash
19+ # $ docker run -it --rm -v $(pwd):/grpc python:3.9 /bin/bash
2020# # cd grpc
2121# # pip install pip-tools
2222# # pip-compile --allow-unsafe requirements.bazel.txt -o requirements.bazel.lock
2626# When installing a new package, sometimes it's desirable to avoid unnecessary
2727# package upgrades. In such case, consider the following flow instead.
2828#
29- # $ python3.8 -m venv .venv-bazel
29+ # $ python3.9 -m venv .venv-bazel
3030# $ source .venv-bazel/bin/activate
3131# $ pip install pip-tools
32- # $ pip install -r requirements.bazel.lock # make the change to version in requirements.bazel.txt after this
32+ # $ pip install -r requirements.bazel.lock
33+ #
34+ # Add the new package to requirements.bazel.txt
3335# $ pip-compile --no-upgrade --allow-unsafe requirements.bazel.txt -o requirements.bazel.lock
34- # $ deactivate
36+ #
37+ # To update a single package, change its version spec requirements.bazel.txt
38+ # $ pip-compile --no-upgrade --allow-unsafe requirements.bazel.txt -o requirements.bazel.lock -P package_name
3539
3640absl-py
3741certifi
3842chardet
39- gevent
43+ gevent~=25.8
4044google-auth
4145googleapis-common-protos
4246idna
@@ -47,11 +51,8 @@ opentelemetry-sdk
4751protobuf
4852pyyaml # for DNS test
4953requests
50- setuptools>=77.0.1; python_version > "3.8"
51- setuptools>=75.3.2; python_version <= "3.8"
52- # Currently our CI uses Python < 3.8, hence <4.4.1 was added
53- # TODO(asheshvidyut): remove the <4.4.1, when CI uses python >= 3.9
54- typeguard~=4.2.0,<4.4.1
54+ setuptools>=77.0.1
55+ typeguard~=4.2
5556typing-extensions==4.12.2
5657twisted # for DNS test
5758urllib3
0 commit comments