From ff213486e9a5195ec764063d8e7c899e9b09acfa Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Thu, 27 Oct 2022 20:34:48 +0200 Subject: [PATCH] pyproject.toml: Install statsmodels from git on Python 3.11 Statsmodels 0.13.2 doesn't support Python 3.11, so statsmodels is installed from their git master branch, which does support it. This commit can be reversed as soon as a statsmodels version is released which support Python 3.11. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f66ac1051..508cb8657 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,8 @@ dependencies = [ "salib", "platypus-opt", "matplotlib", - "statsmodels", + "statsmodels; python_version < '3.11'", + "statsmodels @ git+https://github.com/statsmodels/statsmodels.git ; python_version >= '3.11'", "seaborn", "tqdm", ]