Extend system-install.yml to include virtualenv operations (#2190)

Just basic stuff like: we can create a virtualenv, we can install into
it (and not affect the system Python).
This commit is contained in:
Charlie Marsh
2024-03-04 17:46:00 -08:00
committed by GitHub
parent 7e1f361bb3
commit 60a78812f9
2 changed files with 55 additions and 29 deletions

View File

@@ -42,9 +42,6 @@ jobs:
- name: "Validate global Python install"
run: python scripts/check_system_python.py --uv ./target/debug/uv
- name: "Create virtual environment"
run: ./target/debug/uv venv
install-pypy:
name: "Install PyPy on Ubuntu"
runs-on: ubuntu-latest
@@ -69,9 +66,6 @@ jobs:
- name: "Validate global Python install"
run: pypy scripts/check_system_python.py --uv ./target/debug/uv
- name: "Create virtual environment"
run: ./target/debug/uv venv
install-macos:
name: "Install Python on macOS"
runs-on: macos-14
@@ -95,9 +89,6 @@ jobs:
- name: "Validate global Python install"
run: python3.11 scripts/check_system_python.py --uv ./target/debug/uv
- name: "Create virtual environment"
run: ./target/debug/uv venv
install-windows-python-310:
name: "Install Python 3.10 on Windows"
runs-on: windows-latest
@@ -122,9 +113,6 @@ jobs:
- name: "Validate global Python install"
run: py -3.10 ./scripts/check_system_python.py --uv ./target/debug/uv
- name: "Create virtual environment"
run: ./target/debug/uv venv
install-windows-python-313:
name: "Install Python 3.13 on Windows"
runs-on: windows-latest
@@ -151,9 +139,6 @@ jobs:
- name: "Validate global Python install"
run: py -3.13 ./scripts/check_system_python.py --uv ./target/debug/uv
- name: "Create virtual environment"
run: ./target/debug/uv venv
install-choco:
name: "Install Python 3.12 via Chocolatey"
runs-on: windows-latest
@@ -177,9 +162,6 @@ jobs:
- name: "Validate global Python install"
run: py -3.9 ./scripts/check_system_python.py --uv ./target/debug/uv
- name: "Create virtual environment"
run: ./target/debug/uv venv
install-pyenv:
name: "Install Python via pyenv"
runs-on: ubuntu-latest
@@ -204,6 +186,3 @@ jobs:
- name: "Validate global Python install"
run: python3.9 scripts/check_system_python.py --uv ./target/debug/uv
- name: "Create virtual environment"
run: ./target/debug/uv venv