Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ topic:DX:
"CONTRIBUTING.md",
".pre-commit-config.yaml",
".gitignore",
"requirements.txt",
]
topic:security:
- changed-files:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_check_api_ref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:

- name: Install Hatch
if: steps.changed.outputs.integrations != '[]'
run: pip install hatch "virtualenv<21.0.0"
run: pip install hatch

- name: Generate API references
if: steps.changed.outputs.integrations != '[]'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_docusaurus_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
python-version: "3.10"

- name: Install Hatch
run: pip install hatch "virtualenv<21.0.0"
run: pip install hatch

- name: Get project folder
id: pathfinder
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
python-version: "3.12"

- name: Install dependencies
run: pip install hatch "virtualenv<21.0.0" requests
run: pip install hatch requests

- name: Validate version number
run: python .github/utils/validate_version.py --tag ${{ github.ref_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aimlapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amazon_bedrock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amazon_sagemaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/anthropic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/arcadedb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/astra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure_ai_search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure_doc_intelligence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chroma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cohere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cometapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deepeval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/faiss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fastembed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firecrawl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/google_genai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hanlp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jina.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/langfuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install Hatch
run: pip install hatch "virtualenv<21.0.0"
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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lara.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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'
Expand Down
37 changes: 19 additions & 18 deletions .github/workflows/llama_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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' }}
Expand All @@ -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
Expand All @@ -83,7 +84,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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/llama_stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 hatch

- name: Lint
if: matrix.python-version == '3.12' && runner.os == 'Linux'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: Set up Docker
if: runner.os == 'Linux'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/meta_llama.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mistral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mongodb_atlas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ollama.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openrouter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,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'
Expand Down
Loading
Loading