Skip to content

Commit

Permalink
Update grpcio and grpcio-tools. Previous versions break Python11. See…
Browse files Browse the repository at this point in the history
… this thread: grpc/grpc#31934

PiperOrigin-RevId: 721566510
  • Loading branch information
xingyousong authored and copybara-github committed Jan 31, 2025
1 parent 0ba8ae2 commit 371d6e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"] # 3.x disabled b/c of 3.11 grpcio-tools build fail.
python-version: ["3.11"] # 3.x disabled b/c of 3.13 test failures.
suffix: ["core", "benchmarks", "algorithms", "clients", "pyglove", "raytune"]
include:
- suffix: "clients"
Expand Down Expand Up @@ -43,12 +43,12 @@ jobs:
key: >-
${{ env.pythonLocation }}
${{ hashFiles('**/requirements*.txt') }}
- name: Install essential dependencies
- name: Install essential dependencies # NOTE: grpcio-tools needs to be periodically updated.
run: |
sudo apt-get install -y libprotobuf-dev
python -m pip install --upgrade pip setuptools
pip install wheel
pip install grpcio-tools==1.48.2
pip install grpcio-tools>=1.70.0
pip install pytest pytest-xdist
pip wheel -e .
pip install -e .
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
attrs>=23.1.0
absl-py>=1.0.0
numpy>=1.21.5
protobuf>=3.6
protobuf>=5.29.3
portpicker>=1.3.1
grpcio>=1.35.0
grpcio-tools>=1.35.0
googleapis-common-protos>=1.56.4
grpcio>=1.70.0
grpcio-tools>=1.70.0
googleapis-common-protos>=1.66.0
sqlalchemy>=1.4

0 comments on commit 371d6e0

Please sign in to comment.