diff --git a/.github/workflows/astra.yml b/.github/workflows/astra.yml index f47520f205..4bd026edc3 100644 --- a/.github/workflows/astra.yml +++ b/.github/workflows/astra.yml @@ -32,7 +32,7 @@ jobs: max-parallel: 1 matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.10", "3.13"] + python-version: ["3.10", "3.14"] steps: - name: Support longpaths diff --git a/.github/workflows/chroma.yml b/.github/workflows/chroma.yml index 39c74fb3e4..1cb8ea7766 100644 --- a/.github/workflows/chroma.yml +++ b/.github/workflows/chroma.yml @@ -31,7 +31,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.10", "3.13"] + python-version: ["3.10", "3.14"] steps: - name: Support longpaths diff --git a/.github/workflows/hanlp.yml b/.github/workflows/hanlp.yml index 1151e2e861..337a15f995 100644 --- a/.github/workflows/hanlp.yml +++ b/.github/workflows/hanlp.yml @@ -31,13 +31,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.10", "3.13"] - - # sentencepiece cannot be installed on Windows with Python 3.13 - # https://github.com/google/sentencepiece/issues/1111 - exclude: - - os: windows-latest - python-version: "3.13" + python-version: ["3.10", "3.14"] steps: - name: Support longpaths diff --git a/.github/workflows/ollama.yml b/.github/workflows/ollama.yml index 5e516ebe4a..a8cc1ad3f3 100644 --- a/.github/workflows/ollama.yml +++ b/.github/workflows/ollama.yml @@ -34,7 +34,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] # to test on other Operating Systems, we need to install Ollama differently - python-version: ["3.10", "3.13"] + python-version: ["3.10", "3.14"] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/optimum.yml b/.github/workflows/optimum.yml index c17e60111b..4902417803 100644 --- a/.github/workflows/optimum.yml +++ b/.github/workflows/optimum.yml @@ -31,7 +31,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.10", "3.13"] + python-version: ["3.10", "3.14"] steps: - name: Support longpaths @@ -50,9 +50,7 @@ jobs: run: pip install hatch "virtualenv<21.0.0" - name: Lint - # we check types with python 3.13 because with 3.9, the installation of some type stubs fails - # due to incompatibilities - if: matrix.python-version == '3.13' && runner.os == 'Linux' + if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types - name: Run tests diff --git a/.github/workflows/valkey.yml b/.github/workflows/valkey.yml index ade36c5cf2..a113f5c635 100644 --- a/.github/workflows/valkey.yml +++ b/.github/workflows/valkey.yml @@ -31,7 +31,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] # Valkey service container only available on Linux - python-version: ["3.10", "3.13"] + python-version: ["3.10", "3.14"] services: valkey: diff --git a/integrations/astra/pyproject.toml b/integrations/astra/pyproject.toml index c894f71354..4bbd98380b 100644 --- a/integrations/astra/pyproject.toml +++ b/integrations/astra/pyproject.toml @@ -19,11 +19,12 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] dependencies = [ - "astrapy>=1.5.0,<2.0", + "astrapy>=1.5.2,<2.0", "haystack-ai>=2.26.1", "pydantic", "typing_extensions", diff --git a/integrations/chroma/pyproject.toml b/integrations/chroma/pyproject.toml index 5d7403e9d1..8d4076d92c 100644 --- a/integrations/chroma/pyproject.toml +++ b/integrations/chroma/pyproject.toml @@ -19,12 +19,13 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] dependencies = [ "haystack-ai>=2.26.1", - "chromadb>=1.5.0" + "chromadb>=1.5.4" ] [project.urls] diff --git a/integrations/hanlp/pyproject.toml b/integrations/hanlp/pyproject.toml index bf5adef186..44694c00cc 100644 --- a/integrations/hanlp/pyproject.toml +++ b/integrations/hanlp/pyproject.toml @@ -19,6 +19,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] @@ -27,8 +28,8 @@ dependencies = [ "hanlp>=2.1.1", # the following pins can be removed once HanLP supports transformers 5 "transformers>=4.1.1,<5", - # tokenizers is a dependency of transformers. The following version is the first one which supports Python 3.13. - "tokenizers>=0.20.2", + # tokenizers is a dependency of transformers. The following version is the first one which supports Python 3.14. + "tokenizers>=0.21.0", ] [project.urls] diff --git a/integrations/ollama/pyproject.toml b/integrations/ollama/pyproject.toml index c4b788569c..ab38cb6ceb 100644 --- a/integrations/ollama/pyproject.toml +++ b/integrations/ollama/pyproject.toml @@ -23,10 +23,11 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] -dependencies = ["haystack-ai>=2.22.0", "ollama>=0.5.0", "pydantic", "tenacity>=8.2.3"] +dependencies = ["haystack-ai>=2.22.0", "ollama>=0.5.0", "pydantic>=2.12.0", "tenacity>=8.2.3"] [project.urls] Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/ollama#readme" diff --git a/integrations/optimum/pyproject.toml b/integrations/optimum/pyproject.toml index 9fa49d2ce8..3be632e89a 100644 --- a/integrations/optimum/pyproject.toml +++ b/integrations/optimum/pyproject.toml @@ -21,6 +21,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] @@ -33,8 +35,8 @@ dependencies = [ # Ref: https://github.com/huggingface/optimum/blob/8651c0ca1cccf095458bc80329dec9df4601edb4/optimum/exporters/onnx/__main__.py#L164 # "sentence-transformers" has been added, since most embedding models use it "sentence-transformers>=2.3", - # tokenizers is a dependency of transformers/sentence-transformers. The following version is the first one which supports Python 3.13. - "tokenizers>=0.20.2", + # tokenizers is a dependency of transformers/sentence-transformers. The following version is the first one which supports Python 3.14. + "tokenizers>=0.21.0", ] [project.urls] diff --git a/integrations/valkey/pyproject.toml b/integrations/valkey/pyproject.toml index ef8772340e..14d12f3c36 100644 --- a/integrations/valkey/pyproject.toml +++ b/integrations/valkey/pyproject.toml @@ -22,10 +22,11 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] -dependencies = ["haystack-ai>=2.26.1", "valkey-glide>=2.1.0", "valkey-glide-sync>=2.1.0"] +dependencies = ["haystack-ai>=2.26.1", "valkey-glide>=2.2.0", "valkey-glide-sync>=2.2.0"] [project.urls] Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/valkey#readme"