From f57cc576465144f77601fbe1db7fa2f62ae1a3dc Mon Sep 17 00:00:00 2001 From: Galen Lynch Date: Tue, 14 Apr 2026 16:54:30 -0700 Subject: [PATCH 1/3] testing: use uv and caching Should speed things up. --- .../actions/build-test-environment/action.yml | 10 +-- .github/workflows/all-tests.yml | 72 ++++++++++--------- .github/workflows/caches_cron_job.yml | 11 +-- .github/workflows/core-test.yml | 13 ++-- .github/workflows/deepinterpolation.yml | 17 +++-- .github/workflows/full-test-with-codecov.yml | 8 ++- .github/workflows/installation-tips-test.yml | 12 ++-- .github/workflows/publish-to-pypi.yml | 15 ++-- .github/workflows/test_containers_docker.yml | 13 ++-- .../workflows/test_containers_singularity.yml | 13 ++-- .github/workflows/test_imports.yml | 11 +-- .github/workflows/test_kilosort4.yml | 24 ++++--- 12 files changed, 128 insertions(+), 91 deletions(-) diff --git a/.github/actions/build-test-environment/action.yml b/.github/actions/build-test-environment/action.yml index 1d67bd4297..f25c485b6b 100644 --- a/.github/actions/build-test-environment/action.yml +++ b/.github/actions/build-test-environment/action.yml @@ -8,13 +8,13 @@ runs: run: | git config --global user.email "CI@example.com" git config --global user.name "CI Almighty" - pip install tabulate # This produces summaries at the end - pip install -e .[test,extractors,streaming_extractors,test_extractors,full] + uv pip install --system tabulate # This produces summaries at the end + uv pip install --system -e .[test,extractors,streaming_extractors,test_extractors,full] shell: bash - name: Install git-annex shell: bash run: | - pip install datalad-installer + uv pip install --system datalad-installer datalad-installer --sudo ok git-annex --method datalad/packages git config --global filter.annex.process "git-annex filter-process" # recommended for efficiency - name: Force installation of latest dev from key-packages when running dev (not release) @@ -22,8 +22,8 @@ runs: spikeinterface_is_dev_version=$(python -c "import spikeinterface; print(spikeinterface.DEV_MODE)") if [ $spikeinterface_is_dev_version = "True" ]; then echo "Running spikeinterface dev version" - pip install --no-cache-dir git+https://github.com/NeuralEnsemble/python-neo - pip install --no-cache-dir git+https://github.com/SpikeInterface/probeinterface + uv pip install --system git+https://github.com/NeuralEnsemble/python-neo + uv pip install --system git+https://github.com/SpikeInterface/probeinterface fi echo "Running tests for release, using pyproject.toml versions of neo and probeinterface" shell: bash diff --git a/.github/workflows/all-tests.yml b/.github/workflows/all-tests.yml index 0d242b759a..d147c360bd 100644 --- a/.github/workflows/all-tests.yml +++ b/.github/workflows/all-tests.yml @@ -29,9 +29,13 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} + - uses: astral-sh/setup-uv@v8 + with: + python-version: ${{ matrix.python-version }} + enable-cache: true - name: Free space if: runner.os == 'Linux' @@ -83,11 +87,11 @@ jobs: - name: Install packages run: | - pip install -e .[test_core] + uv pip install --system -e .[test_core] shell: bash - name: Pip list - run: pip list + run: uv pip list --system - name: Test core run: pytest -m "core" @@ -95,8 +99,8 @@ jobs: - name: Install Dependencies for Timing Display run: | - pip install tabulate - pip install pandas + uv pip install --system tabulate + uv pip install --system pandas shell: bash - name: Get current hash (SHA) of the ephy_testing_data repo @@ -117,7 +121,7 @@ jobs: shell: bash if: env.RUN_EXTRACTORS_TESTS == 'true' || env.RUN_PREPROCESSING_TESTS == 'true' run: | - pip install datalad-installer + uv pip install --system datalad-installer if [ ${{ runner.os }} = 'Linux' ]; then datalad-installer --sudo ok git-annex --method datalad/packages elif [ ${{ runner.os }} = 'macOS' ]; then @@ -141,78 +145,78 @@ jobs: HDF5_PLUGIN_PATH: ${{ github.workspace }}/hdf5_plugin_path_maxwell if: env.RUN_EXTRACTORS_TESTS == 'true' run: | - pip install -e .[extractors,streaming_extractors,test_extractors] - pip list + uv pip install --system -e .[extractors,streaming_extractors,test_extractors] + uv pip list --system ./.github/run_tests.sh "extractors and not streaming_extractors" --no-virtual-env - name: Test streaming extractors shell: bash if: env.RUN_STREAMING_EXTRACTORS_TESTS == 'true' run: | - pip install -e .[streaming_extractors,test_extractors] - pip list + uv pip install --system -e .[streaming_extractors,test_extractors] + uv pip list --system ./.github/run_tests.sh "streaming_extractors" --no-virtual-env - name: Test preprocessing shell: bash if: env.RUN_PREPROCESSING_TESTS == 'true' run: | - pip install -e .[preprocessing,test_preprocessing] - pip list + uv pip install --system -e .[preprocessing,test_preprocessing] + uv pip list --system ./.github/run_tests.sh "preprocessing and not deepinterpolation" --no-virtual-env - name: Install remaining testing dependencies # TODO: Remove this step once we have better modularization shell: bash run: | - pip install -e .[test] - pip list + uv pip install --system -e .[test] + uv pip list --system - name: Test postprocessing shell: bash if: env.RUN_POSTPROCESSING_TESTS == 'true' run: | - pip install -e .[full] - pip list + uv pip install --system -e .[full] + uv pip list --system ./.github/run_tests.sh postprocessing --no-virtual-env - name: Test metrics shell: bash if: env.RUN_METRICS_TESTS == 'true' run: | - pip install -e .[metrics] - pip list + uv pip install --system -e .[metrics] + uv pip list --system ./.github/run_tests.sh metrics --no-virtual-env - name: Test comparison shell: bash if: env.RUN_COMPARISON_TESTS == 'true' run: | - pip install -e .[full] - pip list + uv pip install --system -e .[full] + uv pip list --system ./.github/run_tests.sh comparison --no-virtual-env - name: Test core sorters shell: bash if: env.RUN_SORTERS_TESTS == 'true' run: | - pip install -e .[full] - pip list + uv pip install --system -e .[full] + uv pip list --system ./.github/run_tests.sh sorters --no-virtual-env - name: Test internal sorters shell: bash if: env.RUN_INTERNAL_SORTERS_TESTS == 'true' run: | - pip install -e .[full] - pip list + uv pip install --system -e .[full] + uv pip list --system ./.github/run_tests.sh sorters_internal --no-virtual-env - name: Test curation shell: bash if: env.RUN_CURATION_TESTS == 'true' run: | - pip install -e .[full] - pip list + uv pip install --system -e .[full] + uv pip list --system ./.github/run_tests.sh curation --no-virtual-env - name: Test widgets @@ -221,24 +225,24 @@ jobs: env: KACHERY_ZONE: "scratch" run: | - pip install -e .[full,widgets] - pip list + uv pip install --system -e .[full,widgets] + uv pip list --system ./.github/run_tests.sh widgets --no-virtual-env -s - name: Test exporters shell: bash if: env.RUN_EXPORTERS_TESTS == 'true' run: | - pip install -e .[full] - pip list + uv pip install --system -e .[full] + uv pip list --system ./.github/run_tests.sh exporters --no-virtual-env - name: Test sortingcomponents shell: bash if: env.RUN_SORTINGCOMPONENTS_TESTS == 'true' run: | - pip install -e .[full] - pip list + uv pip install --system -e .[full] + uv pip list --system # Internal shell check for platform and env var if [[ "$RUNNER_OS" == "macOS" ]]; then @@ -258,6 +262,6 @@ jobs: shell: bash if: env.RUN_GENERATION_TESTS == 'true' run: | - pip install -e .[full] - pip list + uv pip install --system -e .[full] + uv pip list --system ./.github/run_tests.sh generation --no-virtual-env diff --git a/.github/workflows/caches_cron_job.yml b/.github/workflows/caches_cron_job.yml index 2454e97ad7..4710801cb1 100644 --- a/.github/workflows/caches_cron_job.yml +++ b/.github/workflows/caches_cron_job.yml @@ -17,9 +17,13 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.11' + - uses: astral-sh/setup-uv@v8 + with: + python-version: '3.11' + enable-cache: true - name: Create the directory to store the data run: | mkdir -p ~/spikeinterface_datasets/ephy_testing_data/ @@ -45,8 +49,7 @@ jobs: run: | git config --global user.email "CI@example.com" git config --global user.name "CI Almighty" - python -m pip install -U pip # Official recommended way - pip install datalad-installer + uv pip install --system datalad-installer if [ ${{ runner.os }} == 'Linux' ]; then datalad-installer --sudo ok git-annex --method datalad/packages elif [ ${{ runner.os }} == 'macOS' ]; then @@ -54,7 +57,7 @@ jobs: elif [ ${{ runner.os }} == 'Windows' ]; then datalad-installer --sudo ok git-annex --method datalad/git-annex:release fi - pip install datalad + uv pip install --system datalad git config --global filter.annex.process "git-annex filter-process" # recommended for efficiency shell: bash - name: Download dataset diff --git a/.github/workflows/core-test.yml b/.github/workflows/core-test.yml index 1dbf0f5109..ee33e6e910 100644 --- a/.github/workflows/core-test.yml +++ b/.github/workflows/core-test.yml @@ -20,23 +20,26 @@ jobs: os: ["ubuntu-latest", "macos-latest", "windows-latest"] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.11' + - uses: astral-sh/setup-uv@v8 + with: + python-version: '3.11' + enable-cache: true - name: Install dependencies run: | git config --global user.email "CI@example.com" git config --global user.name "CI Almighty" - python -m pip install -U pip # Official recommended way - pip install -e .[test_core] + uv pip install --system -e .[test_core] - name: Test core with pytest run: | pytest -m "core" -vv -ra --durations=0 --durations-min=0.001 | tee report.txt; test $? -eq 0 || exit 1 shell: bash # Necessary for pipeline to work on windows - name: Build test summary run: | - pip install pandas - pip install tabulate + uv pip install --system pandas + uv pip install --system tabulate echo "# Timing profile of core tests in ${{matrix.os}}" >> $GITHUB_STEP_SUMMARY # Outputs markdown summary to standard output python ./.github/scripts/build_job_summary.py report.txt >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/deepinterpolation.yml b/.github/workflows/deepinterpolation.yml index be003da742..6fe92d8468 100644 --- a/.github/workflows/deepinterpolation.yml +++ b/.github/workflows/deepinterpolation.yml @@ -20,9 +20,13 @@ jobs: os: ["ubuntu-latest"] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.10' + - uses: astral-sh/setup-uv@v8 + with: + python-version: '3.10' + enable-cache: true - name: Get changed files id: changed-files uses: tj-actions/changed-files@v46.0.1 @@ -38,16 +42,15 @@ jobs: - name: Install dependencies if: ${{ steps.modules-changed.outputs.DEEPINTERPOLATION_CHANGED == 'true' }} run: | - python -m pip install -U pip # Official recommended way # install deepinteprolation - pip install tensorflow==2.8.4 - pip install deepinterpolation@git+https://github.com/AllenInstitute/deepinterpolation.git - pip install numpy==1.26.4 - pip install -e .[full,test_core] + uv pip install --system tensorflow==2.8.4 + uv pip install --system deepinterpolation@git+https://github.com/AllenInstitute/deepinterpolation.git + uv pip install --system numpy==1.26.4 + uv pip install --system -e .[full,test_core] - name: Pip list if: ${{ steps.modules-changed.outputs.DEEPINTERPOLATION_CHANGED == 'true' }} run: | - pip list + uv pip list --system - name: Test DeepInterpolation with pytest if: ${{ steps.modules-changed.outputs.DEEPINTERPOLATION_CHANGED == 'true' }} run: | diff --git a/.github/workflows/full-test-with-codecov.yml b/.github/workflows/full-test-with-codecov.yml index 6906873ce7..7a58ecae2a 100644 --- a/.github/workflows/full-test-with-codecov.yml +++ b/.github/workflows/full-test-with-codecov.yml @@ -20,9 +20,13 @@ jobs: os: ["ubuntu-latest", ] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.12' + - uses: astral-sh/setup-uv@v8 + with: + python-version: '3.12' + enable-cache: true - name: Free space run: | sudo rm -rf /usr/local/lib/android @@ -50,7 +54,7 @@ jobs: - name: Install packages uses: ./.github/actions/build-test-environment - name: Pip list - run: pip list + run: uv pip list --system - name: run tests env: HDF5_PLUGIN_PATH: ${{ github.workspace }}/hdf5_plugin_path_maxwell diff --git a/.github/workflows/installation-tips-test.yml b/.github/workflows/installation-tips-test.yml index 11d2de2c9e..11f7c0df33 100644 --- a/.github/workflows/installation-tips-test.yml +++ b/.github/workflows/installation-tips-test.yml @@ -5,9 +5,6 @@ on: schedule: - cron: "0 12 * * 0" # Weekly at noon UTC on Sundays -env: - UV_SYSTEM_PYTHON: 1 - jobs: installation-tips-testing: name: Test uv installation on ${{ matrix.os }} OS @@ -21,14 +18,17 @@ jobs: - os: windows-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.12' - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v8 + with: + python-version: '3.12' + enable-cache: true - name: Install requirements - run: uv pip install -r ./installation_tips/beginner_requirements_stable.txt + run: uv pip install --system -r ./installation_tips/beginner_requirements_stable.txt - name: Check Installation Tips (mac) if: ${{ matrix.os == 'macos-latest' }} run: python ./installation_tips/check_your_install.py --ci --short --skip-kilosort4 # ci flag turns off gui diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index e2f65444df..a0499d3bcf 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -13,16 +13,19 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.12' + - uses: astral-sh/setup-uv@v8 + with: + python-version: '3.12' + enable-cache: true - name: Install dependencies for testing run: | - python -m pip install -U pip # Official recommended way - pip install pytest - pip install zarr - pip install setuptools wheel twine build - pip install -e .[test_core] + uv pip install --system pytest + uv pip install --system zarr + uv pip install --system setuptools wheel twine build + uv pip install --system -e .[test_core] - name: Test core with pytest run: | pytest -v src/spikeinterface/core diff --git a/.github/workflows/test_containers_docker.yml b/.github/workflows/test_containers_docker.yml index 211db5f775..214856c0be 100644 --- a/.github/workflows/test_containers_docker.yml +++ b/.github/workflows/test_containers_docker.yml @@ -13,9 +13,13 @@ jobs: os: ["ubuntu-latest", "windows-latest"] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.10' + - uses: astral-sh/setup-uv@v8 + with: + python-version: '3.10' + enable-cache: true - name: Python version run: python --version @@ -24,10 +28,9 @@ jobs: docker --version - name: Install dependencies run: | - python -m pip install -U pip # Official recommended way - pip install pytest - pip install -e .[full] - pip install docker + uv pip install --system pytest + uv pip install --system -e .[full] + uv pip install --system docker - name: Run test docker containers run: | pytest -vv --capture=tee-sys -rA src/spikeinterface/sorters/external/tests/test_docker_containers.py diff --git a/.github/workflows/test_containers_singularity.yml b/.github/workflows/test_containers_singularity.yml index 00941215b1..f5358b770c 100644 --- a/.github/workflows/test_containers_singularity.yml +++ b/.github/workflows/test_containers_singularity.yml @@ -14,9 +14,13 @@ jobs: os: ["ubuntu-latest", ] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.10' + - uses: astral-sh/setup-uv@v8 + with: + python-version: '3.10' + enable-cache: true - uses: eWaterCycle/setup-singularity@v7 with: singularity-version: 3.8.7 @@ -28,10 +32,9 @@ jobs: singularity --version - name: Install dependencies run: | - python -m pip install -U pip # Official recommended way - pip install pytest - pip install -e .[full] - pip install spython + uv pip install --system pytest + uv pip install --system -e .[full] + uv pip install --system spython - name: Run test singularity containers run: | pytest -vv --capture=tee-sys -rA src/spikeinterface/sorters/external/tests/test_singularity_containers.py diff --git a/.github/workflows/test_imports.yml b/.github/workflows/test_imports.yml index a2631f6eb7..baa04111f7 100644 --- a/.github/workflows/test_imports.yml +++ b/.github/workflows/test_imports.yml @@ -20,15 +20,18 @@ jobs: os: ["ubuntu-latest", "macos-latest", "windows-latest"] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.11" + - uses: astral-sh/setup-uv@v8 + with: + python-version: "3.11" + enable-cache: true - name: Install Spikeinterface with only core dependencies run: | git config --global user.email "CI@example.com" git config --global user.name "CI Almighty" - python -m pip install -U pip # Official recommended way - pip install . # This should install core only + uv pip install --system . # This should install core only - name: Profile Imports run: | echo "## OS: ${{ matrix.os }}" >> $GITHUB_STEP_SUMMARY @@ -38,7 +41,7 @@ jobs: shell: bash # Necessary for pipeline to work on windows - name: Install in full mode run: | - pip install .[full] + uv pip install --system .[full] - name: Profile Imports with full run: | # Add a header to separate the two profiles diff --git a/.github/workflows/test_kilosort4.yml b/.github/workflows/test_kilosort4.yml index 398a3b98d4..7709f72d7c 100644 --- a/.github/workflows/test_kilosort4.yml +++ b/.github/workflows/test_kilosort4.yml @@ -21,14 +21,18 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: 3.12 + python-version: "3.12" + - uses: astral-sh/setup-uv@v8 + with: + python-version: "3.12" + enable-cache: true - name: Install dependencies run: | - pip install requests packaging - pip install . + uv pip install --system requests packaging + uv pip install --system . - name: Fetch package versions from PyPI run: | @@ -55,22 +59,26 @@ jobs: uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 + with: + python-version: ${{ matrix.python-version }} + - uses: astral-sh/setup-uv@v8 with: python-version: ${{ matrix.python-version }} + enable-cache: true - name: Install SpikeInterface run: | - pip install -e .[test] + uv pip install --system -e .[test] shell: bash - name: Install legacy setuptools for KS4 < 4.0.19 if: matrix.ks_version == '4.0.16' || matrix.ks_version == '4.0.17' || matrix.ks_version == '4.0.18' - run: pip install setuptools==78.0.2 + run: uv pip install --system setuptools==78.0.2 - name: Install Kilosort run: | - pip install kilosort==${{ matrix.ks_version }} + uv pip install --system kilosort==${{ matrix.ks_version }} shell: bash - name: Run new kilosort4 tests From 5f1706d36990fe260c7363c6cc6c3bfa7a11f508 Mon Sep 17 00:00:00 2001 From: Galen Lynch Date: Tue, 14 Apr 2026 16:59:36 -0700 Subject: [PATCH 2/3] ci: setup-uv hasn't release v8 yet v8.0.0 exists, but they haven't made a major tag yet. --- .github/workflows/all-tests.yml | 2 +- .github/workflows/caches_cron_job.yml | 2 +- .github/workflows/core-test.yml | 2 +- .github/workflows/deepinterpolation.yml | 2 +- .github/workflows/full-test-with-codecov.yml | 2 +- .github/workflows/installation-tips-test.yml | 2 +- .github/workflows/publish-to-pypi.yml | 2 +- .github/workflows/test_containers_docker.yml | 2 +- .github/workflows/test_containers_singularity.yml | 2 +- .github/workflows/test_imports.yml | 2 +- .github/workflows/test_kilosort4.yml | 4 ++-- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/all-tests.yml b/.github/workflows/all-tests.yml index d147c360bd..c94014b062 100644 --- a/.github/workflows/all-tests.yml +++ b/.github/workflows/all-tests.yml @@ -32,7 +32,7 @@ jobs: uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - - uses: astral-sh/setup-uv@v8 + - uses: astral-sh/setup-uv@v7 with: python-version: ${{ matrix.python-version }} enable-cache: true diff --git a/.github/workflows/caches_cron_job.yml b/.github/workflows/caches_cron_job.yml index 4710801cb1..45dbd9c037 100644 --- a/.github/workflows/caches_cron_job.yml +++ b/.github/workflows/caches_cron_job.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: '3.11' - - uses: astral-sh/setup-uv@v8 + - uses: astral-sh/setup-uv@v7 with: python-version: '3.11' enable-cache: true diff --git a/.github/workflows/core-test.yml b/.github/workflows/core-test.yml index ee33e6e910..b17ea5b975 100644 --- a/.github/workflows/core-test.yml +++ b/.github/workflows/core-test.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: '3.11' - - uses: astral-sh/setup-uv@v8 + - uses: astral-sh/setup-uv@v7 with: python-version: '3.11' enable-cache: true diff --git a/.github/workflows/deepinterpolation.yml b/.github/workflows/deepinterpolation.yml index 6fe92d8468..99ccfa9728 100644 --- a/.github/workflows/deepinterpolation.yml +++ b/.github/workflows/deepinterpolation.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: astral-sh/setup-uv@v8 + - uses: astral-sh/setup-uv@v7 with: python-version: '3.10' enable-cache: true diff --git a/.github/workflows/full-test-with-codecov.yml b/.github/workflows/full-test-with-codecov.yml index 7a58ecae2a..74690eb54c 100644 --- a/.github/workflows/full-test-with-codecov.yml +++ b/.github/workflows/full-test-with-codecov.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: '3.12' - - uses: astral-sh/setup-uv@v8 + - uses: astral-sh/setup-uv@v7 with: python-version: '3.12' enable-cache: true diff --git a/.github/workflows/installation-tips-test.yml b/.github/workflows/installation-tips-test.yml index 11f7c0df33..f813b8a68f 100644 --- a/.github/workflows/installation-tips-test.yml +++ b/.github/workflows/installation-tips-test.yml @@ -22,7 +22,7 @@ jobs: with: python-version: '3.12' - name: Install uv - uses: astral-sh/setup-uv@v8 + uses: astral-sh/setup-uv@v7 with: python-version: '3.12' enable-cache: true diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index a0499d3bcf..bf8cbb5e4a 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-python@v6 with: python-version: '3.12' - - uses: astral-sh/setup-uv@v8 + - uses: astral-sh/setup-uv@v7 with: python-version: '3.12' enable-cache: true diff --git a/.github/workflows/test_containers_docker.yml b/.github/workflows/test_containers_docker.yml index 214856c0be..7be71a699b 100644 --- a/.github/workflows/test_containers_docker.yml +++ b/.github/workflows/test_containers_docker.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: astral-sh/setup-uv@v8 + - uses: astral-sh/setup-uv@v7 with: python-version: '3.10' enable-cache: true diff --git a/.github/workflows/test_containers_singularity.yml b/.github/workflows/test_containers_singularity.yml index f5358b770c..69c1b33858 100644 --- a/.github/workflows/test_containers_singularity.yml +++ b/.github/workflows/test_containers_singularity.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: astral-sh/setup-uv@v8 + - uses: astral-sh/setup-uv@v7 with: python-version: '3.10' enable-cache: true diff --git a/.github/workflows/test_imports.yml b/.github/workflows/test_imports.yml index baa04111f7..8fd969bbe3 100644 --- a/.github/workflows/test_imports.yml +++ b/.github/workflows/test_imports.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: "3.11" - - uses: astral-sh/setup-uv@v8 + - uses: astral-sh/setup-uv@v7 with: python-version: "3.11" enable-cache: true diff --git a/.github/workflows/test_kilosort4.yml b/.github/workflows/test_kilosort4.yml index 7709f72d7c..1da5b8df3f 100644 --- a/.github/workflows/test_kilosort4.yml +++ b/.github/workflows/test_kilosort4.yml @@ -24,7 +24,7 @@ jobs: uses: actions/setup-python@v6 with: python-version: "3.12" - - uses: astral-sh/setup-uv@v8 + - uses: astral-sh/setup-uv@v7 with: python-version: "3.12" enable-cache: true @@ -62,7 +62,7 @@ jobs: uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - - uses: astral-sh/setup-uv@v8 + - uses: astral-sh/setup-uv@v7 with: python-version: ${{ matrix.python-version }} enable-cache: true From 75a515156b431b8851b0d99243d84940a6402181 Mon Sep 17 00:00:00 2001 From: Galen Lynch Date: Tue, 14 Apr 2026 17:02:17 -0700 Subject: [PATCH 3/3] ci: don't cache for deepinterpolation --- .github/workflows/deepinterpolation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deepinterpolation.yml b/.github/workflows/deepinterpolation.yml index 99ccfa9728..c0ef67bcfa 100644 --- a/.github/workflows/deepinterpolation.yml +++ b/.github/workflows/deepinterpolation.yml @@ -26,7 +26,7 @@ jobs: - uses: astral-sh/setup-uv@v7 with: python-version: '3.10' - enable-cache: true + enable-cache: false - name: Get changed files id: changed-files uses: tj-actions/changed-files@v46.0.1