Skip to content

Commit

Permalink
Merge branch 'freqtrade:develop' into freqtrade-develop
Browse files Browse the repository at this point in the history
  • Loading branch information
stash86 authored Dec 14, 2024
2 parents aa001a4 + cc7b1a5 commit cc75998
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,14 +276,23 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Pip cache (Windows)
uses: actions/cache@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
path: ~\AppData\Local\pip\Cache
key: pip-${{ matrix.os }}-${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: "requirements**.txt"
cache-suffix: "${{ matrix.python-version }}"
prune-cache: false

- name: Installation
run: |
uv venv
.venv\Scripts\activate
# persist the venv path for future steps
"$(pwd)/.venv/Scripts" >> $env:GITHUB_PATH
function uvpipFunction { uv pip $args }
Set-Alias -name pip -value uvpipFunction
./build_helpers/install_windows.ps1
- name: Tests
Expand Down
9 changes: 4 additions & 5 deletions build_helpers/install_windows.ps1
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# vendored Wheels compiled via https://github.com/xmatthias/ta-lib-python/tree/ta_bundled_040

python -m pip install --upgrade pip wheel
python -m pip install --upgrade pip
python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')"

$pyv = python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')"


pip install --find-links=build_helpers\ --prefer-binary TA-Lib
pip install -U wheel "numpy<2"
pip install --no-build --find-links=build_helpers\ ta-lib

pip install -r requirements-dev.txt
pip install -e .
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ develop = [
"pytest-cov",
"pytest-mock",
"pytest-random-order",
"pytest-timeout",
"pytest-xdist",
"pytest",
"ruff",
"time-machine",
Expand Down

0 comments on commit cc75998

Please sign in to comment.