From 109e0891caf1a169af26047072e11e70415be047 Mon Sep 17 00:00:00 2001 From: Guillaume Dumont Date: Tue, 13 Jan 2026 17:07:39 +0100 Subject: [PATCH 1/3] Fix missing dependency of the workflow on pyright --- .github/workflows/update_speakeasy.yaml | 2 +- packages/mistralai_azure/pyproject.toml | 5 +++++ packages/mistralai_gcp/pyproject.toml | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update_speakeasy.yaml b/.github/workflows/update_speakeasy.yaml index 9628bffa..e6f1bf10 100644 --- a/.github/workflows/update_speakeasy.yaml +++ b/.github/workflows/update_speakeasy.yaml @@ -38,7 +38,7 @@ jobs: - name: Install dependencies run: | - uv sync --group dev --no-default-groups + uv sync --group dev --group lint --no-default-groups - name: Install Speakeasy CLI run: | diff --git a/packages/mistralai_azure/pyproject.toml b/packages/mistralai_azure/pyproject.toml index 016378d5..d0e1e097 100644 --- a/packages/mistralai_azure/pyproject.toml +++ b/packages/mistralai_azure/pyproject.toml @@ -18,6 +18,11 @@ dev = [ "pytest>=8.2.2,<9", "pytest-asyncio>=0.23.7,<0.24", ] +lint = [ + "ruff>=0.11.10,<0.12", + "pyright>=1.1.401,<2", + "mypy==1.15.0", +] [tool.setuptools.package-data] "*" = ["py.typed", "src/mistralai_azure/py.typed"] diff --git a/packages/mistralai_gcp/pyproject.toml b/packages/mistralai_gcp/pyproject.toml index 79b8193b..658ad87f 100644 --- a/packages/mistralai_gcp/pyproject.toml +++ b/packages/mistralai_gcp/pyproject.toml @@ -23,6 +23,11 @@ dev = [ "pytest-asyncio>=0.23.7,<0.24", "types-python-dateutil>=2.9.0.20240316,<3", ] +lint = [ + "ruff>=0.11.10,<0.12", + "pyright>=1.1.401,<2", + "mypy==1.15.0", +] [tool.setuptools.package-data] "*" = ["py.typed", "src/mistralai_gcp/py.typed"] From fa765e2e40bfea4530240147c22174e176f60036 Mon Sep 17 00:00:00 2001 From: Guillaume Dumont Date: Tue, 13 Jan 2026 17:24:51 +0100 Subject: [PATCH 2/3] Moving pyright to dev dependency group in sub-packages --- packages/mistralai_azure/pyproject.toml | 1 + packages/mistralai_gcp/pyproject.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/mistralai_azure/pyproject.toml b/packages/mistralai_azure/pyproject.toml index d0e1e097..168895e2 100644 --- a/packages/mistralai_azure/pyproject.toml +++ b/packages/mistralai_azure/pyproject.toml @@ -15,6 +15,7 @@ dependencies = [ dev = [ "mypy==1.15.0", "pylint==3.2.3", + "pyright>=1.1.401,<2", "pytest>=8.2.2,<9", "pytest-asyncio>=0.23.7,<0.24", ] diff --git a/packages/mistralai_gcp/pyproject.toml b/packages/mistralai_gcp/pyproject.toml index 658ad87f..1dd388aa 100644 --- a/packages/mistralai_gcp/pyproject.toml +++ b/packages/mistralai_gcp/pyproject.toml @@ -19,6 +19,7 @@ dependencies = [ dev = [ "mypy==1.14.1", "pylint==3.2.3", + "pyright>=1.1.401,<2", "pytest>=8.2.2,<9", "pytest-asyncio>=0.23.7,<0.24", "types-python-dateutil>=2.9.0.20240316,<3", From ef5e930a1042be9c014b7fe7e5060ae7be74f285 Mon Sep 17 00:00:00 2001 From: Guillaume Dumont Date: Tue, 13 Jan 2026 17:27:23 +0100 Subject: [PATCH 3/3] Cleaning up dependencies and fixing GIT_TOKEN in upgrade workflow --- .github/workflows/update_speakeasy.yaml | 2 +- packages/mistralai_azure/pyproject.toml | 5 ----- packages/mistralai_gcp/pyproject.toml | 5 ----- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/update_speakeasy.yaml b/.github/workflows/update_speakeasy.yaml index e6f1bf10..78b5317b 100644 --- a/.github/workflows/update_speakeasy.yaml +++ b/.github/workflows/update_speakeasy.yaml @@ -102,7 +102,7 @@ jobs: --label speakeasy-update \ --assignee ${{ github.actor }} env: - GITHUB_TOKEN: ${{ secrets.SPEAKEASY_WORKFLOW_GITHUB_PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Comment on workflow run if: steps.check-changes.outputs.has_changes == 'false' diff --git a/packages/mistralai_azure/pyproject.toml b/packages/mistralai_azure/pyproject.toml index 168895e2..2f5c92f6 100644 --- a/packages/mistralai_azure/pyproject.toml +++ b/packages/mistralai_azure/pyproject.toml @@ -19,11 +19,6 @@ dev = [ "pytest>=8.2.2,<9", "pytest-asyncio>=0.23.7,<0.24", ] -lint = [ - "ruff>=0.11.10,<0.12", - "pyright>=1.1.401,<2", - "mypy==1.15.0", -] [tool.setuptools.package-data] "*" = ["py.typed", "src/mistralai_azure/py.typed"] diff --git a/packages/mistralai_gcp/pyproject.toml b/packages/mistralai_gcp/pyproject.toml index 1dd388aa..9293079a 100644 --- a/packages/mistralai_gcp/pyproject.toml +++ b/packages/mistralai_gcp/pyproject.toml @@ -24,11 +24,6 @@ dev = [ "pytest-asyncio>=0.23.7,<0.24", "types-python-dateutil>=2.9.0.20240316,<3", ] -lint = [ - "ruff>=0.11.10,<0.12", - "pyright>=1.1.401,<2", - "mypy==1.15.0", -] [tool.setuptools.package-data] "*" = ["py.typed", "src/mistralai_gcp/py.typed"]