diff --git a/docs/packages/ta-lib.yaml b/docs/packages/ta-lib.yaml index 05394689f00e..c74e29693d28 100644 --- a/docs/packages/ta-lib.yaml +++ b/docs/packages/ta-lib.yaml @@ -43,3 +43,4 @@ versions: - filename: ta_lib-0.8.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl sha256: 89d8457612814e736a9e9285ad2c6b2ce296fb04fe5865ffa70f75198d0510b8 requires-python: '>=3.9' +- version: 0.8.2 diff --git a/patches/ta-lib/0.8.2/0001-Widen-license-files-to-cover-the-vendored-TA-Lib-C-l.patch b/patches/ta-lib/0.8.2/0001-Widen-license-files-to-cover-the-vendored-TA-Lib-C-l.patch new file mode 100644 index 000000000000..98b28e120f54 --- /dev/null +++ b/patches/ta-lib/0.8.2/0001-Widen-license-files-to-cover-the-vendored-TA-Lib-C-l.patch @@ -0,0 +1,41 @@ +From 4b6ec692350791f91c97014836fc04bb0986d102 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Thu, 24 Sep 2026 11:24:26 +0000 +Subject: [PATCH] Widen license-files to cover the vendored TA-Lib C licence + +license-files = ["LICENSE"] is an explicit PEP 639 list, so it replaces +setuptools' default LICEN[CS]E* glob rather than adding to it. The Linux, +macOS and Windows wheels dynamically link libta-lib, built from the +TA-Lib C library release that tools/build_talib_linux.sh (and its macOS/ +Windows equivalents) downloads at build time from TA-Lib/ta-lib, which is +licensed under the 3-clause BSD licence whose clause 2 requires the +copyright notice to be reproduced in binary redistributions -- but the +built wheel ships only ta-lib-python's own LICENSE. + +Widening the list to also match LICENSE.* lets a LICENSE.ta-lib-c dropped +at the project root reach dist-info/licenses/ with no other packaging +change. + +Upstream-Status: To upstream [not yet submitted; the same gap exists in every ta-lib wheel on PyPI, so this needs a maintainer discussion rather than a drive-by PR] + +Signed-off-by: Ludovic Henry +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 904070d..4c9d222 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -7,7 +7,7 @@ name = "TA-Lib" + version = "0.8.2" + description = "Python wrapper for TA-Lib" + readme = "README.md" +-license-files = ["LICENSE"] ++license-files = ["LICENSE", "LICENSE.*"] + authors = [ + {name = "John Benediktsson", email = "mrjbq7@gmail.com"} + ] +-- +2.43.0 +