Skip to content

Commit a70141e

Browse files
committed
Revert "Manage the CI Python interpreter with uv"
This reverts commit eed5995.
1 parent eed5995 commit a70141e

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

.github/actions/setup-python/action.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,18 @@ inputs:
1313
runs:
1414
using: composite
1515
steps:
16-
# Install uv together with a uv-managed Python interpreter, and
17-
# create and activate a virtual environment that is used by all
18-
# subsequent steps (e.g. the `uv pip install` step below installs
19-
# into it). Also enables uv's built-in cache. The cache key takes
20-
# the platform, the uv version, and a hash of the files below
21-
# into account.
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: "${{ inputs.python-version }}"
19+
20+
# Install uv and enable its built-in cache. The cache key takes the
21+
# platform, the uv version, and a hash of the files below into account.
2222
# See https://docs.astral.sh/uv/guides/integration/github/ for details.
2323
# NOTE: setup-uv publishes immutable releases only (no
2424
# floating major tags), so we pin the full version
25-
- name: Install uv and python
25+
- name: Install uv
2626
uses: astral-sh/setup-uv@v9.0.0
2727
with:
28-
python-version: "${{ inputs.python-version }}"
29-
activate-environment: true
3028
enable-cache: true
3129
cache-suffix: "py${{ inputs.python-version }}"
3230
cache-dependency-glob: |
@@ -36,4 +34,4 @@ runs:
3634
- name: Install requirements
3735
if: ${{ inputs.requirements != '' }}
3836
shell: bash
39-
run: uv pip install --verbose ${{ inputs.requirements }}
37+
run: uv pip install --verbose --system ${{ inputs.requirements }}

0 commit comments

Comments
 (0)