|
12 | 12 | "wordcloud",
|
13 | 13 | "emoji",
|
14 | 14 | # Assuming numpy version <1.25.0 is compatible with older Python versions and older HoloViews
|
15 |
| - "pandas", |
16 | 15 | "pyamg",
|
17 | 16 | "matplotlib<=3.7.4", # Specify versions compatible with older Python versions
|
18 | 17 | "seaborn>=0.12.2",
|
|
28 | 27 | # Define default dependencies (compatible with older Python versions)
|
29 | 28 | install_requires = list_req
|
30 | 29 |
|
31 |
| -if python_version < (3, 10): |
| 30 | +if python_version <= (3, 10): |
32 | 31 | install_requires = list_req + [
|
33 | 32 | "numpy<1.25.0",
|
34 | 33 | "hvplot~=0.7.3", # Older compatible version
|
35 |
| - "holoviews~=1.14.9", # Older compatible version |
| 34 | + "holoviews<=1.14.9", # Older compatible version |
36 | 35 | "panel~=0.14.4", ## this is an old versjon of panel
|
37 | 36 | "param==1.13.0", ### something broke in panel without this
|
| 37 | + "pandas<2.0", ## pandas must be below 2.0 version |
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.25.0", # Update as needed for compatibility with newer HoloViews
|
45 | 45 | # Update other dependencies as needed
|
46 | 46 | "hvplot>=0.9.2", ###newer hvplot
|
47 |
| - "holoviews>=1.16.0", # Update based on the bug fix relevant to Python 3.10 |
| 47 | + "holoviews>=1.15.3", # Update based on the bug fix relevant to Python 3.10 |
48 | 48 | # Ensure other dependencies are compatible
|
49 |
| - "panel>=1.4.0", |
| 49 | + "panel>=1.4.0", ## this is a new version of panel |
| 50 | + "pandas<2.0", ## pandas must be below 2.0 version |
50 | 51 | ]
|
51 | 52 |
|
52 | 53 | # For Python versions >= 3.11, ensure HoloViews is at least 1.15.3 for the bug fix
|
53 |
| -if python_version >= (3, 11): |
| 54 | +if python_version > (3, 11): |
54 | 55 | install_requires = list_req + [
|
55 | 56 | # Adjust dependencies as needed for Python 3.11
|
56 | 57 | "numpy>=1.25.0", # Update as needed for compatibility with newer HoloViews
|
57 | 58 | "hvplot>=0.9.2", ###newer hvplot
|
58 | 59 | "holoviews>=1.15.3", # Ensure version is >= 1.15.3 for Python 3.11 support
|
59 | 60 | # Update or keep other dependencies as needed
|
60 |
| - "panel>=1.4.0", |
| 61 | + "panel>=1.4.0", ## this is a new version of panel |
| 62 | + "pandas<2.0", ## pandas must be below 2.0 version |
61 | 63 | ]
|
62 | 64 |
|
63 | 65 | setuptools.setup(
|
64 | 66 | name="autoviz",
|
65 |
| - version="0.1.807", |
| 67 | + version="0.1.808", |
66 | 68 | author="Ram Seshadri",
|
67 | 69 | description="Automatically Visualize any dataset, any size with a single line of code",
|
68 | 70 | long_description=long_description,
|
|
0 commit comments