|
12 | 12 | "wordcloud",
|
13 | 13 | "emoji",
|
14 | 14 | # Assuming numpy version <1.25.0 is compatible with older Python versions and older HoloViews
|
15 |
| - "numpy<1.25.0", |
16 | 15 | "pandas",
|
17 | 16 | "pyamg",
|
18 | 17 | "matplotlib<=3.7.4", # Specify versions compatible with older Python versions
|
|
21 | 20 | "statsmodels",
|
22 | 21 | "nltk",
|
23 | 22 | "textblob",
|
24 |
| - "holoviews~=1.14.9", # Older compatible version |
25 | 23 | "bokeh~=2.4.2", # Ensure compatibility with older HoloViews
|
26 |
| - "hvplot~=0.7.3", # Older compatible version |
27 | 24 | "panel>=0.12.6",
|
28 | 25 | "xgboost>=0.82,<1.7",
|
29 | 26 | "fsspec>=0.8.3",
|
|
33 | 30 | # Define default dependencies (compatible with older Python versions)
|
34 | 31 | install_requires = list_req
|
35 | 32 |
|
| 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 | + |
36 | 40 | # For Python versions >= 3.10 and < 3.11, update the dependency list
|
37 | 41 | if (3, 10) <= python_version < (3, 11):
|
38 | 42 | install_requires = list_req + [
|
39 | 43 | # Keep most dependencies as is, adjust only where necessary
|
40 | 44 | "numpy>=1.25.0", # Update as needed for compatibility with newer HoloViews
|
41 | 45 | # Update other dependencies as needed
|
| 46 | + "hvplot>=0.9.2", ###newer hvplot |
42 | 47 | "holoviews>=1.16.0", # Update based on the bug fix relevant to Python 3.10
|
43 | 48 | # Ensure other dependencies are compatible
|
44 | 49 | ]
|
|
47 | 52 | if python_version >= (3, 11):
|
48 | 53 | install_requires = list_req + [
|
49 | 54 | # 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 |
50 | 57 | "holoviews>=1.15.3", # Ensure version is >= 1.15.3 for Python 3.11 support
|
51 | 58 | # Update or keep other dependencies as needed
|
52 | 59 | ]
|
|
0 commit comments