File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -12,30 +12,31 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v4
15- - uses : actions/setup-python@v5
16- with :
17- python-version : ' 3.11'
15+ - name : Install uv
16+ uses : astral-sh/setup-uv@v5
17+ - name : Set up Python
18+ run : uv python install
1819 - name : Install dependencies
1920 run : |
2021 python -m venv .venv
2122 source .venv/bin/activate
22- python -m pip install --upgrade pip setuptools wheel
23- pip install --prefer-binary -U -r requirements.txt
23+ uv pip install setuptools wheel
24+ uv pip install --prefer-binary -U -r requirements.txt
2425 - name : Build driver dependencies
2526 run : |
2627 source .venv/bin/activate
2728 cd extensions-doc-builder
2829 mkdir deps
2930
3031 echo "Install CTK and minor dependencies"
31- pip install --prefer-binary --pre -U chaostoolkit-lib chaostoolkit
32- pip install --prefer-binary httplib2 uritemplate pytzdata
32+ uv pip install --prefer-binary --pre -U chaostoolkit-lib chaostoolkit
33+ uv pip install --prefer-binary httplib2 uritemplate pytzdata
3334
3435 echo "install all the dependencies for our drivers"
35- pip install --prefer-binary -U -r requirements-toolkit.txt
36+ uv pip install --prefer-binary -U -r requirements-toolkit.txt
3637
3738 echo "download all the extensions package to get access to their README and source"
38- pip download \
39+ uv pip download \
3940 --no-deps \
4041 --no-cache-dir \
4142 --dest deps \
5051 dirname=$(basename $archive .tar.gz)
5152 echo "Installing ${dirname}"
5253 cd $dirname
53- pip install -e .
54+ uv pip install -e .
5455 cd ..
5556 done
5657 cd ../..
You can’t perform that action at this time.
0 commit comments