From 2d2bdceec78a9448ec812be8ca10604519ae5519 Mon Sep 17 00:00:00 2001 From: mario4tier Date: Sun, 25 Oct 2026 17:15:55 -0400 Subject: [PATCH] Pin TA-Lib C 0.8.3 TA-Lib C 0.8.3 is released. Source builds and the wheels now download and verify ta-lib-0.8.3-src.tar.gz, and the README's C install instructions and the build scripts' defaults name 0.8.3. --- CHANGELOG | 2 +- README.md | 14 +++++++------- setup.py | 4 ++-- tools/build_talib_linux.sh | 2 +- tools/build_talib_macos.sh | 2 +- tools/build_talib_windows.cmd | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 8969f7540..978a40bd5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,7 @@ 0.8.3 ===== -- [NEW]: Source builds download and verify TA-Lib C 0.8.1, build it as a +- [NEW]: Source builds download and verify TA-Lib C 0.8.3, build it as a static library and link it into the extension. A compiler, CMake and network access are required; a separate TA-Lib C installation is no longer needed. Generated C files remain included in source distributions. diff --git a/README.md b/README.md index 5614fab7b..b0b72a26b 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ conda install -c conda-forge ta-lib Binary wheels include the [TA-Lib](http://ta-lib.org) C library and do not require a compiler or a separate TA-Lib C installation. -Starting with version 0.8.3, source builds download the pinned TA-Lib C 0.8.1 +Starting with version 0.8.3, source builds download the pinned TA-Lib C 0.8.3 release, verify its checksum, and build and statically link it into the Python extension. This requires network access, a C compiler and CMake. On Windows, source builds require the Microsoft C++ Build Tools. CMake is installed @@ -123,24 +123,24 @@ your-arm64-python -m pip install --no-cache-dir ta-lib For 64-bit Windows, the easiest way is to get the *executable installer*: -1. Download [ta-lib-0.8.1-windows-x86_64.msi](https://github.com/ta-lib/ta-lib/releases/download/v0.8.1/ta-lib-0.8.1-windows-x86_64.msi). +1. Download [ta-lib-0.8.3-windows-x86_64.msi](https://github.com/ta-lib/ta-lib/releases/download/v0.8.3/ta-lib-0.8.3-windows-x86_64.msi). 2. Run the Installer or run `msiexec` [from the command-line](https://learn.microsoft.com/en-us/windows/win32/msi/standard-installer-command-line-options). Alternatively, if you prefer to get the libraries without installing, or would like to use the 32-bit version: -* Intel/AMD 64-bit [ta-lib-0.8.1-windows-x86_64.zip](https://github.com/ta-lib/ta-lib/releases/download/v0.8.1/ta-lib-0.8.1-windows-x86_64.zip) -* Intel/AMD 32-bit [ta-lib-0.8.1-windows-x86_32.zip](https://github.com/ta-lib/ta-lib/releases/download/v0.8.1/ta-lib-0.8.1-windows-x86_32.zip) +* Intel/AMD 64-bit [ta-lib-0.8.3-windows-x86_64.zip](https://github.com/ta-lib/ta-lib/releases/download/v0.8.3/ta-lib-0.8.3-windows-x86_64.zip) +* Intel/AMD 32-bit [ta-lib-0.8.3-windows-x86_32.zip](https://github.com/ta-lib/ta-lib/releases/download/v0.8.3/ta-lib-0.8.3-windows-x86_32.zip) #### Linux Download -[ta-lib-0.8.1-src.tar.gz](https://github.com/ta-lib/ta-lib/releases/download/v0.8.1/ta-lib-0.8.1-src.tar.gz) +[ta-lib-0.8.3-src.tar.gz](https://github.com/ta-lib/ta-lib/releases/download/v0.8.3/ta-lib-0.8.3-src.tar.gz) and: ```shell -tar -xzf ta-lib-0.8.1-src.tar.gz -cd ta-lib-0.8.1/ +tar -xzf ta-lib-0.8.3-src.tar.gz +cd ta-lib-0.8.3/ ./configure --prefix=/usr make sudo make install diff --git a/setup.py b/setup.py index 92c52a7e4..aa57ad9b5 100644 --- a/setup.py +++ b/setup.py @@ -16,8 +16,8 @@ import numpy -TALIB_C_VERSION = '0.8.1' -TALIB_C_SHA256 = 'ec59ccd88c0c77f618587d858787c8f9d06c40460a09d66751926f6fd670f985' +TALIB_C_VERSION = '0.8.3' +TALIB_C_SHA256 = '28b1179b178a0db15f3dad0d846ef77f18eb06db5dfc5b5a8ca153a9ea5d84e6' def talib_source(directory): diff --git a/tools/build_talib_linux.sh b/tools/build_talib_linux.sh index fd00a2201..9177b98a8 100644 --- a/tools/build_talib_linux.sh +++ b/tools/build_talib_linux.sh @@ -1,6 +1,6 @@ #!/bin/bash -TALIB_C_VER="${TALIB_C_VER:=0.8.1}" +TALIB_C_VER="${TALIB_C_VER:=0.8.3}" CMAKE_GENERATOR="Unix Makefiles" CMAKE_BUILD_TYPE=Release CMAKE_CONFIGURATION_TYPES=Release diff --git a/tools/build_talib_macos.sh b/tools/build_talib_macos.sh index fd00a2201..9177b98a8 100644 --- a/tools/build_talib_macos.sh +++ b/tools/build_talib_macos.sh @@ -1,6 +1,6 @@ #!/bin/bash -TALIB_C_VER="${TALIB_C_VER:=0.8.1}" +TALIB_C_VER="${TALIB_C_VER:=0.8.3}" CMAKE_GENERATOR="Unix Makefiles" CMAKE_BUILD_TYPE=Release CMAKE_CONFIGURATION_TYPES=Release diff --git a/tools/build_talib_windows.cmd b/tools/build_talib_windows.cmd index 4efc18df4..b450e1da1 100644 --- a/tools/build_talib_windows.cmd +++ b/tools/build_talib_windows.cmd @@ -1,7 +1,7 @@ :: Download and build TA-Lib @echo on -if not defined TALIB_C_VER set TALIB_C_VER=0.8.1 +if not defined TALIB_C_VER set TALIB_C_VER=0.8.3 set CMAKE_GENERATOR=NMake Makefiles set CMAKE_BUILD_TYPE=Release