|
10 | 10 | # extras
|
11 | 11 | tables = ['tables>=3.7']
|
12 | 12 | graph_deps = ['matplotlib~=3.5', 'seaborn~=0.11', 'imageio~=2.6', 'plotext~=1.0']
|
13 |
| -dashserve_deps = ['dashserve'] |
| 13 | +dashserve_deps = ['dashserve', 'dash<2.9'] # dash 2.9 breaks dashserve due to required pages folder |
14 | 14 | sql_deps = ['sqlalchemy', 'ipython-sql']
|
15 | 15 | snowflake_deps = ['snowflake-sqlalchemy==1.2.3']
|
16 | 16 | iotools_deps = ['boto>=2.49.0']
|
|
28 | 28 | tf_deps = ['tensorflow=={}'.format(tf_version)]
|
29 | 29 | tf_deps = tf_deps + ['tensorflow-gpu==1.15.0', 'h5py==2.10.0']
|
30 | 30 | keras_deps = ['keras==2.2.4']
|
31 |
| -elif (3, 8) <= sys.version_info[:2] < (3, 9) : |
| 31 | +elif (3, 8) <= sys.version_info[:2] < (3, 9): |
32 | 32 | major, minor, *_ = (int(v) for v in tf_version.split('.'))
|
33 | 33 | assert (major, minor) >= (2, 2), "Python version 3.8 only supported by TF >= 2.2"
|
34 | 34 | tf_deps = ['tensorflow{}{}'.format(tf_match, tf_version)]
|
|
80 | 80 | ],
|
81 | 81 | install_requires=[
|
82 | 82 | 'celery>5,<6.0',
|
83 |
| - 'importlib-metadata<5.0', # due to https://github.com/celery/kombu/pull/1601 |
| 83 | + 'importlib-metadata<5.0', # due to https://github.com/celery/kombu/pull/1601 |
84 | 84 | 'joblib>=0.9.4',
|
85 | 85 | 'jupyter-client>=4.1.1',
|
86 | 86 | 'mongoengine~=0.24.1',
|
|
91 | 91 | 'scikit-learn>=0.21',
|
92 | 92 | 'PyYAML>=3.12',
|
93 | 93 | 'flask-restx>=0.4.0',
|
94 |
| - 'werkzeug<2.1.0', # due to flask-restx, https://github.com/python-restx/flask-restx/issues/422 |
95 |
| - 'markupsafe==2.0.1', # due to flask/markupsafe, https://github.com/pallets/markupsafe/issues/284 |
| 94 | + 'werkzeug<2.1.0', # due to flask-restx, https://github.com/python-restx/flask-restx/issues/422 |
| 95 | + 'markupsafe==2.0.1', # due to flask/markupsafe, https://github.com/pallets/markupsafe/issues/284 |
96 | 96 | 'croniter>=0.3.30',
|
97 | 97 | 'nbformat>=4.0.1',
|
98 | 98 | 'nbconvert>=6.4.0',
|
99 |
| - 'pygments>=2.7.4', # via nbconvert, due to snyk report https://github.com/omegaml/omegaml/pull/299 |
100 |
| - 'dill>=0.3.2,<0.3.6', # due to dill, https://github.com/uqfoundation/dill/issues/332 |
| 99 | + 'pygments>=2.7.4', # via nbconvert, due to snyk report https://github.com/omegaml/omegaml/pull/299 |
| 100 | + 'dill>=0.3.2,<0.3.6', # due to dill, https://github.com/uqfoundation/dill/issues/332 |
101 | 101 | 'callable-pip>=1.0.0',
|
102 | 102 | 'appdirs>=1.4.3',
|
103 | 103 | 'cron-descriptor>=1.2.31',
|
|
109 | 109 | 'tqdm>=4.32.2',
|
110 | 110 | 'honcho>=1.0.1', # not strictly required, but used in docker compose
|
111 | 111 | 'tabulate>=0.8.2', # required in cli
|
112 |
| - 'smart_open', # required in cli |
113 |
| - 'imageio>=2.3.0', # require to store images |
114 |
| - 'psutil>=5.8', # required for profiling tracker |
115 |
| - 'cachetools>=5.0.0', # required for session caching |
116 |
| - 'apispec>=5.2.2', # required for openapi generation |
117 |
| - 'marshmallow>=3.17.0', # required for openapi generation |
| 112 | + 'smart_open', # required in cli |
| 113 | + 'imageio>=2.3.0', # require to store images |
| 114 | + 'psutil>=5.8', # required for profiling tracker |
| 115 | + 'cachetools>=5.0.0', # required for session caching |
| 116 | + 'apispec>=5.2.2', # required for openapi generation |
| 117 | + 'marshmallow>=3.17.0', # required for openapi generation |
118 | 118 | ],
|
119 | 119 | extras_require={
|
120 | 120 | 'graph': graph_deps,
|
|
137 | 137 | 'console_scripts': ['om=omegaml.client.cli:climain'],
|
138 | 138 | }
|
139 | 139 | )
|
140 |
| - |
0 commit comments