diff --git a/.github/workflows/run_example_scripts.yaml b/.github/workflows/run_example_scripts.yaml index b3cc08ac..40abfa05 100644 --- a/.github/workflows/run_example_scripts.yaml +++ b/.github/workflows/run_example_scripts.yaml @@ -14,25 +14,32 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Checkout code uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python 3.12 uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: - python-version: ${{ matrix.python-version }} + python-version: 3.12 - name: Install Poetry uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1 - - name: Build and install client + - name: Build the client with 3.12 run: | touch README-PYPI.md # Create this file since the client is not built from Speakeasy poetry build - python3 -m pip install dist/mistralai-*.whl + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 + with: + python-version: ${{ matrix.python-version }} + + - name: Install the client with ${{ matrix.python-version }} + run: python3 -m pip install dist/mistralai-*.whl - name: Set VERSION run: | diff --git a/pyproject.toml b/pyproject.toml index 8edc7537..b1e3d88e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ version = "1.5.2-rc.1" description = "Python Client SDK for the Mistral AI API." authors = [{ name = "Mistral" },] readme = "README-PYPI.md" -requires-python = ">=3.9" +requires-python = ">=3.8" dependencies = [ "eval-type-backport >=0.2.0", "httpx >=0.28.1",