Skip to content

Commit 201d676

Browse files
fix protobuf broken version for google (optional) dependencies (#254)
The optional dependencies for google AI platform (vertex) bring in protobuf. We need to pin to the correct version that doesn't have a deadly bug (documented [here](protocolbuffers/protobuf#19430)).
1 parent 468ecd4 commit 201d676

File tree

5 files changed

+957
-1121
lines changed

5 files changed

+957
-1121
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
python-version: ${{ matrix.python-version }}
3333
- name: Install Poetry
3434
uses: snok/install-poetry@v1
35+
with:
36+
version: 1.8.3
3537
- name: Install dependencies
3638
run: |
3739
poetry install --all-extras

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
PYTHON_VERSION: "3.11"
12-
POETRY_VERSION: "1.4.2"
12+
POETRY_VERSION: "1.8.3"
1313

1414
jobs:
1515
build:
@@ -25,6 +25,8 @@ jobs:
2525

2626
- name: Install Poetry
2727
uses: snok/install-poetry@v1
28+
with:
29+
version: 1.8.3
2830

2931
- name: Set Version
3032
run: poetry version ${{ github.event.inputs.version }}

.github/workflows/run_tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535

3636
- name: Install Poetry
3737
uses: snok/install-poetry@v1
38+
with:
39+
version: 1.8.3
3840

3941
- name: Install dependencies
4042
run: |

0 commit comments

Comments
 (0)