Skip to content

Commit b93ff4e

Browse files
authored
update (#208)
1 parent f027a7d commit b93ff4e

File tree

3 files changed

+25
-24
lines changed

3 files changed

+25
-24
lines changed

.github/workflows/run_example_scripts.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1818

1919
steps:
2020
- name: Checkout code
@@ -27,8 +27,6 @@ jobs:
2727

2828
- name: Install Poetry
2929
uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1
30-
with:
31-
version: ${{ matrix.python-version == '3.8' && '1.8.5' || '2.1.1' }}
3230

3331
- name: Build and install client
3432
run: |

.speakeasy/workflow.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
workflowVersion: 1.0.0
2-
speakeasyVersion: 1.477.0
2+
speakeasyVersion: 1.517.3
33
sources:
44
mistral-azure-source:
55
inputs:

pyproject.toml

+23-20
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1-
[tool.poetry]
1+
[project]
22
name = "mistralai"
33
version = "1.5.2"
44
description = "Python Client SDK for the Mistral AI API."
5-
authors = ["Mistral"]
5+
authors = [{ name = "Mistral" },]
66
readme = "README-PYPI.md"
7+
requires-python = ">=3.9"
8+
dependencies = [
9+
"eval-type-backport >=0.2.0",
10+
"httpx >=0.28.1",
11+
"pydantic >=2.10.3",
12+
"python-dateutil >=2.8.2",
13+
"typing-inspection >=0.4.0",
14+
]
15+
16+
[tool.poetry]
717
repository = "https://github.com/mistralai/client-python.git"
818
packages = [
919
{ include = "mistralai", from = "src" },
@@ -18,32 +28,25 @@ include = ["py.typed", "src/mistralai/py.typed"]
1828
[virtualenvs]
1929
in-project = true
2030

21-
[tool.poetry.dependencies]
22-
python = ">=3.8"
23-
eval-type-backport = ">=0.2.0"
24-
httpx = ">=0.27.0"
25-
jsonpath-python = ">=1.0.6"
26-
pydantic = ">=2.9.0"
27-
python-dateutil = ">=2.8.2"
28-
typing-inspect = ">=0.9.0"
29-
google-auth = { version = ">=2.27.0", optional = true }
30-
requests = { version = ">=2.32.3", optional = true }
31-
3231
[tool.poetry.group.dev.dependencies]
33-
mypy = ">=1.13.0"
34-
pylint = ">=3.2.3"
35-
pytest = ">=8.2.2"
36-
pytest-asyncio = ">=0.23.7"
37-
types-python-dateutil = ">=2.9.0.20240316"
32+
mypy = "==1.14.1"
33+
pylint = "==3.2.3"
34+
pytest = "^8.2.2"
35+
pytest-asyncio = "^0.23.7"
36+
types-python-dateutil = "^2.9.0.20240316"
3837

39-
[tool.poetry.extras]
40-
gcp = ["google-auth", "requests"]
38+
[project.optional-dependencies]
39+
gcp = [
40+
"google-auth >=2.27.0",
41+
"requests >=2.32.3"
42+
]
4143

4244
[build-system]
4345
requires = ["poetry-core"]
4446
build-backend = "poetry.core.masonry.api"
4547

4648
[tool.pytest.ini_options]
49+
asyncio_default_fixture_loop_scope = "function"
4750
pythonpath = ["src"]
4851

4952
[tool.mypy]

0 commit comments

Comments
 (0)