diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2e8fb64a..34b81d5e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -48,7 +48,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -75,7 +75,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -102,7 +102,7 @@ jobs: runs-on: LargeBois strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] # TODO: fix errors so that we can run both `make dev` and `make full` # dependencies: ['dev', 'full'] # dependencies: ["full"] diff --git a/.github/workflows/cli-compatibility.yml b/.github/workflows/cli-compatibility.yml index 03a185df8..fb620a9ae 100644 --- a/.github/workflows/cli-compatibility.yml +++ b/.github/workflows/cli-compatibility.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] typer-version: ["0.16.0", "0.17.0", "0.18.0", "0.19.2"] click-version: ["8.1.0", "8.2.0"] exclude: diff --git a/.github/workflows/examples_check.yml b/.github/workflows/examples_check.yml index 6dea3d80c..d0baa49dd 100644 --- a/.github/workflows/examples_check.yml +++ b/.github/workflows/examples_check.yml @@ -36,7 +36,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.11.x + python-version: 3.13.x - name: Install dependencies run: | diff --git a/.github/workflows/install_from_hub.yml b/.github/workflows/install_from_hub.yml index 1ae773e92..d9aa922f5 100644 --- a/.github/workflows/install_from_hub.yml +++ b/.github/workflows/install_from_hub.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.11.x + python-version: 3.13.x - name: pip install from main run: pip install git+https://github.com/guardrails-ai/guardrails.git@main - name: Install PII validator diff --git a/.github/workflows/release_version.yml b/.github/workflows/release_version.yml index af5a5caca..9fce5a6f6 100644 --- a/.github/workflows/release_version.yml +++ b/.github/workflows/release_version.yml @@ -12,9 +12,9 @@ jobs: uses: actions/checkout@v2 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.11.x + python-version: 3.13.x - name: Poetry cache uses: actions/cache@v3 diff --git a/server_ci/Dockerfile.fastapi b/server_ci/Dockerfile.fastapi index 56fa0fea2..4db17f542 100644 --- a/server_ci/Dockerfile.fastapi +++ b/server_ci/Dockerfile.fastapi @@ -1,5 +1,5 @@ # New LiteLLM version has a dependency on madoka which requires g++ to build the wheel -FROM python:3.12 +FROM python:3.13 ARG GUARDRAILS_TOKEN ARG GUARDRAILS_TEMPLATE="guard-template.json"