From faf28180a5512dd2cceadd9597d910acdb092d0f Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 24 Mar 2026 20:57:17 +0100 Subject: [PATCH 1/3] docs: fix minor documentation bug --- docs/strategy-advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/strategy-advanced.md b/docs/strategy-advanced.md index 6e77d4ccb..44cb0a2d5 100644 --- a/docs/strategy-advanced.md +++ b/docs/strategy-advanced.md @@ -33,7 +33,7 @@ class AwesomeStrategy(IStrategy): trade_entry_type = trade.get_custom_data(key='entry_type') if trade_entry_type is None: trade_entry_type = 'breakout' if 'entry_1' in trade.enter_tag else 'dip' - elif fills > 1: + elif len(fills) > 1: trade_entry_type = 'buy_up' trade.set_custom_data(key='entry_type', value=trade_entry_type) return super().bot_loop_start(**kwargs) From e96c67e140d642fb6d309a99560c021245705d83 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 25 Mar 2026 10:58:02 +0100 Subject: [PATCH 2/3] fix: pin build to 1.4.0 for now --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 074d677c9..e774a91c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -336,8 +336,9 @@ jobs: python-version: "${{ matrix.python-version }}" - name: Build distribution + # TODO: remove hard-pin on build 1.4.0 once https://github.com/pypa/build/issues/1004 is resolved. run: | - uv pip install -U build + uv pip install -U build==1.4.0 python -m build --sdist --wheel - name: Upload artifacts 📦 From fd858b79af34d5edfc8f957c1ab7efdcd33a74f1 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 25 Mar 2026 10:58:18 +0100 Subject: [PATCH 3/3] test: remove "ignore-vuln" from pip-audit tests the vulnerability was fixed. --- tests/test_pip_audit.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/test_pip_audit.py b/tests/test_pip_audit.py index 7c135c2c9..d52643342 100644 --- a/tests/test_pip_audit.py +++ b/tests/test_pip_audit.py @@ -23,9 +23,8 @@ def test_pip_audit_no_vulnerabilities(): Run pip-audit to check for known security vulnerabilities. This test will fail if any vulnerabilities are detected in the installed packages. + Note: Document ignores here if vulnerabilities are acceptable. - Note: CVE-2025-53000 (nbconvert Windows vulnerability) is ignored as it only affects - Windows platforms and is a known acceptable risk for this project. """ # Get the project root directory project_root = Path(__file__).parent.parent @@ -35,8 +34,8 @@ def test_pip_audit_no_vulnerabilities(): "pip_audit", # "--format=json", "--progress-spinner=off", - "--ignore-vuln", - "CVE-2025-53000", + # "--ignore-vuln", + # "CVE-2025-53000", "--skip-editable", ]