Skip to content

Commit 790d5f5

Browse files
committed
trying to switch to uv
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
1 parent 9c0015e commit 790d5f5

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/build_and_deploy.yaml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff 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 \
@@ -50,7 +51,7 @@ jobs:
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 ../..

0 commit comments

Comments
 (0)