Skip to content

Commit 50a1bdc

Browse files
committed
Adding ne setup.py
1 parent da098fb commit 50a1bdc

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

setup.py

+10-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"wordcloud",
1313
"emoji",
1414
# Assuming numpy version <1.25.0 is compatible with older Python versions and older HoloViews
15-
"numpy<1.25.0",
1615
"pandas",
1716
"pyamg",
1817
"matplotlib<=3.7.4", # Specify versions compatible with older Python versions
@@ -21,9 +20,7 @@
2120
"statsmodels",
2221
"nltk",
2322
"textblob",
24-
"holoviews~=1.14.9", # Older compatible version
2523
"bokeh~=2.4.2", # Ensure compatibility with older HoloViews
26-
"hvplot~=0.7.3", # Older compatible version
2724
"panel>=0.12.6",
2825
"xgboost>=0.82,<1.7",
2926
"fsspec>=0.8.3",
@@ -33,12 +30,20 @@
3330
# Define default dependencies (compatible with older Python versions)
3431
install_requires = list_req
3532

33+
if python_version >= (3, 11):
34+
install_requires = list_req + [
35+
"numpy<1.25.0",
36+
"hvplot~=0.7.3", # Older compatible version
37+
"holoviews~=1.14.9", # Older compatible version
38+
]
39+
3640
# For Python versions >= 3.10 and < 3.11, update the dependency list
3741
if (3, 10) <= python_version < (3, 11):
3842
install_requires = list_req + [
3943
# Keep most dependencies as is, adjust only where necessary
4044
"numpy>=1.25.0", # Update as needed for compatibility with newer HoloViews
4145
# Update other dependencies as needed
46+
"hvplot>=0.9.2", ###newer hvplot
4247
"holoviews>=1.16.0", # Update based on the bug fix relevant to Python 3.10
4348
# Ensure other dependencies are compatible
4449
]
@@ -47,6 +52,8 @@
4752
if python_version >= (3, 11):
4853
install_requires = list_req + [
4954
# Adjust dependencies as needed for Python 3.11
55+
"numpy>=1.25.0", # Update as needed for compatibility with newer HoloViews
56+
"hvplot>=0.9.2", ###newer hvplot
5057
"holoviews>=1.15.3", # Ensure version is >= 1.15.3 for Python 3.11 support
5158
# Update or keep other dependencies as needed
5259
]

0 commit comments

Comments
 (0)