Skip to content

Commit c32a60c

Browse files
Nelson-PROIAclaude
andcommitted
feat: bump all SDKs to v2.0.0a4 and add dev-mode-dirs for editable installs
Regenerate all three SDKs at version 2.0.0a4: - Main SDK: 2.0.0a3 → 2.0.0a4 - Azure SDK: 1.8.1 → 2.0.0a4 - GCP SDK: 1.8.0 → 2.0.0a4 Add dev-mode-dirs to pyproject.toml so editable installs (uv sync) correctly expose all three source trees via the .pth file. This is needed because all sub-packages now live under a single `mistralai` namespace — hatch can only auto-detect one root directory without explicit configuration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a6ab58e commit c32a60c

17 files changed

Lines changed: 46 additions & 42 deletions

File tree

.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ management:
55
docVersion: 1.0.0
66
speakeasyVersion: 1.685.0
77
generationVersion: 2.794.1
8-
releaseVersion: 2.0.0a3
9-
configChecksum: 7fc1ba01c21def8447b979e71593af4a
8+
releaseVersion: 2.0.0a4
9+
configChecksum: ba32c03a012ed288fd25d0468115c501
1010
repoURL: https://github.com/mistralai/client-python.git
1111
installationURL: https://github.com/mistralai/client-python.git
1212
published: true
1313
persistentEdits:
14-
generation_id: 3aa9018f-cb6c-4c1b-96d0-b832fd5f6513
15-
pristine_commit_hash: 5c4e3b65b7572c91338d50dc3ca91ea6a46eedf7
16-
pristine_tree_hash: aaea604044e12872107c3b550ea7be094fb66a99
14+
generation_id: 9a42b13b-8fe7-416e-b97e-9a713b61df12
15+
pristine_commit_hash: fe97508889702d0b0a1bb4615bc6ff682ded6104
16+
pristine_tree_hash: 38fd75708b2c808e2a9d1e51b4129f9dd94676f1
1717
features:
1818
python:
1919
additionalDependencies: 1.0.0
@@ -1686,8 +1686,8 @@ trackedFiles:
16861686
pristine_git_object: 036d44b8cfc51599873bd5c401a6aed30450536c
16871687
src/mistralai/client/_version.py:
16881688
id: cc807b30de19
1689-
last_write_checksum: sha1:dd6d1521f7ecfc56be58eafc1709873a04d27fb0
1690-
pristine_git_object: 814d9ec74a37ae50f106ea07b3c174e65685521b
1689+
last_write_checksum: sha1:67bfbc4ca7bff931843370465ed647cd885b8668
1690+
pristine_git_object: 78591b3e820d9368eeedac50bb5a11242bc8e9cc
16911691
src/mistralai/client/accesses.py:
16921692
id: 76fc53bfcf59
16931693
last_write_checksum: sha1:16574ca54176ec30b236ab1a4694f57a6314db43

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ generation:
2929
generateNewTests: false
3030
skipResponseBodyAssertions: false
3131
python:
32-
version: 2.0.0a3
32+
version: 2.0.0a4
3333
additionalDependencies:
3434
dev:
3535
pytest: ^8.2.2

