Commit 91798fb3 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼
parent b578b8cd
...@@ -11,7 +11,7 @@ for f in sorted(glob.glob(os.path.join('slapos', 'README.*.rst'))): ...@@ -11,7 +11,7 @@ for f in sorted(glob.glob(os.path.join('slapos', 'README.*.rst'))):
long_description += open("CHANGES.txt").read() + "\n" long_description += open("CHANGES.txt").read() + "\n"
prediction_require = ['statsmodels', 'scipy', 'pandas'] prediction_require = ['statsmodels>=0.11.0', 'scipy', 'pandas']
test_require = ['mock', 'cryptography', 'websockets; python_version>="3"',] + prediction_require test_require = ['mock', 'cryptography', 'websockets; python_version>="3"',] + prediction_require
setup(name=name, setup(name=name,
......
...@@ -22,7 +22,7 @@ from contextlib import closing ...@@ -22,7 +22,7 @@ from contextlib import closing
try: try:
import pandas as pd import pandas as pd
import numpy as np import numpy as np
from statsmodels.tsa.arima_model import ARIMA from statsmodels.tsa.arima.model import ARIMA
except ImportError: except ImportError:
pass pass
...@@ -364,4 +364,4 @@ class RunPromise(GenericPromise): ...@@ -364,4 +364,4 @@ class RunPromise(GenericPromise):
return self._test(result_count=1, failure_amount=1) return self._test(result_count=1, failure_amount=1)
def anomaly(self): def anomaly(self):
return self._test(result_count=3, failure_amount=3) return self._test(result_count=3, failure_amount=3)
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment