@@ -58,13 +58,13 @@ jobs:
58
58
59
59
- name : Installation - *nix
60
60
run : |
61
- python -m pip install --upgrade pip wheel
61
+ uv pip install --upgrade wheel
62
62
export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH
63
63
export TA_LIBRARY_PATH=${HOME}/dependencies/lib
64
64
export TA_INCLUDE_PATH=${HOME}/dependencies/include
65
- pip install -r requirements-dev.txt
66
- pip install -e ft_client/
67
- pip install -e .
65
+ uv pip install -r requirements-dev.txt
66
+ uv pip install -e ft_client/
67
+ uv pip install -e .
68
68
69
69
- name : Check for version alignment
70
70
run : |
@@ -211,13 +211,13 @@ jobs:
211
211
212
212
- name : Installation (python)
213
213
run : |
214
- python -m pip install --upgrade pip wheel
214
+ uv pip install wheel
215
215
export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH
216
216
export TA_LIBRARY_PATH=${HOME}/dependencies/lib
217
217
export TA_INCLUDE_PATH=${HOME}/dependencies/include
218
- pip install -r requirements-dev.txt
219
- pip install -e ft_client/
220
- pip install -e .
218
+ uv pip install -r requirements-dev.txt
219
+ uv pip install -e ft_client/
220
+ uv pip install -e .
221
221
222
222
- name : Tests
223
223
run : |
@@ -426,18 +426,22 @@ jobs:
426
426
with :
427
427
python-version : " 3.12"
428
428
429
+ - name : Install uv
430
+ uses : astral-sh/setup-uv@v5
431
+ with :
432
+ enable-cache : true
433
+ python-version : " 3.12"
434
+ cache-dependency-glob : " requirements**.txt"
435
+ cache-suffix : " 3.12"
436
+ prune-cache : false
437
+
429
438
- name : Cache_dependencies
430
439
uses : actions/cache@v4
431
440
id : cache
432
441
with :
433
442
path : ~/dependencies/
434
443
key : ${{ runner.os }}-dependencies
435
444
436
- - name : pip cache (linux)
437
- uses : actions/cache@v4
438
- with :
439
- path : ~/.cache/pip
440
- key : pip-3.12-ubuntu
441
445
442
446
- name : TA binary *nix
443
447
if : steps.cache.outputs.cache-hit != 'true'
@@ -446,13 +450,13 @@ jobs:
446
450
447
451
- name : Installation - *nix
448
452
run : |
449
- python -m pip install --upgrade pip wheel
453
+ uv pip install --upgrade wheel
450
454
export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH
451
455
export TA_LIBRARY_PATH=${HOME}/dependencies/lib
452
456
export TA_INCLUDE_PATH=${HOME}/dependencies/include
453
- pip install -r requirements-dev.txt
454
- pip install -e ft_client/
455
- pip install -e .
457
+ uv pip install -r requirements-dev.txt
458
+ uv pip install -e ft_client/
459
+ uv pip install -e .
456
460
457
461
- name : Tests incl. ccxt compatibility tests
458
462
env :
0 commit comments