From 6f002e65329a5769c1c8923d133f23bd4a914c29 Mon Sep 17 00:00:00 2001 From: Jaakko Moisio Date: Fri, 1 Sep 2023 22:40:11 +0300 Subject: [PATCH] Downgrade `sphinx` in doc requirements I'm seeing the "PyO3 modules may only be initialized once per interpreter process" errors when creating sphinx documentation. That may be related to more recent sphinx versions, re: https://github.com/sphinx-doc/sphinx/issues/11662 Downgrade sphinx to an earlier version --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4f91871..4d98a22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,8 +53,8 @@ test = [ ] doc = [ - "sphinx", - "sphinx-rtd-theme", + "sphinx<7", + "sphinx-rtd-theme<1.3", ] [project.urls]