Skip to content

Commit 4540e2c

Browse files
committed
Merge branch 'develop' into maint/python_3.14
2 parents 0340d36 + eb3e8b8 commit 4540e2c

File tree

109 files changed

+8948
-7015
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+8948
-7015
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
updates:
33
- package-ecosystem: docker
44
cooldown:
5-
default-days: 4
5+
default-days: 7
66
directories:
77
- "/"
88
- "/docker"
@@ -16,15 +16,15 @@ updates:
1616
- package-ecosystem: devcontainers
1717
directory: "/"
1818
cooldown:
19-
default-days: 4
19+
default-days: 7
2020
schedule:
2121
interval: daily
2222
open-pull-requests-limit: 10
2323

2424
- package-ecosystem: pip
2525
directory: "/"
2626
cooldown:
27-
default-days: 4
27+
default-days: 7
2828
exclude:
2929
- ccxt
3030
schedule:
@@ -51,7 +51,7 @@ updates:
5151
- package-ecosystem: "github-actions"
5252
directory: "/"
5353
cooldown:
54-
default-days: 4
54+
default-days: 7
5555
schedule:
5656
interval: "weekly"
5757
open-pull-requests-limit: 10

.github/workflows/binance-lev-tier-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
environment:
1616
name: develop
1717
steps:
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@v6.0.1
1919
with:
2020
persist-credentials: false
2121

@@ -34,7 +34,7 @@ jobs:
3434
run: python build_helpers/binance_update_lev_tiers.py
3535

3636

37-
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
37+
- uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7.0.9
3838
with:
3939
token: ${{ secrets.REPO_SCOPED_TOKEN }}
4040
add-paths: freqtrade/exchange/binance_leverage_tiers.json

.github/workflows/ci.yml

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
python-version: ["3.11", "3.12", "3.13", "3.14"]
2929

3030
steps:
31-
- uses: actions/checkout@v5
31+
- uses: actions/checkout@v6.0.1
3232
with:
3333
persist-credentials: false
3434

@@ -38,7 +38,7 @@ jobs:
3838
python-version: ${{ matrix.python-version }}
3939

4040
- name: Install uv
41-
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
41+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
4242
with:
4343
activate-environment: true
4444
enable-cache: true
@@ -74,15 +74,17 @@ jobs:
7474
run: |
7575
pytest --random-order --cov=freqtrade --cov=freqtrade_client --cov-config=.coveragerc
7676
77-
- name: Coveralls
77+
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
78+
if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04')
79+
with:
80+
fail_ci_if_error: true
81+
token: ${{ secrets.CODECOV_TOKEN }}
82+
83+
- name: Cleanup codecov dirty state files
7884
if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04')
79-
env:
80-
# Coveralls token. Not used as secret due to github not providing secrets to forked repositories
81-
COVERALLS_REPO_TOKEN: 6D1m0xupS3FgutfuGao8keFf9Hc0FpIXu
8285
run: |
83-
# Allow failure for coveralls
84-
uv pip install coveralls
85-
coveralls || true
86+
# See https://github.com/codecov/codecov-action/issues/1851
87+
rm -rf codecov codecov.SHA256SUM codecov.SHA256SUM.sig
8688
8789
- name: Run json schema extract
8890
# This should be kept before the repository check to ensure that the schema is up-to-date
@@ -175,7 +177,7 @@ jobs:
175177
name: "Mypy Version Check"
176178
runs-on: ubuntu-24.04
177179
steps:
178-
- uses: actions/checkout@v5
180+
- uses: actions/checkout@v6.0.1
179181
with:
180182
persist-credentials: false
181183

@@ -193,7 +195,7 @@ jobs:
193195
name: "Pre-commit checks"
194196
runs-on: ubuntu-22.04
195197
steps:
196-
- uses: actions/checkout@v5
198+
- uses: actions/checkout@v6.0.1
197199
with:
198200
persist-credentials: false
199201

@@ -206,7 +208,7 @@ jobs:
206208
name: "Documentation build"
207209
runs-on: ubuntu-22.04
208210
steps:
209-
- uses: actions/checkout@v5
211+
- uses: actions/checkout@v6.0.1
210212
with:
211213
persist-credentials: false
212214

@@ -238,7 +240,7 @@ jobs:
238240
name: "Tests and Linting - Online tests"
239241
runs-on: ubuntu-24.04
240242
steps:
241-
- uses: actions/checkout@v5
243+
- uses: actions/checkout@v6.0.1
242244
with:
243245
persist-credentials: false
244246

@@ -248,7 +250,7 @@ jobs:
248250
python-version: "3.12"
249251

250252
- name: Install uv
251-
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
253+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
252254
with:
253255
activate-environment: true
254256
enable-cache: true
@@ -273,10 +275,7 @@ jobs:
273275
# Notify only once - when CI completes (and after deploy) in case it's successful
274276
notify-complete:
275277
needs: [
276-
tests,
277-
docs-check,
278-
mypy-version-check,
279-
pre-commit,
278+
build,
280279
build-linux-online
281280
]
282281
runs-on: ubuntu-22.04
@@ -304,12 +303,24 @@ jobs:
304303
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
305304

