facebookresearch / Kats

Kats, a kit to analyze time series data, a lightweight, easy-to-use, generalizable, and extendable framework to perform time series analysis, from understanding the key statistics and characteristics, detecting change points and anomalies, to forecasting future trends.
MIT License
4.85k stars 530 forks source link

fixed dependency statsmodels==0.12.2 #294

Open thepr0blem opened 1 year ago

thepr0blem commented 1 year ago

Is this strict dependency on specific version obligatory? It makes packaging projects with kats and other time series related dependencies problematic. Example would be darts which requires statsmodels>0.13, but in general statsmodels is a dependency for many projects and it would make deps conflicts resolution much easier.

Thanks!

michaelbrundage commented 1 year ago

It's a problem for sure. statsmodels keeps breaking kats with backwards incompatible changes in their minor point releases. We added kats.compat.statsmodels to compensate for some of the issues in their latest releases. The problem is that statsmodels>0.13 made many more incompatible changes that have broken more kats dependencies, and the team hasn't yet had time to investigate and fix. PRs always welcome!