diff --git a/.github/tmp-uv-overrides.txt b/.github/tmp-uv-overrides.txt deleted file mode 100644 index ca31a07d93..0000000000 --- a/.github/tmp-uv-overrides.txt +++ /dev/null @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d97e8863be..c684c36bb2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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