Skip to content

Commit 06f8bb1

Browse files
update numpy version if python_version>=3.12 (#932)
Co-authored-by: Don <lin.dongzhao@ricequant.com>
1 parent 53cbf4b commit 06f8bb1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
requests
2-
numpy < 2.0.0
2+
numpy < 2.0.0 ; python_version <= '3.11'
3+
numpy >=2.0.0 ; python_version >= '3.12'
34
pandas >=0.18.1
45
python-dateutil >=2.5.3
56
six >=1.10.0

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
requirements = [
1919
'requests',
20-
'numpy < 2.0.0',
20+
'numpy < 2.0.0 ; python_version <= "3.11"',
21+
'numpy >=2.0.0 ; python_version >= "3.12"',
2122
'pandas >=1.0.5',
2223
'python-dateutil',
2324
'six',

0 commit comments

Comments
 (0)