Don't explicitly install Python. Use uv sync instead of uv add. (#540)

* Don't explicitly install Python. Use uv sync instead of uv add.

* updates

* update

* updated 3.11 workflows

---------

Co-authored-by: rasbt <mail@sebastianraschka.com>
This commit is contained in:
Tim Hopper
2025-02-19 11:42:13 -05:00
committed by GitHub
parent 7bd36dccb4
commit 1039bf9b80
11 changed files with 29 additions and 37 deletions

View File

@@ -33,13 +33,13 @@ jobs:
- name: Set up Python (uv)
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
- name: Install uv and dependencies
shell: bash
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install 3.10
uv python install 3.11
uv add . --dev
uv pip install -r ch05/07_gpt_to_llama/tests/test-requirements-extra.txt
uv add pytest-ruff nbval