Skip to content

Commit ba0561d

Browse files
committed
[Github Actions] Pin Poetry to 1.8.5 to avoid speakeasy run failure
1 parent 2764471 commit ba0561d

File tree

5 files changed

+17
-1
lines changed

5 files changed

+17
-1
lines changed

.github/workflows/sdk_generation_mistralai_azure_sdk.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
with:
2121
force: ${{ github.event.inputs.force }}
2222
mode: pr
23+
# We need poetry < 2.0 to avoid the speakeasy run failure.
24+
# This was fixed in speakasy v1.467.0 but we're locked at 1.462.2 waiting for other speakeasy fixes.
25+
poetry_version: 1.8.5
2326
set_version: ${{ github.event.inputs.set_version }}
2427
speakeasy_version: latest
2528
target: mistral-python-sdk-azure

.github/workflows/sdk_generation_mistralai_gcp_sdk.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
with:
2121
force: ${{ github.event.inputs.force }}
2222
mode: pr
23+
# We need poetry < 2.0 to avoid the speakeasy run failure.
24+
# This was fixed in speakasy v1.467.0 but we're locked at 1.462.2 waiting for other speakeasy fixes.
25+
poetry_version: 1.8.5
2326
set_version: ${{ github.event.inputs.set_version }}
2427
speakeasy_version: latest
2528
target: mistral-python-sdk-google-cloud

.github/workflows/sdk_generation_mistralai_sdk.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
with:
2121
force: ${{ github.event.inputs.force }}
2222
mode: pr
23+
# We need poetry < 2.0 to avoid the speakeasy run failure.
24+
# This was fixed in speakasy v1.467.0 but we're locked at 1.462.2 waiting for other speakeasy fixes.
25+
poetry_version: 1.8.5
2326
set_version: ${{ github.event.inputs.set_version }}
2427
speakeasy_version: latest
2528
target: mistralai-sdk

.github/workflows/sdk_publish_mistralai_sdk.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ permissions:
1414
jobs:
1515
publish:
1616
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
17+
with:
18+
# We need poetry < 2.0 to avoid the speakeasy run failure.
19+
# This was fixed in speakasy v1.467.0 but we're locked at 1.462.2 waiting for other speakeasy fixes.
20+
poetry_version: 1.8.5
1721
secrets:
1822
github_access_token: ${{ secrets.GITHUB_TOKEN }}
1923
pypi_token: ${{ secrets.PYPI_TOKEN }}

.speakeasy/workflow.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
workflowVersion: 1.0.0
2-
speakeasyVersion: 1.462.2 # # Pinned to unblock https://github.com/mistralai/client-python/pull/173
2+
# speakeasyVersion is pinned to unblock https://github.com/mistralai/client-python/pull/173
3+
# The speakeasy run was appending `_` to some attributes to avoid conflicts with reserved keywords.
4+
# This would have change the SDK APIs and break the existing clients which we don't want.
5+
speakeasyVersion: 1.462.2
36
sources:
47
mistral-azure-source:
58
inputs:

0 commit comments

Comments
 (0)