.speakeasy/workflow.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ targets:
2525
sourceRevisionDigest: sha256:d303e640ad565cc8a9801519b20dc7eab226efdfdab951c11256962d9e479f74
2626
sourceBlobDigest: sha256:6e4c789de61b2c9c604bf581e0abbadae90e360491d95ec4247678f4f70cee87
2727
codeSamplesNamespace: mistral-openapi-azure-code-samples
28-
codeSamplesRevisionDigest: sha256:6b0ef8075c41e8ee28479f76d20271d9b7734bd04f820937c4a72acbb576df6b
28+
codeSamplesRevisionDigest: sha256:8711f9530be8d85c07ddd45d57cb9f66471faa6c890b63c86bb26c602a552a3c
2929
mistralai-gcp-sdk:
3030
source: mistral-google-cloud-source
3131
sourceNamespace: mistral-openapi-google-cloud
3232
sourceRevisionDigest: sha256:351c4d392b8b2220c337a207e98ed5665ed27fd85de854871a70c4bc2b9c0784
3333
sourceBlobDigest: sha256:d79b21f70efb93b0cd261d2044939a288beaf8707a7caae86aca5c4d5de3821b
3434
codeSamplesNamespace: mistral-openapi-google-cloud-code-samples
35-
codeSamplesRevisionDigest: sha256:ef1d26f73d2325533707882244cf1ce6491c545ed7409098e989becc7d1c5be8
35+
codeSamplesRevisionDigest: sha256:be70721be1bcbef628ebca0ae3b3321c869d7e5abca8beb5451ba0abb7f2f425
3636
mistralai-sdk:
3737
source: mistral-openapi
3838
sourceNamespace: mistral-openapi
3939
sourceRevisionDigest: sha256:74d0de7750f6a1878b68c9da683eba7a447d7c367131d0cb8f5c3b1e05829624
4040
sourceBlobDigest: sha256:41e8354c48993fc29be68959d835ea4f8e0cc1d4b4fbd527afcd970bc02c62a2
4141
codeSamplesNamespace: mistral-openapi-code-samples
42-
codeSamplesRevisionDigest: sha256:f37fb6188ad25957bef4cadaa03f454a4f9ab0c045db633a46d9cc89af145ba2
42+
codeSamplesRevisionDigest: sha256:99fcae1bc81801e3825648a44f5ffa62a8f124e3186e5570be40414de164e7f2
4343
workflow:
4444
workflowVersion: 1.0.0
4545
speakeasyVersion: 1.685.0

docs/gen-yaml-diff.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
| Setting | Main | Azure | GCP |
2020
|---------|------|-------|-----|
21-
| `version` | `2.0.0a2` | `2.0.0a1` | `2.0.0a1` |
21+
| `version` | `2.0.0a4` | `2.0.0a4` | `2.0.0a4` |
2222
| `additionalDependencies.main` | *none* | *none* | *none* |
2323
| `baseErrorName` | `MistralError` | `MistralAzureError` | `MistralGcpError` |
2424
| `description` | `...Mistral AI API.` | `...in Azure.` | `...in GCP.` |
@@ -36,7 +36,7 @@
3636

3737
All fix flags and feature flags are now aligned. The only remaining differences are expected per-target values:
3838

39-
- **`version`** -- Azure/GCP at 2.0.0a1
39+
- **`version`** -- all at 2.0.0a4 (versions may diverge independently)
4040
- **`baseErrorName`** / `description` -- per-target identity
4141
- **`enableCustomCodeRegions`** -- `false` in Azure/GCP (they have no custom code regions)
4242
- **`envVarPrefix`** -- absent in Azure/GCP (only the main SDK reads `MISTRAL_*` env vars)

packages/mistralai_azure/.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ management:
55
docVersion: 1.0.0
66
speakeasyVersion: 1.685.0
77
generationVersion: 2.794.1
8-
releaseVersion: 2.0.0a1
9-
configChecksum: a550d1c1d59e02be6389e9503f44f985
8+
releaseVersion: 2.0.0a4
9+
configChecksum: 549cf1eae199d39bf97052462fd8e640
1010
repoURL: https://github.com/mistralai/client-python.git
1111
repoSubDirectory: packages/mistralai_azure
1212
installationURL: https://github.com/mistralai/client-python.git#subdirectory=packages/mistralai_azure
1313
published: true
1414
persistentEdits:
15-
generation_id: 370566bf-1fde-49a9-9b4d-312bcd619585
16-
pristine_commit_hash: b77bb3f4da00265e153c7b5dabd5c05ef44f4072
17-
pristine_tree_hash: 87d55b46e52d0e8b016f69719172cb45ffaac637
15+
generation_id: 25273f4a-1e18-4ae1-88a8-ab09eb3c804c
16+
pristine_commit_hash: 6a25b81af3489d4a3571a22ebda954d53d6d4128
17+
pristine_tree_hash: 4e6f740b3d31ba6e51805bb36100176f13010779
1818
features:
1919
python:
2020
additionalDependencies: 1.0.0
@@ -366,8 +366,8 @@ trackedFiles:
366366
pristine_git_object: 3e4e39555d60adebe84e596c8323ee5b80676fc9
367367
src/mistralai/azure/client/_version.py:
368368
id: a77160e60e5d
369-
last_write_checksum: sha1:42fda88f98ad7dd7cdada8a0bca52767485b40ec
370-
pristine_git_object: ffa3af802655c109e52c0147838ae87d2e557fed
369+
last_write_checksum: sha1:e26eb828e9a240042acc754f38dcf2e581e045aa
370+
pristine_git_object: 4448d2a0fd803f43820378359c921d09eba6f43e
371371
src/mistralai/azure/client/basesdk.py:
372372
id: 5a585a95ec21
373373
last_write_checksum: sha1:d7a4a959d7d3ca3cd22d8daf144c3b4d5c0d1210

