-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update prophet required version to 1.1 (#110)
* Update prophet required version to 1.1. Prophet 1.1 removes the dependency on pystan. Since pystan installation is quite complicated, this change makes Merlion as a whole much simpler to install. * Simplify Dockerfile. * Add Python 3.10 support to the test bench. * Bump version 1.2.3. * Correction for Python 3.10. * Add prophet=1.0 backward compatibility for Python 3.6.
- Loading branch information
Showing
5 changed files
with
24 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,12 +13,7 @@ | |
] | ||
|
||
# optional dependencies | ||
extra_require = { | ||
"plot": ["plotly>=4.13"], | ||
"prophet": ["prophet", "pystan<3.0"], # pystan >= 3.0 doesn't work with prophet | ||
"deep-learning": ["torch>=1.1.0"], | ||
"spark": ["pyspark[sql]>=3"], | ||
} | ||
extra_require = {"plot": ["plotly>=4.13"], "deep-learning": ["torch>=1.1.0"], "spark": ["pyspark[sql]>=3"]} | ||
extra_require["all"] = sum(extra_require.values(), []) | ||
|
||
|
||
|
@@ -29,7 +24,7 @@ def read_file(fname): | |
|
||
setup( | ||
name="salesforce-merlion", | ||
version="1.2.2", | ||
version="1.2.3", | ||
author=", ".join(read_file("AUTHORS.md").split("\n")), | ||
author_email="[email protected]", | ||
description="Merlion: A Machine Learning Framework for Time Series Intelligence", | ||
|
@@ -52,6 +47,8 @@ def read_file(fname): | |
"numpy>=1.19; python_version < '3.7'", # however, numpy 1.20+ requires python 3.7+ | ||
"packaging", | ||
"pandas>=1.1.0", # >=1.1.0 for origin kwarg to df.resample() | ||
"prophet>=1.1; python_version >= '3.7'", # 1.1 removes dependency on pystan | ||
"prophet==1.0.1; python_version < '3.7'", # however, prophet 1.1 requires python 3.7+ | ||
"scikit-learn>=0.22", # >=0.22 for changes to isolation forest algorithm | ||
"scipy>=1.6.0; python_version >= '3.7'", # 1.6.0 adds multivariate_t density to scipy.stats | ||
"scipy>=1.5.0; python_version < '3.7'", # however, scipy 1.6.0 requires python 3.7+ | ||
|