File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,16 +48,18 @@ jobs:
4848 TARGET_BRANCH : ${{ github.base_ref || github.event.merge_group.base_ref }}
4949 TEST_TYPE : unit
5050 PY_VERSION : ${{ matrix.python }}
51- # Use UV to speed up testing
52- # Force standard venv backend for 3.15, leave empty to let nox-uv handle others
53- NOX_FORCE_VENV_BACKEND : ${{ matrix.python == '3.15' && 'venv' || '' }}
54- # Unset the global uv seeder for 3.15 so the standard venv backend doesn't try to use virtualenv internals
5551 VIRTUALENV_SEEDER : ${{ matrix.python == '3.15' && '' || 'uv' }}
5652 # Workaround: Allows libcst to compile on Python 3.15+ while PyO3 catches up
5753 # Can be removed once libcst releases a version with native Python 3.15 wheels
5854 # Follow https://github.com/Instagram/LibCST/issues/1445 for updates.
5955 PYO3_USE_ABI3_FORWARD_COMPATIBILITY : " 1"
6056 run : |
57+ # Only inject overrides if we are strictly on the 3.15 pre-release
58+ # This is needed to speed up builds
59+ if [ "${{ matrix.python }}" = "3.15" ]; then
60+ export NOX_FORCE_VENV_BACKEND="venv"
61+ export VIRTUALENV_SEEDER=""
62+ fi
6163 ci/run_conditional_tests.sh
6264 - name : Upload coverage results
6365 uses : actions/upload-artifact@v5
You can’t perform that action at this time.
0 commit comments