packages/mistralai_azure/.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ generation:
2828
generateNewTests: false
2929
skipResponseBodyAssertions: false
3030
python:
31-
version: 2.0.0a1
31+
version: 2.0.0a4
3232
additionalDependencies:
3333
dev:
3434
pytest: ^8.2.2

packages/mistralai_azure/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mistralai_azure"
3-
version = "2.0.0a1"
3+
version = "2.0.0a4"
44
description = "Python Client SDK for the Mistral AI API in Azure."
55
authors = [{ name = "Mistral" }]
66
requires-python = ">=3.10"

packages/mistralai_azure/src/mistralai/azure/client/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "mistralai-azure"
6-
__version__: str = "2.0.0a1"
6+
__version__: str = "2.0.0a4"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.794.1"
9-
__user_agent__: str = "speakeasy-sdk/python 2.0.0a1 2.794.1 1.0.0 mistralai-azure"
9+
__user_agent__: str = "speakeasy-sdk/python 2.0.0a4 2.794.1 1.0.0 mistralai-azure"
1010

1111
try:
1212
if __package__ is not None:

packages/mistralai_azure/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/mistralai_gcp/.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ management:
55
docVersion: 1.0.0
66
speakeasyVersion: 1.685.0
77
generationVersion: 2.794.1
8-
releaseVersion: 2.0.0a1
9-
configChecksum: 16b56893d9808757fde3c39a2a100d03
8+
releaseVersion: 2.0.0a4
9+
configChecksum: 234ab955be3214c3769c926f06dcd40a
1010
repoURL: https://github.com/mistralai/client-python.git
1111
repoSubDirectory: packages/mistralai_gcp
1212
installationURL: https://github.com/mistralai/client-python.git#subdirectory=packages/mistralai_gcp
1313
published: true
1414
persistentEdits:
15-
generation_id: 95dd7fb1-9727-4e2c-b8d8-ce7149a93390
16-
pristine_commit_hash: 5e644b0b7d44f549216a95d49e3583fb6f6cabd4
17-
pristine_tree_hash: 6cd86deb42d419922bf5849c708e2eeffe6cda44
15+
generation_id: 5d03f9dd-9e48-45e2-893e-ae3d323a3834
16+
pristine_commit_hash: ef7533c5e58c5f50521b490c0ce388da5b76c1d6
17+
pristine_tree_hash: eea5e4afc33d7339b65aa260834703d94c0f4f8b
1818
features:
1919
python:
2020
additionalDependencies: 1.0.0
@@ -330,8 +330,8 @@ trackedFiles:
330330
pristine_git_object: ea95bed210db9180824efddfb1b3e47f5bf96489
331331
src/mistralai/gcp/client/_version.py:
332332
id: f87319e32c7b
333-
last_write_checksum: sha1:b2754537c390d2c96088a4683d80ca18f0bd5e8c
334-
pristine_git_object: 451bb7a62d82d65ca6b28adf40bd71418fe7333f
333+
last_write_checksum: sha1:8c07e6351bf2df8239b3c02db75ee469dba53394
334+
pristine_git_object: ba48dac120cadd3f586b38659dc04e50838daa11
335335
src/mistralai/gcp/client/basesdk.py:
336336
id: 4d594572857b
337337
last_write_checksum: sha1:45ed4b6078e01d52d1dcf4bdc5494b700f1a6cde

0 commit comments

Comments
 (0)