Skip to content

Commit 6a8b2b7

Browse files
committed
make sure to pin numpy<2
1 parent c2ef3c6 commit 6a8b2b7

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
0.4.37
2+
======
3+
4+
- [FIX]: Make sure to pin numpy<2 in the setup.py.
5+
16
0.4.36
27
======
38

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[project]
22
name = "ta-lib"
3-
version = "0.4.36"
3+
version = "0.4.37"
44
dynamic = ["authors", "classifiers", "description", "license", "readme"]
55
dependencies = [
66
"setuptools",
7-
"numpy",
7+
"numpy<2",
88
]

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
from setuptools import setup, Extension
1010
from setuptools.dist import Distribution
1111
requires = {
12-
"install_requires": ["numpy"],
13-
"setup_requires": ["numpy"]
12+
"install_requires": ["numpy<2"],
13+
"setup_requires": ["numpy<2"]
1414
}
1515
except ImportError:
1616
from distutils.core import setup
1717
from distutils.dist import Distribution
1818
from distutils.extension import Extension
19-
requires = {"requires": ["numpy"]}
19+
requires = {"requires": ["numpy<2"]}
2020

2121
platform_supported = False
2222

@@ -143,7 +143,7 @@ def build_extensions(self):
143143

144144
setup(
145145
name='TA-Lib',
146-
version='0.4.36',
146+
version='0.4.37',
147147
description='Python wrapper for TA-Lib',
148148
long_description=long_description,
149149
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.36'
135+
__version__ = '0.4.37'
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)