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

@@ -29,7 +29,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.11'
- name: Install dependencies
shell: bash
@@ -37,7 +37,7 @@ jobs:
export PATH="$HOME/.local/bin:$PATH"
pip install --upgrade pip
pip install uv
uv venv --python=python3.10
uv venv --python=python3.11
source .venv/Scripts/activate
pip install -r requirements.txt # because of dependency issue on Windows when using `uv pip`
pip install tensorflow-io-gcs-filesystem==0.31.0 # Explicit for Windows