Skip to content

Commit 6063e4a

Browse files
authored
Merge pull request freqtrade#12101 from freqtrade/dependabot/pip/develop/ta-lib-0.6.5
chore(deps): bump ta-lib from 0.5.5 to 0.6.5
2 parents d064bd4 + 06e249f commit 6063e4a

19 files changed

+11
-203
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,9 @@ jobs:
4747
cache-suffix: "${{ matrix.python-version }}"
4848
prune-cache: false
4949

50-
- name: Cache_dependencies
51-
uses: actions/cache@v4
52-
id: cache
53-
with:
54-
path: ~/dependencies/
55-
key: ${{ runner.os }}-dependencies
56-
57-
- name: TA binary *nix
58-
if: steps.cache.outputs.cache-hit != 'true'
59-
run: |
60-
cd build_helpers && ./install_ta-lib.sh ${HOME}/dependencies/; cd ..
61-
6250
- name: Installation - *nix
6351
run: |
6452
uv pip install --upgrade wheel
65-
export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH
66-
export TA_LIBRARY_PATH=${HOME}/dependencies/lib
67-
export TA_INCLUDE_PATH=${HOME}/dependencies/include
6853
uv pip install -r requirements-dev.txt
6954
uv pip install -e ft_client/
7055
uv pip install -e .
@@ -183,18 +168,6 @@ jobs:
183168
cache-suffix: "${{ matrix.python-version }}"
184169
prune-cache: false
185170

186-
- name: Cache_dependencies
187-
uses: actions/cache@v4
188-
id: cache
189-
with:
190-
path: ~/dependencies/
191-
key: ${{ matrix.os }}-dependencies
192-
193-
- name: TA binary *nix
194-
if: steps.cache.outputs.cache-hit != 'true'
195-
run: |
196-
cd build_helpers && ./install_ta-lib.sh ${HOME}/dependencies/; cd ..
197-
198171
- name: Installation - macOS (Brew)
199172
run: |
200173
# brew update
@@ -222,9 +195,6 @@ jobs:
222195
- name: Installation (python)
223196
run: |
224197
uv pip install wheel
225-
export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH
226-
export TA_LIBRARY_PATH=${HOME}/dependencies/lib
227-
export TA_INCLUDE_PATH=${HOME}/dependencies/include
228198
uv pip install -r requirements-dev.txt
229199
uv pip install -e ft_client/
230200
uv pip install -e .
@@ -315,7 +285,9 @@ jobs:
315285
function uvpipFunction { uv pip $args }
316286
Set-Alias -name pip -value uvpipFunction
317287
318-
./build_helpers/install_windows.ps1
288+
python -m pip install --upgrade pip
289+
pip install -r requirements-dev.txt
290+
pip install -e .
319291
320292
- name: Tests
321293
run: |
@@ -458,25 +430,9 @@ jobs:
458430
cache-suffix: "3.12"
459431
prune-cache: false
460432

461-
- name: Cache_dependencies
462-
uses: actions/cache@v4
463-
id: cache
464-
with:
465-
path: ~/dependencies/
466-
key: ${{ runner.os }}-dependencies
467-
468-
469-
- name: TA binary *nix
470-
if: steps.cache.outputs.cache-hit != 'true'
471-
run: |
472-
cd build_helpers && ./install_ta-lib.sh ${HOME}/dependencies/; cd ..
473-
474433
- name: Installation - *nix
475434
run: |
476435
uv pip install --upgrade wheel
477-
export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH
478-
export TA_LIBRARY_PATH=${HOME}/dependencies/lib
479-
export TA_INCLUDE_PATH=${HOME}/dependencies/include
480436
uv pip install -r requirements-dev.txt
481437
uv pip install -e ft_client/
482438
uv pip install -e .

Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ RUN apt-get update \
2727
&& apt-get clean \
2828
&& pip install --upgrade pip wheel
2929

30-
# Install TA-lib
31-
COPY build_helpers/* /tmp/
32-
RUN cd /tmp && /tmp/install_ta-lib.sh && rm -r /tmp/*ta-lib*
33-
ENV LD_LIBRARY_PATH=/usr/local/lib
34-
3530
# Install dependencies
3631
COPY --chown=ftuser:ftuser requirements.txt requirements-hyperopt.txt /freqtrade/
3732
USER ftuser

build_helpers/install_ta-lib.sh

Lines changed: 0 additions & 35 deletions
This file was deleted.

build_helpers/install_windows.ps1

Lines changed: 0 additions & 10 deletions
This file was deleted.
-1.27 MB
Binary file not shown.
-963 KB
Binary file not shown.
-2.75 MB
Binary file not shown.
-963 KB
Binary file not shown.
-967 KB
Binary file not shown.
-965 KB
Binary file not shown.

0 commit comments

Comments
 (0)