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:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- 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
18
19
- name : Install dependencies
19
20
run : |
20
21
python -m venv .venv
21
22
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
24
25
- name : Build driver dependencies
25
26
run : |
26
27
source .venv/bin/activate
27
28
cd extensions-doc-builder
28
29
mkdir deps
29
30
30
31
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
33
34
34
35
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
36
37
37
38
echo "download all the extensions package to get access to their README and source"
38
- pip download \
39
+ uv pip download \
39
40
--no-deps \
40
41
--no-cache-dir \
41
42
--dest deps \
50
51
dirname=$(basename $archive .tar.gz)
51
52
echo "Installing ${dirname}"
52
53
cd $dirname
53
- pip install -e .
54
+ uv pip install -e .
54
55
cd ..
55
56
done
56
57
cd ../..
You can’t perform that action at this time.
0 commit comments