Skip to content

Commit

Permalink
fix protobuf broken version for google (optional) dependencies (#254)
Browse files Browse the repository at this point in the history
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)).
  • Loading branch information
tylerhutcherson authored Jan 6, 2025
1 parent 468ecd4 commit 201d676
Show file tree
Hide file tree
Showing 5 changed files with 957 additions and 1,121 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
- name: Install dependencies
run: |
poetry install --all-extras
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
PYTHON_VERSION: "3.11"
POETRY_VERSION: "1.4.2"
POETRY_VERSION: "1.8.3"

jobs:
build:
Expand All @@ -25,6 +25,8 @@ jobs:

- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3

- name: Set Version
run: poetry version ${{ github.event.inputs.version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:

- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3

- name: Install dependencies
run: |
Expand Down
Loading

0 comments on commit 201d676

Please sign in to comment.