Skip to content

Commit 9a84db9

Browse files
committed
👷 min config
1 parent 4bb9f7f commit 9a84db9

3 files changed

Lines changed: 9 additions & 11 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies = [
2929
"statsmodels>=0.14.4",
3030
"matplotlib>=3.5.1",
3131
"plotly>=5.3.1",
32-
"requests>=2.32.3",
32+
"requests>=2.32.3, <3.0",
3333
"influxdb-client>=1.48.0",
3434
"prophet>=1.1.5",
3535
]

requirements/install-min.txt

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
# minimal working environment (stable with Prophet 1.1.5 + cmdstanpy)
2-
numpy==1.25.2
3-
pandas==2.1.4
4-
scipy==1.10.1
2+
numpy==1.22.4
3+
pandas==2.0.0
4+
scipy==1.9.1
55
scikit-learn==1.2.2
66
statsmodels==0.14.4
7-
matplotlib==3.7.1
8-
plotly==5.13.1
9-
requests==2.31.0
7+
matplotlib==3.5.1
8+
plotly==5.3.1
9+
requests==2.32.3
1010
bigtree==0.21.3
11-
12-
# prophet pinned to stable pre-1.1.6 behavior
11+
influxdb-client==1.48.0
1312
prophet==1.1.5
1413

15-
# make sure cmdstan backend is available and chosen by Prophet
16-
cmdstanpy==1.2.0

tide/regressors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ def fit(self, X: pd.Index | pd.Series | pd.DataFrame, y=pd.Series | pd.DataFrame
326326
for target in y:
327327
prophet_df = format_prophet_df(X, y[target])
328328
model = Prophet(
329+
stan_backend="CMDSTANPY",
329330
seasonality_prior_scale=self.seasonality_prior_scale,
330331
changepoint_prior_scale=self.changepoint_prior_scale,
331332
**self.prophet_kwargs,

0 commit comments

Comments
 (0)