Skip to content

Commit 8b3f36e

Browse files
committed
Merge branch '0.4' into ta_bundled_040
2 parents ede18ab + 31fd12e commit 8b3f36e

File tree

5 files changed

+36
-14
lines changed

5 files changed

+36
-14
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@ name: Tests
22

33
on:
44
push:
5+
# branches: [ 0.4 ]
56
pull_request:
7+
branches: [ 0.4 ]
68

79
jobs:
810
build:
911
runs-on: ubuntu-latest
1012
strategy:
1113
fail-fast: false
1214
matrix:
13-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
15+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1416
steps:
1517
- uses: actions/checkout@v4
1618

CHANGELOG

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
0.4.38
2+
======
3+
4+
- [FIX]: Fix lib name on windows.
5+
6+
0.4.37
7+
======
8+
9+
- [FIX]: Make sure to pin numpy<2 in the setup.py.
10+
11+
0.4.36
12+
======
13+
14+
- [BUG]: Make this release only support TA-Lib 0.4.0
15+
16+
0.4.35
17+
======
18+
19+
- [FIX]: Make sure this wrapper works with TA-Lib 0.6.1
20+
121
0.4.34
222
======
323

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[project]
22
name = "ta-lib"
3-
version = "0.4.34"
4-
dynamic = ["authors", "classifiers", "dependencies", "description", "license", "readme"]
5-
6-
[build-system]
7-
requires = ["setuptools >= 51.0.0", "wheel", "numpy<2.0.0"]
8-
build-backend = "setuptools.build_meta:__legacy__"
3+
version = "0.4.38"
4+
dynamic = ["authors", "classifiers", "description", "license", "readme"]
5+
dependencies = [
6+
"setuptools",
7+
"numpy<2",
8+
]

setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
try:
88
from setuptools import Extension, setup
99
requires = {
10-
"install_requires": ["numpy"],
11-
"setup_requires": ["numpy"]
10+
"install_requires": ["numpy<2"],
11+
"setup_requires": ["numpy<2"]
1212
}
1313
except ImportError:
1414
from distutils.core import setup
1515
from distutils.extension import Extension
16-
requires = {"requires": ["numpy"]}
17-
18-
lib_talib_name = 'ta_lib' # the underlying C library's name
16+
requires = {"requires": ["numpy<2"]}
1917

2018
platform_supported = False
2119

20+
lib_talib_name = 'ta_lib' # the name as of TA-Lib 0.4.0
21+
2222
if any(s in sys.platform for s in ['darwin', 'linux', 'bsd', 'sunos']):
2323
platform_supported = True
2424
include_dirs = [
@@ -145,7 +145,7 @@ def build_extensions(self):
145145

146146
setup(
147147
name='TA-Lib',
148-
version='0.4.34',
148+
version='0.4.38',
149149
description='Python wrapper for TA-Lib',
150150
long_description=long_description,
151151
long_description_content_type='text/markdown',

talib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def wrapper(*args, **kwds):
132132
setattr(stream, func_name, wrapped_func)
133133
globals()[stream_func_name] = wrapped_func
134134

135-
__version__ = '0.4.34'
135+
__version__ = '0.4.38'
136136

137137
# In order to use this python library, talib (i.e. this __file__) will be
138138
# imported at some point, either explicitly or indirectly via talib.func

0 commit comments

Comments
 (0)