diff --git a/.github/workflows/sdk_generation_mistralai_azure_sdk.yaml b/.github/workflows/sdk_generation_mistralai_azure_sdk.yaml index 7ec5bb8d..a4c7e54b 100644 --- a/.github/workflows/sdk_generation_mistralai_azure_sdk.yaml +++ b/.github/workflows/sdk_generation_mistralai_azure_sdk.yaml @@ -20,6 +20,9 @@ jobs: with: force: ${{ github.event.inputs.force }} mode: pr + # We need poetry < 2.0 to avoid the speakeasy run failure. + # This was fixed in speakasy v1.467.0 but we're locked at 1.462.2 waiting for other speakeasy fixes. + poetry_version: 1.8.5 set_version: ${{ github.event.inputs.set_version }} speakeasy_version: latest target: mistral-python-sdk-azure diff --git a/.github/workflows/sdk_generation_mistralai_gcp_sdk.yaml b/.github/workflows/sdk_generation_mistralai_gcp_sdk.yaml index c4da64f7..c1af10b9 100644 --- a/.github/workflows/sdk_generation_mistralai_gcp_sdk.yaml +++ b/.github/workflows/sdk_generation_mistralai_gcp_sdk.yaml @@ -20,6 +20,9 @@ jobs: with: force: ${{ github.event.inputs.force }} mode: pr + # We need poetry < 2.0 to avoid the speakeasy run failure. + # This was fixed in speakasy v1.467.0 but we're locked at 1.462.2 waiting for other speakeasy fixes. + poetry_version: 1.8.5 set_version: ${{ github.event.inputs.set_version }} speakeasy_version: latest target: mistral-python-sdk-google-cloud diff --git a/.github/workflows/sdk_generation_mistralai_sdk.yaml b/.github/workflows/sdk_generation_mistralai_sdk.yaml index 7d0540e7..3f034dac 100644 --- a/.github/workflows/sdk_generation_mistralai_sdk.yaml +++ b/.github/workflows/sdk_generation_mistralai_sdk.yaml @@ -20,6 +20,9 @@ jobs: with: force: ${{ github.event.inputs.force }} mode: pr + # We need poetry < 2.0 to avoid the speakeasy run failure. + # This was fixed in speakasy v1.467.0 but we're locked at 1.462.2 waiting for other speakeasy fixes. + poetry_version: 1.8.5 set_version: ${{ github.event.inputs.set_version }} speakeasy_version: latest target: mistralai-sdk diff --git a/.github/workflows/sdk_publish_mistralai_sdk.yaml b/.github/workflows/sdk_publish_mistralai_sdk.yaml index 87160243..a7f08998 100644 --- a/.github/workflows/sdk_publish_mistralai_sdk.yaml +++ b/.github/workflows/sdk_publish_mistralai_sdk.yaml @@ -14,6 +14,10 @@ permissions: jobs: publish: uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15 + with: + # We need poetry < 2.0 to avoid the speakeasy run failure. + # This was fixed in speakasy v1.467.0 but we're locked at 1.462.2 waiting for other speakeasy fixes. + poetry_version: 1.8.5 secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} pypi_token: ${{ secrets.PYPI_TOKEN }} diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index 4dc74452..b3d2039f 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -1,5 +1,8 @@ workflowVersion: 1.0.0 -speakeasyVersion: 1.462.2 # # Pinned to unblock https://github.com/mistralai/client-python/pull/173 +# speakeasyVersion is pinned to unblock https://github.com/mistralai/client-python/pull/173 +# The speakeasy run was appending `_` to some attributes to avoid conflicts with reserved keywords. +# This would have change the SDK APIs and break the existing clients which we don't want. +speakeasyVersion: 1.462.2 sources: mistral-azure-source: inputs: