Skip to content

Commit 3e0fac7

Browse files
committed
chore: increase lower pins for 3.14 support in some integrations + test with 3.14
1 parent bb28cc4 commit 3e0fac7

12 files changed

Lines changed: 27 additions & 22 deletions

File tree

.github/workflows/astra.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
max-parallel: 1
3333
matrix:
3434
os: [ubuntu-latest, windows-latest, macos-latest]
35-
python-version: ["3.10", "3.13"]
35+
python-version: ["3.10", "3.14"]
3636

3737
steps:
3838
- name: Support longpaths

.github/workflows/chroma.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
os: [ubuntu-latest, windows-latest, macos-latest]
34-
python-version: ["3.10", "3.13"]
34+
python-version: ["3.10", "3.14"]
3535

3636
steps:
3737
- name: Support longpaths

.github/workflows/hanlp.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
os: [ubuntu-latest, windows-latest, macos-latest]
34-
python-version: ["3.10", "3.13"]
34+
python-version: ["3.10", "3.14"]
3535

36-
# sentencepiece cannot be installed on Windows with Python 3.13
37-
# https://github.com/google/sentencepiece/issues/1111
38-
exclude:
39-
- os: windows-latest
40-
python-version: "3.13"
36+
# # sentencepiece cannot be installed on Windows with Python 3.14
37+
# # https://github.com/google/sentencepiece/issues/1111
38+
# exclude:
39+
# - os: windows-latest
40+
# python-version: "3.14"
4141

4242
steps:
4343
- name: Support longpaths

.github/workflows/ollama.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
os: [ubuntu-latest] # to test on other Operating Systems, we need to install Ollama differently
37-
python-version: ["3.10", "3.13"]
37+
python-version: ["3.10", "3.14"]
3838

3939
steps:
4040
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/optimum.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
os: [ubuntu-latest, windows-latest, macos-latest]
34-
python-version: ["3.10", "3.13"]
34+
python-version: ["3.10", "3.14"]
3535

3636
steps:
3737
- name: Support longpaths
@@ -50,9 +50,7 @@ jobs:
5050
run: pip install hatch "virtualenv<21.0.0"
5151

5252
- name: Lint
53-
# we check types with python 3.13 because with 3.9, the installation of some type stubs fails
54-
# due to incompatibilities
55-
if: matrix.python-version == '3.13' && runner.os == 'Linux'
53+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5654
run: hatch run fmt-check && hatch run test:types
5755

5856
- name: Run tests

.github/workflows/valkey.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
os: [ubuntu-latest] # Valkey service container only available on Linux
34-
python-version: ["3.10", "3.13"]
34+
python-version: ["3.10", "3.14"]
3535

3636
services:
3737
valkey:

integrations/astra/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
"Programming Language :: Python :: Implementation :: CPython",
2324
"Programming Language :: Python :: Implementation :: PyPy",
2425
]
2526
dependencies = [
26-
"astrapy>=1.5.0,<2.0",
27+
"astrapy>=1.5.2,<2.0",
2728
"haystack-ai>=2.26.1",
2829
"pydantic",
2930
"typing_extensions",

integrations/chroma/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
"Programming Language :: Python :: Implementation :: CPython",
2324
"Programming Language :: Python :: Implementation :: PyPy",
2425
]
2526
dependencies = [
2627
"haystack-ai>=2.26.1",
27-
"chromadb>=1.5.0"
28+
"chromadb>=1.5.4"
2829
]
2930

3031
[project.urls]

integrations/hanlp/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
"Programming Language :: Python :: Implementation :: CPython",
2324
"Programming Language :: Python :: Implementation :: PyPy",
2425
]
@@ -27,8 +28,8 @@ dependencies = [
2728
"hanlp>=2.1.1",
2829
# the following pins can be removed once HanLP supports transformers 5
2930
"transformers>=4.1.1,<5",
30-
# tokenizers is a dependency of transformers. The following version is the first one which supports Python 3.13.
31-
"tokenizers>=0.20.2",
31+
# tokenizers is a dependency of transformers. The following version is the first one which supports Python 3.14.
32+
"tokenizers>=0.21.0",
3233
]
3334

3435
[project.urls]

integrations/ollama/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ classifiers = [
2323
"Programming Language :: Python :: 3.11",
2424
"Programming Language :: Python :: 3.12",
2525
"Programming Language :: Python :: 3.13",
26+
"Programming Language :: Python :: 3.14",
2627
"Programming Language :: Python :: Implementation :: CPython",
2728
"Programming Language :: Python :: Implementation :: PyPy",
2829
]
29-
dependencies = ["haystack-ai>=2.22.0", "ollama>=0.5.0", "pydantic", "tenacity>=8.2.3"]
30+
dependencies = ["haystack-ai>=2.22.0", "ollama>=0.5.0", "pydantic>=2.12.0", "tenacity>=8.2.3"]
3031

3132
[project.urls]
3233
Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/ollama#readme"

0 commit comments

Comments
 (0)