diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2e8fb64a..0eb68238e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,11 @@ 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", "3.14"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -48,11 +48,11 @@ 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", "3.14"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -75,11 +75,11 @@ 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", "3.14"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ 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", "3.14"] # TODO: fix errors so that we can run both `make dev` and `make full` # dependencies: ['dev', 'full'] # dependencies: ["full"] @@ -115,7 +115,7 @@ jobs: echo 'enable_metrics=false' >> ~/.guardrailsrc - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/cli-compatibility.yml b/.github/workflows/cli-compatibility.yml index 03a185df8..c001a43eb 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", "3.14"] typer-version: ["0.16.0", "0.17.0", "0.18.0", "0.19.2"] click-version: ["8.1.0", "8.2.0"] exclude: @@ -26,7 +26,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/examples_check.yml b/.github/workflows/examples_check.yml index 6dea3d80c..15663a9be 100644 --- a/.github/workflows/examples_check.yml +++ b/.github/workflows/examples_check.yml @@ -34,9 +34,9 @@ jobs: echo 'id="SYSTEM TESTING"' > ~/.guardrailsrc echo 'no_metrics=false' >> ~/.guardrailsrc - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: 3.11.x + python-version: 3.14.x - name: Install dependencies run: | diff --git a/.github/workflows/install_from_hub.yml b/.github/workflows/install_from_hub.yml index 1ae773e92..c6e814e7e 100644 --- a/.github/workflows/install_from_hub.yml +++ b/.github/workflows/install_from_hub.yml @@ -13,11 +13,11 @@ jobs: GUARDRAILS_API_KEY: ${{ secrets.GUARDRAILS_API_KEY }} steps: - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: 3.11.x + python-version: 3.14.x - name: pip install from main - run: pip install git+https://github.com/guardrails-ai/guardrails.git@main + run: pip install git+https://github.com/guardrails-ai/guardrails.git@py-3.14 - name: Install PII validator run: | guardrails configure --token $GUARDRAILS_API_KEY --disable-metrics --enable-remote-inferencing; diff --git a/.github/workflows/release_version.yml b/.github/workflows/release_version.yml index af5a5caca..3b9dc145f 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@v6 with: - python-version: 3.11.x + python-version: 3.14.x - name: Poetry cache uses: actions/cache@v3 diff --git a/server_ci/Dockerfile.fastapi b/server_ci/Dockerfile.fastapi index 56fa0fea2..c6b8bb86c 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.14 ARG GUARDRAILS_TOKEN ARG GUARDRAILS_TEMPLATE="guard-template.json"