mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-10-12 02:12:50 +00:00
ci: revert the temporary Python 3.15 test run
The 3.15 run passed on all OSes: https://github.com/deepset-ai/haystack/actions/runs/38069150959 Revertsba1409e12,c9c1d0bb3anddef2e55a6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
def2e55a65
commit
fb62aba654
@@ -1,4 +0,0 @@
|
||||
# Temporary: jq has no cp315 Windows wheel and its sdist does not build on Windows.
|
||||
jq; sys_platform != "win32"
|
||||
# Temporary: pypdf 6.20.0 (2026-10-09) changes extracted text that test_pypdf_to_document.py expects; unrelated to 3.15.
|
||||
pypdf<6.20
|
||||
@@ -29,11 +29,7 @@ env:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
|
||||
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}
|
||||
PYTHON_VERSION: "3.15"
|
||||
# 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
|
||||
PYTHON_VERSION: "3.11"
|
||||
# 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"
|
||||
@@ -86,7 +82,6 @@ jobs:
|
||||
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
||||
with:
|
||||
python-version: "${{ env.PYTHON_VERSION }}"
|
||||
allow-prereleases: true
|
||||
|
||||
- name: Install Hatch
|
||||
run: |
|
||||
@@ -110,7 +105,6 @@ jobs:
|
||||
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
||||
with:
|
||||
python-version: "${{ env.PYTHON_VERSION }}"
|
||||
allow-prereleases: true
|
||||
|
||||
- name: Install Hatch
|
||||
run: |
|
||||
@@ -143,7 +137,6 @@ jobs:
|
||||
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
||||
with:
|
||||
python-version: "${{ env.PYTHON_VERSION }}"
|
||||
allow-prereleases: true
|
||||
|
||||
- name: Install Hatch
|
||||
id: hatch
|
||||
@@ -154,8 +147,6 @@ 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
|
||||
@@ -237,7 +228,6 @@ jobs:
|
||||
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
||||
with:
|
||||
python-version: "${{ env.PYTHON_VERSION }}"
|
||||
allow-prereleases: true
|
||||
|
||||
- name: Install Hatch
|
||||
id: hatch
|
||||
@@ -266,7 +256,6 @@ jobs:
|
||||
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
||||
with:
|
||||
python-version: "${{ env.PYTHON_VERSION }}"
|
||||
allow-prereleases: true
|
||||
|
||||
- name: Install Hatch
|
||||
id: hatch
|
||||
@@ -301,7 +290,6 @@ jobs:
|
||||
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
||||
with:
|
||||
python-version: "${{ env.PYTHON_VERSION }}"
|
||||
allow-prereleases: true
|
||||
|
||||
- name: Install Hatch
|
||||
id: hatch
|
||||
|
||||
Reference in New Issue
Block a user