|
13 | 13 | "emoji", |
14 | 14 | # Assuming numpy version <1.25.0 is compatible with older Python versions and older HoloViews |
15 | 15 | "pyamg", |
16 | | - "matplotlib<=3.7.4", # Specify versions compatible with older Python versions |
17 | | - "seaborn>=0.12.2", |
18 | 16 | "scikit-learn", |
19 | 17 | "statsmodels", |
20 | 18 | "nltk", |
|
27 | 25 | # Define default dependencies (compatible with older Python versions) |
28 | 26 | install_requires = list_req |
29 | 27 |
|
30 | | -if python_version <= (3, 10): |
| 28 | +if python_version < (3, 10): |
31 | 29 | install_requires = list_req + [ |
32 | 30 | "numpy<1.24", # older version. otherwise you get numpy bool error |
33 | 31 | "hvplot~=0.7.3", # Older compatible version |
34 | 32 | "holoviews<=1.14.9", # Older compatible version |
35 | 33 | "panel~=0.14.4", ## this is an old versjon of panel |
36 | 34 | "param==1.13.0", ### something broke in panel without this |
37 | 35 | "pandas<2.0", ## pandas must be below 2.0 version |
| 36 | + "matplotlib<=3.7.4", ## newer version of matplotlib |
| 37 | + "seaborn<=0.12.2", ## newer version of seaborn ## |
38 | 38 | ] |
39 | 39 |
|
40 | 40 | # For Python versions >= 3.10 and < 3.11, update the dependency list |
41 | | -if (3, 10) < python_version <= (3, 11): |
| 41 | +if (3, 10) <= python_version <= (3, 11): |
42 | 42 | install_requires = list_req + [ |
43 | 43 | # Keep most dependencies as is, adjust only where necessary |
44 | 44 | "numpy>=1.24.0", # Update as needed for compatibility with newer HoloViews |
|
48 | 48 | # Ensure other dependencies are compatible |
49 | 49 | "panel>=1.4.0", ## this is a new version of panel |
50 | 50 | "pandas>=2.0", ## pandas must be below 2.0 version |
| 51 | + "matplotlib>3.7.4", ## newer version of matplotlib |
| 52 | + "seaborn>0.12.2", ## newer version of seaborn ## |
51 | 53 | ] |
52 | 54 |
|
53 | 55 | # For Python versions >= 3.11, ensure HoloViews is at least 1.15.3 for the bug fix |
|
60 | 62 | # Update or keep other dependencies as needed |
61 | 63 | "panel>=1.4.0", ## this is a new version of panel |
62 | 64 | "pandas<2.0", ## pandas must be below 2.0 version |
| 65 | + "matplotlib>3.7.4", ## newer version of matplotlib |
| 66 | + "seaborn>0.12.2", ## newer version of seaborn ## |
63 | 67 | ] |
64 | 68 |
|
65 | 69 | setuptools.setup( |
66 | 70 | name="autoviz", |
67 | | - version="0.1.901", |
| 71 | + version="0.1.902", |
68 | 72 | author="Ram Seshadri", |
69 | 73 | description="Automatically Visualize any dataset, any size with a single line of code", |
70 | 74 | long_description=long_description, |
|
0 commit comments