Skip to content

Commit a760ff8

Browse files
committed
Modify setup.py to handle multiple pythons
1 parent 1be038f commit a760ff8

File tree

2 files changed

+15
-42
lines changed

2 files changed

+15
-42
lines changed

autoviz/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
__author__ = "Ram Seshadri"
66
__description__ = "Automatically Visualize any data set any size with a Single Line of Code"
77
__url__ = "https://github.com/AutoViML/AutoViz.git"
8-
__version__ = "0.1.902"
8+
__version__ = "0.1.903"
99
__holo_version__ = "0.0.4"
1010
__license__ = "Apache License 2.0"
1111
__copyright__ = "2020-21 Google"

setup.py

+14-41
Original file line numberDiff line numberDiff line change
@@ -25,50 +25,23 @@
2525
# Define default dependencies (compatible with older Python versions)
2626
install_requires = list_req
2727

28-
if python_version < (3, 10):
29-
install_requires = list_req + [
30-
"numpy<1.24", # older version. otherwise you get numpy bool error
31-
"hvplot~=0.7.3", # Older compatible version
32-
"holoviews<=1.14.9", # Older compatible version
33-
"panel~=0.14.4", ## this is an old versjon of panel
34-
"param==1.13.0", ### something broke in panel without this
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-
]
39-
40-
# For Python versions >= 3.10 and < 3.11, update the dependency list
41-
if (3, 10) <= python_version <= (3, 11):
42-
install_requires = list_req + [
43-
# Keep most dependencies as is, adjust only where necessary
44-
"numpy>=1.24.0", # Update as needed for compatibility with newer HoloViews
45-
# Update other dependencies as needed
46-
"hvplot>=0.9.2", ###newer hvplot
47-
"holoviews>=1.16.0", # Update based on the bug fix relevant to Python 3.10
48-
# Ensure other dependencies are compatible
49-
"panel>=1.4.0", ## this is a new version of panel
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 ##
53-
]
54-
55-
# For Python versions >= 3.11, ensure HoloViews is at least 1.15.3 for the bug fix
56-
if python_version > (3, 11):
57-
install_requires = list_req + [
58-
# Adjust dependencies as needed for Python 3.11
59-
"numpy>=1.25.0", # Update as needed for compatibility with newer HoloViews
60-
"hvplot>=0.9.2", ###newer hvplot
61-
"holoviews>=1.15.3", # Ensure version is >= 1.15.3 for Python 3.11 support
62-
# Update or keep other dependencies as needed
63-
"panel>=1.4.0", ## this is a new version of panel
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 ##
67-
]
28+
# Define default dependencies (compatible with older Python versions)
29+
install_requires = list_req + [
30+
# Keep most dependencies as is, adjust only where necessary
31+
"numpy>=1.24.0", # Update as needed for compatibility with newer HoloViews
32+
# Update other dependencies as needed
33+
"hvplot>=0.9.2", ###newer hvplot
34+
"holoviews>=1.16.0", # Update based on the bug fix relevant to Python 3.10
35+
# Ensure other dependencies are compatible
36+
"panel>=1.4.0", ## this is a new version of panel
37+
"pandas>=2.0", ## pandas must be below 2.0 version
38+
"matplotlib>3.7.4", ## newer version of matplotlib
39+
"seaborn>0.12.2", ## newer version of seaborn ##
40+
]
6841

6942
setuptools.setup(
7043
name="autoviz",
71-
version="0.1.902",
44+
version="0.1.903",
7245
author="Ram Seshadri",
7346
description="Automatically Visualize any dataset, any size with a single line of code",
7447
long_description=long_description,

0 commit comments

Comments
 (0)