Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/build-ta-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,11 @@ jobs:
CIBW_REPAIR_WHEEL_COMMAND_LINUX: |
LD_LIBRARY_PATH="/project/ta-lib-install/lib:$LD_LIBRARY_PATH" auditwheel repair -w {dest_dir} {wheel}
CIBW_BUILD_FRONTEND: build
CIBW_TEST_REQUIRES: pytest pandas
# test_polars.py imports polars unconditionally; no riscv64 polars
# wheel exists on PyPI or our registry to install it with.
# polars now has a riscv64 wheel on the registry; added so
# test_stream.py::test_a_result_pickles' inline `import polars`
# doesn't ModuleNotFoundError. test_polars.py itself stays
# ignored below (untouched, out of scope for this fix).
CIBW_TEST_REQUIRES: pytest pandas polars
CIBW_TEST_COMMAND: >-
cd .. &&
pytest -k "not RSI and not threading" --ignore={project}/tests/test_polars.py {project}/tests
Expand Down
1 change: 1 addition & 0 deletions docs/packages/ta-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ versions:
- filename: ta_lib-0.8.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl
sha256: bc1c16857b8397131f981dce74c27bdd85857e700f56a6be7ec630881710023e
requires-python: '>=3.9'
- version: 0.8.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
From 4b6ec692350791f91c97014836fc04bb0986d102 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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 <git@ludovic.dev>
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 47d0c02f..2183be34 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,7 @@ name = "TA-Lib"
version = "0.8.1"
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

Loading