Skip to content

Commit

Permalink
make sure to pin numpy<2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Jan 4, 2025
1 parent c2ef3c6 commit 6a8b2b7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
0.4.37
======

- [FIX]: Make sure to pin numpy<2 in the setup.py.

0.4.36
======

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[project]
name = "ta-lib"
version = "0.4.36"
version = "0.4.37"
dynamic = ["authors", "classifiers", "description", "license", "readme"]
dependencies = [
"setuptools",
"numpy",
"numpy<2",
]
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
from setuptools import setup, Extension
from setuptools.dist import Distribution
requires = {
"install_requires": ["numpy"],
"setup_requires": ["numpy"]
"install_requires": ["numpy<2"],
"setup_requires": ["numpy<2"]
}
except ImportError:
from distutils.core import setup
from distutils.dist import Distribution
from distutils.extension import Extension
requires = {"requires": ["numpy"]}
requires = {"requires": ["numpy<2"]}

platform_supported = False

Expand Down Expand Up @@ -143,7 +143,7 @@ def build_extensions(self):

setup(
name='TA-Lib',
version='0.4.36',
version='0.4.37',
description='Python wrapper for TA-Lib',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down
2 changes: 1 addition & 1 deletion talib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def wrapper(*args, **kwds):
setattr(stream, func_name, wrapped_func)
globals()[stream_func_name] = wrapped_func

__version__ = '0.4.36'
__version__ = '0.4.37'

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

0 comments on commit 6a8b2b7

Please sign in to comment.