From 5e12270461e70e6592395fdb56ae43e998e34909 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Tue, 31 Mar 2026 18:29:56 +0200 Subject: [PATCH 1/4] chore: clean up CI workflows --- .github/labeler.yml | 1 - .github/workflows/CI_check_api_ref.yml | 2 +- .github/workflows/CI_docusaurus_sync.yml | 2 +- .github/workflows/CI_pypi_release.yml | 2 +- .github/workflows/aimlapi.yml | 2 +- .github/workflows/amazon_bedrock.yml | 2 +- .github/workflows/amazon_sagemaker.yml | 2 +- .github/workflows/anthropic.yml | 2 +- .github/workflows/arcadedb.yml | 2 +- .github/workflows/astra.yml | 2 +- .github/workflows/azure_ai_search.yml | 2 +- .github/workflows/azure_doc_intelligence.yml | 2 +- .github/workflows/chroma.yml | 2 +- .github/workflows/cohere.yml | 2 +- .github/workflows/cometapi.yml | 2 +- .github/workflows/deepeval.yml | 2 +- .github/workflows/elasticsearch.yml | 2 +- .github/workflows/faiss.yml | 2 +- .github/workflows/fastembed.yml | 2 +- .github/workflows/firecrawl.yml | 2 +- .github/workflows/github.yml | 2 +- .github/workflows/google_genai.yml | 2 +- .github/workflows/hanlp.yml | 2 +- .github/workflows/jina.yml | 2 +- .github/workflows/langfuse.yml | 2 +- .github/workflows/lara.yml | 2 +- .github/workflows/llama_cpp.yml | 37 ++++++++++---------- .github/workflows/llama_stack.yml | 2 +- .github/workflows/mcp.yml | 2 +- .github/workflows/meta_llama.yml | 2 +- .github/workflows/mistral.yml | 2 +- .github/workflows/mongodb_atlas.yml | 2 +- .github/workflows/nvidia.yml | 2 +- .github/workflows/ollama.yml | 2 +- .github/workflows/openrouter.yml | 2 +- .github/workflows/opensearch.yml | 2 +- .github/workflows/optimum.yml | 2 +- .github/workflows/paddleocr.yml | 2 +- .github/workflows/pgvector.yml | 2 +- .github/workflows/pinecone.yml | 2 +- .github/workflows/pyversity.yml | 2 +- .github/workflows/qdrant.yml | 2 +- .github/workflows/ragas.yml | 2 +- .github/workflows/snowflake.yml | 2 +- .github/workflows/stackit.yml | 2 +- .github/workflows/togetherai.yml | 2 +- .github/workflows/unstructured.yml | 2 +- .github/workflows/valkey.yml | 2 +- .github/workflows/watsonx.yml | 2 +- .github/workflows/weave.yml | 2 +- .github/workflows/weaviate.yml | 2 +- requirements.txt | 1 - 52 files changed, 68 insertions(+), 69 deletions(-) delete mode 100644 requirements.txt diff --git a/.github/labeler.yml b/.github/labeler.yml index 5db4a70fb4..4d44b76b10 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -274,7 +274,6 @@ topic:DX: "CONTRIBUTING.md", ".pre-commit-config.yaml", ".gitignore", - "requirements.txt", ] topic:security: - changed-files: diff --git a/.github/workflows/CI_check_api_ref.yml b/.github/workflows/CI_check_api_ref.yml index f2f2127727..318fcd1a56 100644 --- a/.github/workflows/CI_check_api_ref.yml +++ b/.github/workflows/CI_check_api_ref.yml @@ -81,7 +81,7 @@ jobs: - name: Install Hatch if: steps.changed.outputs.integrations != '[]' - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Generate API references if: steps.changed.outputs.integrations != '[]' diff --git a/.github/workflows/CI_docusaurus_sync.yml b/.github/workflows/CI_docusaurus_sync.yml index 0305e13a5d..17f1fc1344 100644 --- a/.github/workflows/CI_docusaurus_sync.yml +++ b/.github/workflows/CI_docusaurus_sync.yml @@ -32,7 +32,7 @@ jobs: python-version: "3.10" - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Get project folder id: pathfinder diff --git a/.github/workflows/CI_pypi_release.yml b/.github/workflows/CI_pypi_release.yml index a2176b9ce8..2107a5e9f3 100644 --- a/.github/workflows/CI_pypi_release.yml +++ b/.github/workflows/CI_pypi_release.yml @@ -37,7 +37,7 @@ jobs: python-version: "3.12" - name: Install dependencies - run: pip install hatch "virtualenv<21.0.0" requests + run: pip install pip install hatch requests - name: Validate version number run: python .github/utils/validate_version.py --tag ${{ github.ref_name }} diff --git a/.github/workflows/aimlapi.yml b/.github/workflows/aimlapi.yml index 873cabf075..5d2f9f94ad 100644 --- a/.github/workflows/aimlapi.yml +++ b/.github/workflows/aimlapi.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/amazon_bedrock.yml b/.github/workflows/amazon_bedrock.yml index e58d91f165..8266f2fe4c 100644 --- a/.github/workflows/amazon_bedrock.yml +++ b/.github/workflows/amazon_bedrock.yml @@ -85,7 +85,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/amazon_sagemaker.yml b/.github/workflows/amazon_sagemaker.yml index dcb3d1a601..5bfefd83d4 100644 --- a/.github/workflows/amazon_sagemaker.yml +++ b/.github/workflows/amazon_sagemaker.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/anthropic.yml b/.github/workflows/anthropic.yml index b95df31bb8..cb9b7c5208 100644 --- a/.github/workflows/anthropic.yml +++ b/.github/workflows/anthropic.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/arcadedb.yml b/.github/workflows/arcadedb.yml index 465559fb79..a7d389b305 100644 --- a/.github/workflows/arcadedb.yml +++ b/.github/workflows/arcadedb.yml @@ -80,7 +80,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/astra.yml b/.github/workflows/astra.yml index c45d4a5467..df1494971e 100644 --- a/.github/workflows/astra.yml +++ b/.github/workflows/astra.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/azure_ai_search.yml b/.github/workflows/azure_ai_search.yml index 47b7f7b497..d7dfc69fc4 100644 --- a/.github/workflows/azure_ai_search.yml +++ b/.github/workflows/azure_ai_search.yml @@ -72,7 +72,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/azure_doc_intelligence.yml b/.github/workflows/azure_doc_intelligence.yml index c1c833fd18..1d8b6011fb 100644 --- a/.github/workflows/azure_doc_intelligence.yml +++ b/.github/workflows/azure_doc_intelligence.yml @@ -72,7 +72,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/chroma.yml b/.github/workflows/chroma.yml index 753ee53d72..2b3fe91819 100644 --- a/.github/workflows/chroma.yml +++ b/.github/workflows/chroma.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/cohere.yml b/.github/workflows/cohere.yml index 2b6b1bcbc2..1cf5bad59e 100644 --- a/.github/workflows/cohere.yml +++ b/.github/workflows/cohere.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/cometapi.yml b/.github/workflows/cometapi.yml index 8ede1bb806..216011c7f6 100644 --- a/.github/workflows/cometapi.yml +++ b/.github/workflows/cometapi.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/deepeval.yml b/.github/workflows/deepeval.yml index d93c3cd4a0..86442b80e9 100644 --- a/.github/workflows/deepeval.yml +++ b/.github/workflows/deepeval.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/elasticsearch.yml b/.github/workflows/elasticsearch.yml index fc82a14688..06a6fe6c14 100644 --- a/.github/workflows/elasticsearch.yml +++ b/.github/workflows/elasticsearch.yml @@ -69,7 +69,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/faiss.yml b/.github/workflows/faiss.yml index 9cd95a9e6d..ed659393c4 100644 --- a/.github/workflows/faiss.yml +++ b/.github/workflows/faiss.yml @@ -70,7 +70,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/fastembed.yml b/.github/workflows/fastembed.yml index 28103169c4..54b7e3d148 100644 --- a/.github/workflows/fastembed.yml +++ b/.github/workflows/fastembed.yml @@ -63,7 +63,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/firecrawl.yml b/.github/workflows/firecrawl.yml index 3c7eaa5221..4eb7c29496 100644 --- a/.github/workflows/firecrawl.yml +++ b/.github/workflows/firecrawl.yml @@ -43,7 +43,7 @@ jobs: os: ${{ steps.set.outputs.os }} python-version: ${{ steps.set.outputs.python-version }} steps: - - id: set + - id: setpip install hatch run: | echo 'os=${{ github.event_name == 'push' && '["ubuntu-latest"]' || env.TEST_MATRIX_OS }}' >> $GITHUB_OUTPUT echo 'python-version=${{ github.event_name == 'push' && '["3.10"]' || env.TEST_MATRIX_PYTHON }}' >> $GITHUB_OUTPUT diff --git a/.github/workflows/github.yml b/.github/workflows/github.yml index ef2a56a04c..a1ff2d231b 100644 --- a/.github/workflows/github.yml +++ b/.github/workflows/github.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/google_genai.yml b/.github/workflows/google_genai.yml index 1a00528fab..a910bb5981 100644 --- a/.github/workflows/google_genai.yml +++ b/.github/workflows/google_genai.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/hanlp.yml b/.github/workflows/hanlp.yml index d7dee4e605..2aeeb823e6 100644 --- a/.github/workflows/hanlp.yml +++ b/.github/workflows/hanlp.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/jina.yml b/.github/workflows/jina.yml index 258b85b92f..8e0e13ff1d 100644 --- a/.github/workflows/jina.yml +++ b/.github/workflows/jina.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/langfuse.yml b/.github/workflows/langfuse.yml index 3ef58d8c26..3572babd7a 100644 --- a/.github/workflows/langfuse.yml +++ b/.github/workflows/langfuse.yml @@ -79,7 +79,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch # TODO: Once this integration is properly typed, use hatch run test:types # https://github.com/deepset-ai/haystack-core-integrations/issues/1771 diff --git a/.github/workflows/lara.yml b/.github/workflows/lara.yml index 9ef458ca20..bc90850ef3 100644 --- a/.github/workflows/lara.yml +++ b/.github/workflows/lara.yml @@ -45,7 +45,7 @@ jobs: python-version: ${{ steps.set.outputs.python-version }} steps: - id: set - run: | + run: |pip install hatch echo 'os=${{ github.event_name == 'push' && '["ubuntu-latest"]' || env.TEST_MATRIX_OS }}' >> $GITHUB_OUTPUT echo 'python-version=${{ github.event_name == 'push' && '["3.10"]' || env.TEST_MATRIX_PYTHON }}' >> $GITHUB_OUTPUT diff --git a/.github/workflows/llama_cpp.yml b/.github/workflows/llama_cpp.yml index 156aadf688..b92294d057 100644 --- a/.github/workflows/llama_cpp.yml +++ b/.github/workflows/llama_cpp.yml @@ -29,8 +29,6 @@ concurrency: env: PYTHONUNBUFFERED: "1" FORCE_COLOR: "1" - TEST_MATRIX_OS: '["ubuntu-latest", "windows-latest", "macos-latest"]' - TEST_MATRIX_PYTHON: '["3.10", "3.14"]' jobs: compute-test-matrix: @@ -39,13 +37,26 @@ jobs: run: working-directory: . outputs: - os: ${{ steps.set.outputs.os }} - python-version: ${{ steps.set.outputs.python-version }} + matrix: ${{ steps.set.outputs.matrix }} steps: - id: set run: | - echo 'os=${{ github.event_name == 'push' && '["ubuntu-latest"]' || env.TEST_MATRIX_OS }}' >> $GITHUB_OUTPUT - echo 'python-version=${{ github.event_name == 'push' && '["3.10"]' || env.TEST_MATRIX_PYTHON }}' >> $GITHUB_OUTPUT + if [ "${{ github.event_name }}" = "push" ]; then + echo 'matrix=[{"os":"ubuntu-latest","python-version":"3.10"}]' >> $GITHUB_OUTPUT + else + MATRIX='[' + MATRIX+='{"os":"ubuntu-latest","python-version":"3.10"},' + MATRIX+='{"os":"ubuntu-latest","python-version":"3.14"},' + MATRIX+='{"os":"windows-latest","python-version":"3.10"},' + MATRIX+='{"os":"windows-latest","python-version":"3.14"},' + # On macOS, pre-built wheels for 3.14 are not available and installing from source + # might fail due to missing dependencies (CMake fails with "OpenMP not found"). + # We test with 3.12 instead because pre-built wheels are available for this version. + MATRIX+='{"os":"macos-latest","python-version":"3.10"},' + MATRIX+='{"os":"macos-latest","python-version":"3.12"}' + MATRIX+=']' + echo "matrix=$MATRIX" >> $GITHUB_OUTPUT + fi run: name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} @@ -57,17 +68,7 @@ jobs: strategy: fail-fast: false matrix: - os: ${{ fromJSON(needs.compute-test-matrix.outputs.os) }} - python-version: ${{ fromJSON(needs.compute-test-matrix.outputs.python-version) }} - exclude: - # on macOS, pre-built wheels for 3.14 are not available and installing from source - # might fail due to missing dependencies (CMake fails with "OpenMP not found") - - os: macos-latest - python-version: "3.14" - include: - # on macOS, we test with 3.12 because pre-built wheels are available for this version - - os: macos-latest - python-version: "3.12" + include: ${{ fromJSON(needs.compute-test-matrix.outputs.matrix) }} steps: - name: Support longpaths @@ -83,7 +84,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/llama_stack.yml b/.github/workflows/llama_stack.yml index 5c072d1c88..cfc71907c3 100644 --- a/.github/workflows/llama_stack.yml +++ b/.github/workflows/llama_stack.yml @@ -137,7 +137,7 @@ jobs: curl -fsS http://localhost:8321/v1/models || { echo "Health check failed. Logs:"; cat server.log; exit 1; } - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.12' && runner.os == 'Linux' diff --git a/.github/workflows/mcp.yml b/.github/workflows/mcp.yml index 26761fa41d..a30ac387f2 100644 --- a/.github/workflows/mcp.yml +++ b/.github/workflows/mcp.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Set up Docker if: runner.os == 'Linux' diff --git a/.github/workflows/meta_llama.yml b/.github/workflows/meta_llama.yml index cf7d47eedf..1b1c0d4b89 100644 --- a/.github/workflows/meta_llama.yml +++ b/.github/workflows/meta_llama.yml @@ -49,7 +49,7 @@ jobs: echo 'python-version=${{ github.event_name == 'push' && '["3.10"]' || env.TEST_MATRIX_PYTHON }}' >> $GITHUB_OUTPUT run: - name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} + name: Python ${{ matrpip install hatch{{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} needs: compute-test-matrix permissions: contents: write diff --git a/.github/workflows/mistral.yml b/.github/workflows/mistral.yml index 348fd0923a..3c3b580255 100644 --- a/.github/workflows/mistral.yml +++ b/.github/workflows/mistral.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/mongodb_atlas.yml b/.github/workflows/mongodb_atlas.yml index 7fc1e32c04..860d5e3205 100644 --- a/.github/workflows/mongodb_atlas.yml +++ b/.github/workflows/mongodb_atlas.yml @@ -71,7 +71,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/nvidia.yml b/.github/workflows/nvidia.yml index 2a0d7ec714..217afad66c 100644 --- a/.github/workflows/nvidia.yml +++ b/.github/workflows/nvidia.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/ollama.yml b/.github/workflows/ollama.yml index 36dcaa8c0a..81a59de45e 100644 --- a/.github/workflows/ollama.yml +++ b/.github/workflows/ollama.yml @@ -113,7 +113,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/openrouter.yml b/.github/workflows/openrouter.yml index 597de34d90..3ab0586fec 100644 --- a/.github/workflows/openrouter.yml +++ b/.github/workflows/openrouter.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/opensearch.yml b/.github/workflows/opensearch.yml index 09cd4b2433..129f4e9991 100644 --- a/.github/workflows/opensearch.yml +++ b/.github/workflows/opensearch.yml @@ -69,7 +69,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/optimum.yml b/.github/workflows/optimum.yml index ddc6e381dd..cbc5e38016 100644 --- a/.github/workflows/optimum.yml +++ b/.github/workflows/optimum.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/paddleocr.yml b/.github/workflows/paddleocr.yml index 0c55991229..374b6929c1 100644 --- a/.github/workflows/paddleocr.yml +++ b/.github/workflows/paddleocr.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/pgvector.yml b/.github/workflows/pgvector.yml index 6732c77131..c3671a2789 100644 --- a/.github/workflows/pgvector.yml +++ b/.github/workflows/pgvector.yml @@ -78,7 +78,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/pinecone.yml b/.github/workflows/pinecone.yml index 48e5bb72cd..bbff9fd74c 100644 --- a/.github/workflows/pinecone.yml +++ b/.github/workflows/pinecone.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch # TODO: Once this integration is properly typed, use hatch run test:types # https://github.com/deepset-ai/haystack-core-integrations/issues/1771 diff --git a/.github/workflows/pyversity.yml b/.github/workflows/pyversity.yml index 1cc6e9b873..61b992ac29 100644 --- a/.github/workflows/pyversity.yml +++ b/.github/workflows/pyversity.yml @@ -63,7 +63,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/qdrant.yml b/.github/workflows/qdrant.yml index f8f35913ea..00b56709c5 100644 --- a/.github/workflows/qdrant.yml +++ b/.github/workflows/qdrant.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/ragas.yml b/.github/workflows/ragas.yml index 5940aa05dc..9da08fcc01 100644 --- a/.github/workflows/ragas.yml +++ b/.github/workflows/ragas.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/snowflake.yml b/.github/workflows/snowflake.yml index 5d389ec002..e271f73555 100644 --- a/.github/workflows/snowflake.yml +++ b/.github/workflows/snowflake.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/stackit.yml b/.github/workflows/stackit.yml index 6cae613b3f..30c8f4b05f 100644 --- a/.github/workflows/stackit.yml +++ b/.github/workflows/stackit.yml @@ -48,7 +48,7 @@ jobs: echo 'os=${{ github.event_name == 'push' && '["ubuntu-latest"]' || env.TEST_MATRIX_OS }}' >> $GITHUB_OUTPUT echo 'python-version=${{ github.event_name == 'push' && '["3.10"]' || env.TEST_MATRIX_PYTHON }}' >> $GITHUB_OUTPUT - run: + run:pip install hatch name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} needs: compute-test-matrix permissions: diff --git a/.github/workflows/togetherai.yml b/.github/workflows/togetherai.yml index af14ae5882..8ffa8cf477 100644 --- a/.github/workflows/togetherai.yml +++ b/.github/workflows/togetherai.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/unstructured.yml b/.github/workflows/unstructured.yml index 5680a2bba1..95d3ca04e0 100644 --- a/.github/workflows/unstructured.yml +++ b/.github/workflows/unstructured.yml @@ -60,7 +60,7 @@ jobs: os: ${{ fromJSON(needs.compute-test-matrix.outputs.os) }} python-version: ${{ fromJSON(needs.compute-test-matrix.outputs.python-version) }} - steps: + steps:pip install hatch - name: Free up disk space working-directory: . run: | diff --git a/.github/workflows/valkey.yml b/.github/workflows/valkey.yml index 0bec7df2dc..1615a0ad6e 100644 --- a/.github/workflows/valkey.yml +++ b/.github/workflows/valkey.yml @@ -80,7 +80,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/watsonx.yml b/.github/workflows/watsonx.yml index 552422334f..7f25f63907 100644 --- a/.github/workflows/watsonx.yml +++ b/.github/workflows/watsonx.yml @@ -49,7 +49,7 @@ jobs: echo 'os=${{ github.event_name == 'push' && '["ubuntu-latest"]' || env.TEST_MATRIX_OS }}' >> $GITHUB_OUTPUT echo 'python-version=${{ github.event_name == 'push' && '["3.10"]' || env.TEST_MATRIX_PYTHON }}' >> $GITHUB_OUTPUT - run: + run:pip install hatch name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} needs: compute-test-matrix permissions: diff --git a/.github/workflows/weave.yml b/.github/workflows/weave.yml index b14d540832..9ca9fc10af 100644 --- a/.github/workflows/weave.yml +++ b/.github/workflows/weave.yml @@ -71,7 +71,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/weaviate.yml b/.github/workflows/weaviate.yml index 3f72d285e8..9018cc8bac 100644 --- a/.github/workflows/weaviate.yml +++ b/.github/workflows/weaviate.yml @@ -69,7 +69,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index f06bada8ed..0000000000 --- a/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -hatch From 4885bf8313e0d8cbe4d8417a30484be17ccf73e7 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Tue, 31 Mar 2026 18:34:26 +0200 Subject: [PATCH 2/4] fixes --- .github/workflows/CI_check_api_ref.yml | 2 +- .github/workflows/CI_docusaurus_sync.yml | 2 +- .github/workflows/CI_pypi_release.yml | 2 +- .github/workflows/aimlapi.yml | 2 +- .github/workflows/amazon_bedrock.yml | 2 +- .github/workflows/amazon_sagemaker.yml | 2 +- .github/workflows/anthropic.yml | 2 +- .github/workflows/arcadedb.yml | 2 +- .github/workflows/astra.yml | 2 +- .github/workflows/azure_ai_search.yml | 2 +- .github/workflows/azure_doc_intelligence.yml | 2 +- .github/workflows/chroma.yml | 2 +- .github/workflows/cohere.yml | 2 +- .github/workflows/cometapi.yml | 2 +- .github/workflows/deepeval.yml | 2 +- .github/workflows/elasticsearch.yml | 2 +- .github/workflows/faiss.yml | 2 +- .github/workflows/fastembed.yml | 2 +- .github/workflows/github.yml | 2 +- .github/workflows/google_genai.yml | 2 +- .github/workflows/hanlp.yml | 2 +- .github/workflows/jina.yml | 2 +- .github/workflows/langfuse.yml | 2 +- .github/workflows/llama_cpp.yml | 2 +- .github/workflows/llama_stack.yml | 2 +- .github/workflows/mcp.yml | 2 +- .github/workflows/mistral.yml | 2 +- .github/workflows/mongodb_atlas.yml | 2 +- .github/workflows/nvidia.yml | 2 +- .github/workflows/ollama.yml | 2 +- .github/workflows/openrouter.yml | 2 +- .github/workflows/opensearch.yml | 2 +- .github/workflows/optimum.yml | 2 +- .github/workflows/paddleocr.yml | 2 +- .github/workflows/pgvector.yml | 2 +- .github/workflows/pinecone.yml | 2 +- .github/workflows/pyversity.yml | 2 +- .github/workflows/qdrant.yml | 2 +- .github/workflows/ragas.yml | 2 +- .github/workflows/snowflake.yml | 2 +- .github/workflows/stackit.yml | 2 +- .github/workflows/togetherai.yml | 2 +- .github/workflows/valkey.yml | 2 +- .github/workflows/watsonx.yml | 2 +- .github/workflows/weave.yml | 2 +- .github/workflows/weaviate.yml | 2 +- 46 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.github/workflows/CI_check_api_ref.yml b/.github/workflows/CI_check_api_ref.yml index 318fcd1a56..6eaeb2f6cc 100644 --- a/.github/workflows/CI_check_api_ref.yml +++ b/.github/workflows/CI_check_api_ref.yml @@ -81,7 +81,7 @@ jobs: - name: Install Hatch if: steps.changed.outputs.integrations != '[]' - run: pip install pip install hatch + run: pip install hatch - name: Generate API references if: steps.changed.outputs.integrations != '[]' diff --git a/.github/workflows/CI_docusaurus_sync.yml b/.github/workflows/CI_docusaurus_sync.yml index 17f1fc1344..e1aba9e8ce 100644 --- a/.github/workflows/CI_docusaurus_sync.yml +++ b/.github/workflows/CI_docusaurus_sync.yml @@ -32,7 +32,7 @@ jobs: python-version: "3.10" - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Get project folder id: pathfinder diff --git a/.github/workflows/CI_pypi_release.yml b/.github/workflows/CI_pypi_release.yml index 2107a5e9f3..7fc85ecf91 100644 --- a/.github/workflows/CI_pypi_release.yml +++ b/.github/workflows/CI_pypi_release.yml @@ -37,7 +37,7 @@ jobs: python-version: "3.12" - name: Install dependencies - run: pip install pip install hatch requests + run: pip install hatch requests - name: Validate version number run: python .github/utils/validate_version.py --tag ${{ github.ref_name }} diff --git a/.github/workflows/aimlapi.yml b/.github/workflows/aimlapi.yml index 5d2f9f94ad..5abe4b6573 100644 --- a/.github/workflows/aimlapi.yml +++ b/.github/workflows/aimlapi.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/amazon_bedrock.yml b/.github/workflows/amazon_bedrock.yml index 8266f2fe4c..a9704799c5 100644 --- a/.github/workflows/amazon_bedrock.yml +++ b/.github/workflows/amazon_bedrock.yml @@ -85,7 +85,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/amazon_sagemaker.yml b/.github/workflows/amazon_sagemaker.yml index 5bfefd83d4..6b697ea0a2 100644 --- a/.github/workflows/amazon_sagemaker.yml +++ b/.github/workflows/amazon_sagemaker.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/anthropic.yml b/.github/workflows/anthropic.yml index cb9b7c5208..e542d59f04 100644 --- a/.github/workflows/anthropic.yml +++ b/.github/workflows/anthropic.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/arcadedb.yml b/.github/workflows/arcadedb.yml index a7d389b305..302d8b68a1 100644 --- a/.github/workflows/arcadedb.yml +++ b/.github/workflows/arcadedb.yml @@ -80,7 +80,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/astra.yml b/.github/workflows/astra.yml index df1494971e..62cc41df88 100644 --- a/.github/workflows/astra.yml +++ b/.github/workflows/astra.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/azure_ai_search.yml b/.github/workflows/azure_ai_search.yml index d7dfc69fc4..a640c72ec7 100644 --- a/.github/workflows/azure_ai_search.yml +++ b/.github/workflows/azure_ai_search.yml @@ -72,7 +72,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/azure_doc_intelligence.yml b/.github/workflows/azure_doc_intelligence.yml index 1d8b6011fb..534b0f50d0 100644 --- a/.github/workflows/azure_doc_intelligence.yml +++ b/.github/workflows/azure_doc_intelligence.yml @@ -72,7 +72,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/chroma.yml b/.github/workflows/chroma.yml index 2b3fe91819..1310b05acb 100644 --- a/.github/workflows/chroma.yml +++ b/.github/workflows/chroma.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/cohere.yml b/.github/workflows/cohere.yml index 1cf5bad59e..4162e7c63a 100644 --- a/.github/workflows/cohere.yml +++ b/.github/workflows/cohere.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/cometapi.yml b/.github/workflows/cometapi.yml index 216011c7f6..3a55791ae4 100644 --- a/.github/workflows/cometapi.yml +++ b/.github/workflows/cometapi.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/deepeval.yml b/.github/workflows/deepeval.yml index 86442b80e9..479784ff1d 100644 --- a/.github/workflows/deepeval.yml +++ b/.github/workflows/deepeval.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/elasticsearch.yml b/.github/workflows/elasticsearch.yml index 06a6fe6c14..76f87bc96a 100644 --- a/.github/workflows/elasticsearch.yml +++ b/.github/workflows/elasticsearch.yml @@ -69,7 +69,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/faiss.yml b/.github/workflows/faiss.yml index ed659393c4..5ff25ddb82 100644 --- a/.github/workflows/faiss.yml +++ b/.github/workflows/faiss.yml @@ -70,7 +70,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/fastembed.yml b/.github/workflows/fastembed.yml index 54b7e3d148..4b2d905265 100644 --- a/.github/workflows/fastembed.yml +++ b/.github/workflows/fastembed.yml @@ -63,7 +63,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/github.yml b/.github/workflows/github.yml index a1ff2d231b..0f8b4c570e 100644 --- a/.github/workflows/github.yml +++ b/.github/workflows/github.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/google_genai.yml b/.github/workflows/google_genai.yml index a910bb5981..1b5fd3fa63 100644 --- a/.github/workflows/google_genai.yml +++ b/.github/workflows/google_genai.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/hanlp.yml b/.github/workflows/hanlp.yml index 2aeeb823e6..094026d48c 100644 --- a/.github/workflows/hanlp.yml +++ b/.github/workflows/hanlp.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/jina.yml b/.github/workflows/jina.yml index 8e0e13ff1d..c0b366aa75 100644 --- a/.github/workflows/jina.yml +++ b/.github/workflows/jina.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/langfuse.yml b/.github/workflows/langfuse.yml index 3572babd7a..2b6d050adf 100644 --- a/.github/workflows/langfuse.yml +++ b/.github/workflows/langfuse.yml @@ -79,7 +79,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch # TODO: Once this integration is properly typed, use hatch run test:types # https://github.com/deepset-ai/haystack-core-integrations/issues/1771 diff --git a/.github/workflows/llama_cpp.yml b/.github/workflows/llama_cpp.yml index b92294d057..1b58018791 100644 --- a/.github/workflows/llama_cpp.yml +++ b/.github/workflows/llama_cpp.yml @@ -84,7 +84,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/llama_stack.yml b/.github/workflows/llama_stack.yml index cfc71907c3..d81c5709ba 100644 --- a/.github/workflows/llama_stack.yml +++ b/.github/workflows/llama_stack.yml @@ -137,7 +137,7 @@ jobs: curl -fsS http://localhost:8321/v1/models || { echo "Health check failed. Logs:"; cat server.log; exit 1; } - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.12' && runner.os == 'Linux' diff --git a/.github/workflows/mcp.yml b/.github/workflows/mcp.yml index a30ac387f2..d5e8b3fb84 100644 --- a/.github/workflows/mcp.yml +++ b/.github/workflows/mcp.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Set up Docker if: runner.os == 'Linux' diff --git a/.github/workflows/mistral.yml b/.github/workflows/mistral.yml index 3c3b580255..2f866de805 100644 --- a/.github/workflows/mistral.yml +++ b/.github/workflows/mistral.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/mongodb_atlas.yml b/.github/workflows/mongodb_atlas.yml index 860d5e3205..bdbf4ffaf1 100644 --- a/.github/workflows/mongodb_atlas.yml +++ b/.github/workflows/mongodb_atlas.yml @@ -71,7 +71,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/nvidia.yml b/.github/workflows/nvidia.yml index 217afad66c..06f716fb8b 100644 --- a/.github/workflows/nvidia.yml +++ b/.github/workflows/nvidia.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/ollama.yml b/.github/workflows/ollama.yml index 81a59de45e..d946261308 100644 --- a/.github/workflows/ollama.yml +++ b/.github/workflows/ollama.yml @@ -113,7 +113,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/openrouter.yml b/.github/workflows/openrouter.yml index 3ab0586fec..a5bb0a2b73 100644 --- a/.github/workflows/openrouter.yml +++ b/.github/workflows/openrouter.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/opensearch.yml b/.github/workflows/opensearch.yml index 129f4e9991..4579b523a5 100644 --- a/.github/workflows/opensearch.yml +++ b/.github/workflows/opensearch.yml @@ -69,7 +69,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/optimum.yml b/.github/workflows/optimum.yml index cbc5e38016..12a5236e59 100644 --- a/.github/workflows/optimum.yml +++ b/.github/workflows/optimum.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/paddleocr.yml b/.github/workflows/paddleocr.yml index 374b6929c1..9264916a90 100644 --- a/.github/workflows/paddleocr.yml +++ b/.github/workflows/paddleocr.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/pgvector.yml b/.github/workflows/pgvector.yml index c3671a2789..7fec29861e 100644 --- a/.github/workflows/pgvector.yml +++ b/.github/workflows/pgvector.yml @@ -78,7 +78,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/pinecone.yml b/.github/workflows/pinecone.yml index bbff9fd74c..4572ce3a67 100644 --- a/.github/workflows/pinecone.yml +++ b/.github/workflows/pinecone.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch # TODO: Once this integration is properly typed, use hatch run test:types # https://github.com/deepset-ai/haystack-core-integrations/issues/1771 diff --git a/.github/workflows/pyversity.yml b/.github/workflows/pyversity.yml index 61b992ac29..147c40742e 100644 --- a/.github/workflows/pyversity.yml +++ b/.github/workflows/pyversity.yml @@ -63,7 +63,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/qdrant.yml b/.github/workflows/qdrant.yml index 00b56709c5..cc45355766 100644 --- a/.github/workflows/qdrant.yml +++ b/.github/workflows/qdrant.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/ragas.yml b/.github/workflows/ragas.yml index 9da08fcc01..42f8d4f6e8 100644 --- a/.github/workflows/ragas.yml +++ b/.github/workflows/ragas.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/snowflake.yml b/.github/workflows/snowflake.yml index e271f73555..c9271fd05b 100644 --- a/.github/workflows/snowflake.yml +++ b/.github/workflows/snowflake.yml @@ -74,7 +74,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/stackit.yml b/.github/workflows/stackit.yml index 30c8f4b05f..6cae613b3f 100644 --- a/.github/workflows/stackit.yml +++ b/.github/workflows/stackit.yml @@ -48,7 +48,7 @@ jobs: echo 'os=${{ github.event_name == 'push' && '["ubuntu-latest"]' || env.TEST_MATRIX_OS }}' >> $GITHUB_OUTPUT echo 'python-version=${{ github.event_name == 'push' && '["3.10"]' || env.TEST_MATRIX_PYTHON }}' >> $GITHUB_OUTPUT - run:pip install hatch + run: name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} needs: compute-test-matrix permissions: diff --git a/.github/workflows/togetherai.yml b/.github/workflows/togetherai.yml index 8ffa8cf477..015acde728 100644 --- a/.github/workflows/togetherai.yml +++ b/.github/workflows/togetherai.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/valkey.yml b/.github/workflows/valkey.yml index 1615a0ad6e..ecc52a58d5 100644 --- a/.github/workflows/valkey.yml +++ b/.github/workflows/valkey.yml @@ -80,7 +80,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/watsonx.yml b/.github/workflows/watsonx.yml index 7f25f63907..552422334f 100644 --- a/.github/workflows/watsonx.yml +++ b/.github/workflows/watsonx.yml @@ -49,7 +49,7 @@ jobs: echo 'os=${{ github.event_name == 'push' && '["ubuntu-latest"]' || env.TEST_MATRIX_OS }}' >> $GITHUB_OUTPUT echo 'python-version=${{ github.event_name == 'push' && '["3.10"]' || env.TEST_MATRIX_PYTHON }}' >> $GITHUB_OUTPUT - run:pip install hatch + run: name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} needs: compute-test-matrix permissions: diff --git a/.github/workflows/weave.yml b/.github/workflows/weave.yml index 9ca9fc10af..48061363fa 100644 --- a/.github/workflows/weave.yml +++ b/.github/workflows/weave.yml @@ -71,7 +71,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/weaviate.yml b/.github/workflows/weaviate.yml index 9018cc8bac..0ea536285f 100644 --- a/.github/workflows/weaviate.yml +++ b/.github/workflows/weaviate.yml @@ -69,7 +69,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install pip install hatch + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' From e7ba3efc7af6e75815389fc565bde5e1bce96e74 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Tue, 31 Mar 2026 18:37:08 +0200 Subject: [PATCH 3/4] fixes --- .github/workflows/firecrawl.yml | 4 ++-- .github/workflows/lara.yml | 2 +- .github/workflows/meta_llama.yml | 2 +- .github/workflows/stackit.yml | 2 +- .github/workflows/unstructured.yml | 2 +- .github/workflows/watsonx.yml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/firecrawl.yml b/.github/workflows/firecrawl.yml index 4eb7c29496..b9808e6458 100644 --- a/.github/workflows/firecrawl.yml +++ b/.github/workflows/firecrawl.yml @@ -43,7 +43,7 @@ jobs: os: ${{ steps.set.outputs.os }} python-version: ${{ steps.set.outputs.python-version }} steps: - - id: setpip install hatch + - id: set run: | echo 'os=${{ github.event_name == 'push' && '["ubuntu-latest"]' || env.TEST_MATRIX_OS }}' >> $GITHUB_OUTPUT echo 'python-version=${{ github.event_name == 'push' && '["3.10"]' || env.TEST_MATRIX_PYTHON }}' >> $GITHUB_OUTPUT @@ -70,7 +70,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/lara.yml b/.github/workflows/lara.yml index bc90850ef3..948a3dd7a7 100644 --- a/.github/workflows/lara.yml +++ b/.github/workflows/lara.yml @@ -72,7 +72,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/meta_llama.yml b/.github/workflows/meta_llama.yml index 1b1c0d4b89..d93e8a28d9 100644 --- a/.github/workflows/meta_llama.yml +++ b/.github/workflows/meta_llama.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/stackit.yml b/.github/workflows/stackit.yml index 6cae613b3f..26e335d3a0 100644 --- a/.github/workflows/stackit.yml +++ b/.github/workflows/stackit.yml @@ -75,7 +75,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/unstructured.yml b/.github/workflows/unstructured.yml index 95d3ca04e0..49a558ad92 100644 --- a/.github/workflows/unstructured.yml +++ b/.github/workflows/unstructured.yml @@ -86,7 +86,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/watsonx.yml b/.github/workflows/watsonx.yml index 552422334f..7008e734e3 100644 --- a/.github/workflows/watsonx.yml +++ b/.github/workflows/watsonx.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install hatch "virtualenv<21.0.0" + run: pip install hatch - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' From 7e4a57a3f2816a329b1609c9078f108f0c6c06a6 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Tue, 31 Mar 2026 18:43:23 +0200 Subject: [PATCH 4/4] fix flaky tests --- .../llama_stack/tests/test_llama_stack_chat_generator.py | 2 +- integrations/togetherai/tests/test_togetherai_chat_generator.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/llama_stack/tests/test_llama_stack_chat_generator.py b/integrations/llama_stack/tests/test_llama_stack_chat_generator.py index e9dc87ecbd..832bfb5808 100644 --- a/integrations/llama_stack/tests/test_llama_stack_chat_generator.py +++ b/integrations/llama_stack/tests/test_llama_stack_chat_generator.py @@ -492,6 +492,6 @@ def test_live_run_with_response_format_pydantic_model(self, calendar_event_model assert len(results["replies"]) == 1 message: ChatMessage = results["replies"][0] msg = json.loads(message.text) - assert "Marketing Summit" in msg["event_name"] + assert "marketing summit" in msg["event_name"].lower() assert isinstance(msg["event_date"], str) assert isinstance(msg["event_location"], str) diff --git a/integrations/togetherai/tests/test_togetherai_chat_generator.py b/integrations/togetherai/tests/test_togetherai_chat_generator.py index 3d34fa50af..18d5ab40b4 100644 --- a/integrations/togetherai/tests/test_togetherai_chat_generator.py +++ b/integrations/togetherai/tests/test_togetherai_chat_generator.py @@ -481,7 +481,7 @@ def test_live_run_with_response_format_pydantic_model(self, calendar_event_model assert len(results["replies"]) == 1 message: ChatMessage = results["replies"][0] msg = json.loads(message.text) - assert "Marketing Summit" in msg["event_name"] + assert "marketing summit" in msg["event_name"].lower() assert isinstance(msg["event_date"], str) assert isinstance(msg["event_location"], str)