Skip to content

Commit 54054d2

Browse files
committed
fix(py/genkit): add support for python 3.14
1 parent d674b15 commit 54054d2

File tree

36 files changed

+219
-139
lines changed

36 files changed

+219
-139
lines changed

.github/workflows/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- "3.13"
3838
#- "pypy-3.10" # TODO: Fix build failures.
3939
#- "pypy-3.11" # TODO: Fix build failures.
40-
#- "3.14" # TODO: This still fails.
40+
- "3.14"
4141
fail-fast: false
4242

4343
steps:
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install system dependencies
4747
run: |
4848
sudo apt-get update
49-
sudo apt-get install -y build-essential libffi-dev cmake curl ripgrep
49+
sudo apt-get install -y build-essential libffi-dev cmake curl ripgrep libjpeg-dev zlib1g-dev
5050
5151
- name: Set up Go
5252
uses: actions/setup-go@main

py/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
'3.11',
2929
'3.12',
3030
'3.13',
31-
#'3.14', # This still fails.
31+
'3.14',
3232
]
3333

3434

py/packages/genkit/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.11",
3030
"Programming Language :: Python :: 3.12",
3131
"Programming Language :: Python :: 3.13",
32+
"Programming Language :: Python :: 3.14",
3233
"Topic :: Scientific/Engineering :: Artificial Intelligence",
3334
"Topic :: Software Development :: Libraries",
3435
]

py/plugins/anthropic/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.11",
3030
"Programming Language :: Python :: 3.12",
3131
"Programming Language :: Python :: 3.13",
32+
"Programming Language :: Python :: 3.14",
3233
"Topic :: Scientific/Engineering :: Artificial Intelligence",
3334
"Topic :: Software Development :: Libraries",
3435
]

py/plugins/compat-oai/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.11",
3030
"Programming Language :: Python :: 3.12",
3131
"Programming Language :: Python :: 3.13",
32+
"Programming Language :: Python :: 3.14",
3233
"Topic :: Scientific/Engineering :: Artificial Intelligence",
3334
"Topic :: Software Development :: Libraries",
3435
]

py/plugins/dev-local-vectorstore/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.11",
3030
"Programming Language :: Python :: 3.12",
3131
"Programming Language :: Python :: 3.13",
32+
"Programming Language :: Python :: 3.14",
3233
"Topic :: Scientific/Engineering :: Artificial Intelligence",
3334
"Topic :: Software Development :: Libraries",
3435
]

py/plugins/evaluators/pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@ classifiers = [
2626
"Programming Language :: Python",
2727
"Programming Language :: Python :: 3.12",
2828
"Programming Language :: Python :: 3.13",
29+
"Programming Language :: Python :: 3.14",
2930
"Programming Language :: Python :: 3 :: Only",
3031
"Topic :: Scientific/Engineering :: Artificial Intelligence",
3132
"Topic :: Software Development :: Libraries",
3233
]
3334
dependencies = [
34-
"genkit",
35-
"jsonata-python>=0.5.3",
36-
"pydantic>=2.10.5",
37-
"strenum>=0.4.15; python_version < '3.11'",
35+
"genkit",
36+
"jsonata-python>=0.5.3",
37+
"pydantic>=2.10.5",
38+
"strenum>=0.4.15; python_version < '3.11'",
3839
]
3940
description = "Genkit Evaluators Plugin for RAGAS"
4041
license = { text = "Apache-2.0" }

py/plugins/evaluators/src/genkit/plugins/evaluators/constant.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717

1818
from collections.abc import Callable
19+
1920
try:
2021
from enum import StrEnum
2122
except ImportError:

py/plugins/firebase/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.11",
3030
"Programming Language :: Python :: 3.12",
3131
"Programming Language :: Python :: 3.13",
32+
"Programming Language :: Python :: 3.14",
3233
"Topic :: Scientific/Engineering :: Artificial Intelligence",
3334
"Topic :: Software Development :: Libraries",
3435
]

py/plugins/flask/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.11",
3030
"Programming Language :: Python :: 3.12",
3131
"Programming Language :: Python :: 3.13",
32+
"Programming Language :: Python :: 3.14",
3233
"Topic :: Scientific/Engineering :: Artificial Intelligence",
3334
"Topic :: Software Development :: Libraries",
3435
]

0 commit comments

Comments
 (0)