mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-10-12 02:12:50 +00:00
ci: temporarily skip jq on Windows for the Python 3.15 run
jq 1.12.0 has no cp315 Windows wheel and its sdist does not build on Windows. To be reverted together with the 3.15 flip. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ba1409e125
commit
c9c1d0bb33
@@ -0,0 +1,2 @@
|
||||
# Temporary: jq has no cp315 Windows wheel and its sdist does not build on Windows.
|
||||
jq; sys_platform != "win32"
|
||||
@@ -33,6 +33,7 @@ env:
|
||||
# Temporary: PyTorch publishes cp315 wheels only on its own index so far.
|
||||
UV_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu
|
||||
UV_INDEX_STRATEGY: unsafe-best-match
|
||||
UV_OVERRIDE: ${{ github.workspace }}/.github/tmp-uv-overrides.txt
|
||||
# numpy's stubs require a 3.12+ interpreter, so type checking runs above the floor.
|
||||
# See [tool.mypy] in pyproject.toml.
|
||||
MYPY_PYTHON_VERSION: "3.12"
|
||||
@@ -153,6 +154,8 @@ jobs:
|
||||
echo "env=$(hatch env find test)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Run
|
||||
env:
|
||||
PYTEST_ADDOPTS: ${{ matrix.os == 'windows-latest' && '--ignore=test/components/converters/test_json.py' || '' }}
|
||||
run: hatch run test:unit
|
||||
|
||||
- uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
|
||||
Reference in New Issue
Block a user