306305
build:
306+
if: always()
307307
name: "Build"
308-
needs: [ tests, docs-check, mypy-version-check, pre-commit ]
308+
needs: [
309+
tests,
310+
docs-check,
311+
mypy-version-check,
312+
pre-commit,
313+
]
309314
runs-on: ubuntu-22.04
310315

311316
steps:
312-
- uses: actions/checkout@v5
317+
318+
- name: Decide whether the needed jobs succeeded or failed
319+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
320+
with:
321+
jobs: ${{ toJSON(needs) }}
322+
323+
- uses: actions/[email protected]
313324
with:
314325
persist-credentials: false
315326

@@ -356,7 +367,7 @@ jobs:
356367
id-token: write
357368

358369
steps:
359-
- uses: actions/checkout@v5
370+
- uses: actions/checkout@v6.0.1
360371
with:
361372
persist-credentials: false
362373

@@ -385,7 +396,7 @@ jobs:
385396
id-token: write
386397

387398
steps:
388-
- uses: actions/checkout@v5
399+
- uses: actions/checkout@v6.0.1
389400
with:
390401
persist-credentials: false
391402

@@ -403,10 +414,7 @@ jobs:
403414
docker-build:
404415
name: "Docker Build and Deploy"
405416
needs: [
406-
tests,
407-
docs-check,
408-
mypy-version-check,
409-
pre-commit
417+
build,
410418
]
411419
if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'release') && github.repository == 'freqtrade/freqtrade'
412420
uses: ./.github/workflows/docker-build.yml

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: Deploy Docs through mike
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v5
22+
- uses: actions/checkout@v6.0.1
2323
with:
2424
persist-credentials: true
2525

.github/workflows/devcontainer-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
packages: write
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v5
27+
- uses: actions/checkout@v6.0.1
2828
with:
2929
persist-credentials: false
3030
- name: Login to GitHub Container Registry

.github/workflows/docker-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
if: github.repository == 'freqtrade/freqtrade'
3434

3535
steps:
36-
- uses: actions/checkout@v5
36+
- uses: actions/checkout@v6.0.1
3737
with:
3838
persist-credentials: false
3939

@@ -152,7 +152,7 @@ jobs:
152152
if: github.repository == 'freqtrade/freqtrade'
153153

154154
steps:
155-
- uses: actions/checkout@v5
155+
- uses: actions/checkout@v6.0.1
156156
with:
157157
persist-credentials: false
158158

.github/workflows/docker-update-readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
dockerHubDescription:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6.0.1
1515
with:
1616
persist-credentials: false
1717

.github/workflows/pre-commit-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
auto-update:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6.0.1
1717
with:
1818
persist-credentials: false
1919

@@ -28,7 +28,7 @@ jobs:
2828
- name: Run auto-update
2929
run: pre-commit autoupdate
3030

31-
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
31+
- uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7.0.9
3232
with:
3333
token: ${{ secrets.REPO_SCOPED_TOKEN }}
3434
add-paths: .pre-commit-config.yaml

.github/workflows/zizmor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,17 @@ permissions: {}
1414

1515
jobs:
1616
zizmor:
17+
name: Run zizmor 🌈
1718
runs-on: ubuntu-latest
1819
permissions:
1920
security-events: write
2021
# contents: read # only needed for private repos
2122
# actions: read # only needed for private repos
2223
steps:
2324
- name: Checkout repository
24-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
25+
uses: actions/checkout@v6.0.1
2526
with:
2627
persist-credentials: false
2728

2829
- name: Run zizmor 🌈
29-
uses: zizmorcore/zizmor-action@e673c3917a1aef3c65c972347ed84ccd013ecda4 # v0.2.0
30+
uses: zizmorcore/zizmor-action@e639db99335bc9038abc0e066dfcd72e23d26fb4 # v0.3.0

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
# stages: [push]
2222

2323
- repo: https://github.com/pre-commit/mirrors-mypy
24-
rev: "v1.18.2"
24+
rev: "v1.19.1"
2525
hooks:
2626
- id: mypy
2727
exclude: build_helpers
@@ -30,8 +30,8 @@ repos:
3030
- types-filelock==3.2.7
3131
- types-requests==2.32.4.20250913
3232
- types-tabulate==0.9.0.20241207
33-
- types-python-dateutil==2.9.0.20251008
34-
- scipy-stubs==1.16.3.0
33+
- types-python-dateutil==2.9.0.20251115
34+
- scipy-stubs==1.16.3.2
3535
- SQLAlchemy==2.0.44
3636
# stages: [push]
3737

@@ -44,7 +44,7 @@ repos:
4444

4545
- repo: https://github.com/charliermarsh/ruff-pre-commit
4646
# Ruff version.
47-
rev: 'v0.14.4'
47+
rev: 'v0.14.9'
4848
hooks:
4949
- id: ruff
5050
- id: ruff-format
@@ -83,6 +83,6 @@ repos:
8383

8484
# Ensure github actions remain safe
8585
- repo: https://github.com/woodruffw/zizmor-pre-commit
86-
rev: v1.16.3
86+
rev: v1.18.0
8787
hooks:
8888
- id: zizmor

0 commit comments

Comments
 (0)