Merge pull request #12985 from freqtrade/maint/pin_build

Pin individual installs in CI
This commit is contained in:
Matthias
2026-03-28 13:49:39 +01:00
committed by GitHub
4 changed files with 22 additions and 9 deletions
@@ -36,7 +36,7 @@ jobs:
python-version: "3.14"
- name: Install ccxt
run: uv pip install ccxt orjson
run: uv pip install $(grep -E "^ccxt==" requirements.txt) $(grep -E "^orjson==" requirements.txt)
- name: Run leverage tier update
env:
@@ -55,7 +55,7 @@ jobs:
Dependencies
branch: update/binance-leverage-tiers
title: Update Binance Leverage Tiers
commit-message: "chore: update pre-commit hooks"
commit-message: "chore: update binance leverage tiers"
committer: Freqtrade Bot <154552126+freqtrade-bot@users.noreply.github.com>
author: Freqtrade Bot <154552126+freqtrade-bot@users.noreply.github.com>
body: Update binance leverage tiers.
+9 -5
View File
@@ -55,7 +55,6 @@ jobs:
- name: Installation (python)
run: |
uv pip install --upgrade wheel
uv pip install -r requirements-dev.txt
uv pip install -e ft_client/
uv pip install -e .
@@ -181,11 +180,17 @@ jobs:
- name: Set up Python 🐍
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 #v6.2.0
with:
python-version: "3.12"
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
with:
activate-environment: true
python-version: "3.13"
- name: pre-commit dependencies
run: |
pip install pyaml
uv pip install $(grep -E "^pyyaml==" requirements-dev.txt)
python build_helpers/pre_commit_update.py
pre-commit:
@@ -267,7 +272,6 @@ jobs:
- name: Installation - *nix
run: |
uv pip install --upgrade wheel
uv pip install -r requirements-dev.txt
uv pip install -e ft_client/
uv pip install -e .
@@ -337,7 +341,7 @@ jobs:
- name: Build distribution
run: |
uv pip install -U build
uv pip install $(grep -E "^build==" requirements-dev.txt)
python -m build --sdist --wheel
- name: Upload artifacts 📦
+7 -2
View File
@@ -27,11 +27,16 @@ jobs:
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
with:
activate-environment: true
python-version: "3.13"
- name: Install pre-commit
run: pip install pre-commit
run: uv pip install $(grep -E "^pre-commit==" requirements-dev.txt)
- name: Run auto-update
run: pre-commit autoupdate
+4
View File
@@ -30,3 +30,7 @@ types-requests==2.32.4.20260107
types-tabulate==0.10.0.20260308
types-python-dateutil==2.9.0.20260305
pip-audit==2.10.0
# For build step in CI
build==1.4.2
# For pre-commit-update check
pyyaml==6.0.3