Skip to content

Commit 69914d1

Browse files
authored
Merge pull request #1320 from guardrails-ai/py-3.13
Python 3.13 Support
2 parents 71951b0 + 9975074 commit 69914d1

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python-version: ["3.9", "3.10", "3.11", "3.12"]
23+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: Set up Python ${{ matrix.python-version }}
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: ubuntu-latest
4949
strategy:
5050
matrix:
51-
python-version: ["3.9", "3.10", "3.11", "3.12"]
51+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
5252
steps:
5353
- uses: actions/checkout@v4
5454
- name: Set up Python ${{ matrix.python-version }}
@@ -75,7 +75,7 @@ jobs:
7575
runs-on: ubuntu-latest
7676
strategy:
7777
matrix:
78-
python-version: ["3.9", "3.10", "3.11", "3.12"]
78+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
7979
steps:
8080
- uses: actions/checkout@v4
8181
- name: Set up Python ${{ matrix.python-version }}
@@ -102,7 +102,7 @@ jobs:
102102
runs-on: LargeBois
103103
strategy:
104104
matrix:
105-
python-version: ["3.9", "3.10", "3.11", "3.12"]
105+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
106106
# TODO: fix errors so that we can run both `make dev` and `make full`
107107
# dependencies: ['dev', 'full']
108108
# dependencies: ["full"]

.github/workflows/cli-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ["3.9", "3.10", "3.11", "3.12"]
13+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1414
typer-version: ["0.16.0", "0.17.0", "0.18.0", "0.19.2"]
1515
click-version: ["8.1.0", "8.2.0"]
1616
exclude:

.github/workflows/examples_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Set up Python
3737
uses: actions/setup-python@v5
3838
with:
39-
python-version: 3.11.x
39+
python-version: 3.13.x
4040
- name: Install dependencies
4141
run: |
4242

.github/workflows/install_from_hub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.11.x
18+
python-version: 3.13.x
1919
- name: pip install from main
2020
run: pip install git+https://github.com/guardrails-ai/guardrails.git@main
2121
- name: Install PII validator

.github/workflows/release_version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
uses: actions/checkout@v2
1313

1414
- name: Setup Python
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v5
1616
with:
17-
python-version: 3.11.x
17+
python-version: 3.13.x
1818

1919
- name: Poetry cache
2020
uses: actions/cache@v3

server_ci/Dockerfile.fastapi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# New LiteLLM version has a dependency on madoka which requires g++ to build the wheel
2-
FROM python:3.12
2+
FROM python:3.13
33

44
ARG GUARDRAILS_TOKEN
55
ARG GUARDRAILS_TEMPLATE="guard-template.json"

0 commit comments

Comments
 (0)