Merge pull request #12985 from freqtrade/maint/pin_build
Pin individual installs in CI
This commit is contained in:
@@ -36,7 +36,7 @@ jobs:
|
|||||||
python-version: "3.14"
|
python-version: "3.14"
|
||||||
|
|
||||||
- name: Install ccxt
|
- 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
|
- name: Run leverage tier update
|
||||||
env:
|
env:
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
Dependencies
|
Dependencies
|
||||||
branch: update/binance-leverage-tiers
|
branch: update/binance-leverage-tiers
|
||||||
title: 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>
|
committer: Freqtrade Bot <154552126+freqtrade-bot@users.noreply.github.com>
|
||||||
author: Freqtrade Bot <154552126+freqtrade-bot@users.noreply.github.com>
|
author: Freqtrade Bot <154552126+freqtrade-bot@users.noreply.github.com>
|
||||||
body: Update binance leverage tiers.
|
body: Update binance leverage tiers.
|
||||||
|
|||||||
@@ -55,7 +55,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Installation (python)
|
- name: Installation (python)
|
||||||
run: |
|
run: |
|
||||||
uv pip install --upgrade wheel
|
|
||||||
uv pip install -r requirements-dev.txt
|
uv pip install -r requirements-dev.txt
|
||||||
uv pip install -e ft_client/
|
uv pip install -e ft_client/
|
||||||
uv pip install -e .
|
uv pip install -e .
|
||||||
@@ -181,11 +180,17 @@ jobs:
|
|||||||
- name: Set up Python 🐍
|
- name: Set up Python 🐍
|
||||||
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 #v6.2.0
|
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 #v6.2.0
|
||||||
with:
|
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
|
- name: pre-commit dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install pyaml
|
uv pip install $(grep -E "^pyyaml==" requirements-dev.txt)
|
||||||
python build_helpers/pre_commit_update.py
|
python build_helpers/pre_commit_update.py
|
||||||
|
|
||||||
pre-commit:
|
pre-commit:
|
||||||
@@ -267,7 +272,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Installation - *nix
|
- name: Installation - *nix
|
||||||
run: |
|
run: |
|
||||||
uv pip install --upgrade wheel
|
|
||||||
uv pip install -r requirements-dev.txt
|
uv pip install -r requirements-dev.txt
|
||||||
uv pip install -e ft_client/
|
uv pip install -e ft_client/
|
||||||
uv pip install -e .
|
uv pip install -e .
|
||||||
@@ -337,7 +341,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build distribution
|
- name: Build distribution
|
||||||
run: |
|
run: |
|
||||||
uv pip install -U build
|
uv pip install $(grep -E "^build==" requirements-dev.txt)
|
||||||
python -m build --sdist --wheel
|
python -m build --sdist --wheel
|
||||||
|
|
||||||
- name: Upload artifacts 📦
|
- name: Upload artifacts 📦
|
||||||
|
|||||||
@@ -27,11 +27,16 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
||||||
with:
|
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
|
- name: Install pre-commit
|
||||||
run: pip install pre-commit
|
run: uv pip install $(grep -E "^pre-commit==" requirements-dev.txt)
|
||||||
|
|
||||||
- name: Run auto-update
|
- name: Run auto-update
|
||||||
run: pre-commit autoupdate
|
run: pre-commit autoupdate
|
||||||
|
|||||||
@@ -30,3 +30,7 @@ types-requests==2.32.4.20260107
|
|||||||
types-tabulate==0.10.0.20260308
|
types-tabulate==0.10.0.20260308
|
||||||
types-python-dateutil==2.9.0.20260305
|
types-python-dateutil==2.9.0.20260305
|
||||||
pip-audit==2.10.0
|
pip-audit==2.10.0
|
||||||
|
# For build step in CI
|
||||||
|
build==1.4.2
|
||||||
|
# For pre-commit-update check
|
||||||
|
pyyaml==6.0.3
|
||||||
|
|||||||
Reference in New Issue
Block a user