From e9777fe6fa47de6ba1fc1aef5238f41413f92fc2 Mon Sep 17 00:00:00 2001 From: Dhruv Kumar Date: Thu, 11 Dec 2025 21:24:05 +0530 Subject: [PATCH 1/2] Updated docutils version constraint to resolve dependency conflict --- README.md | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1d26c395..979d205e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## About Grid is a simple, free, and open-source Python library for numerical integration, interpolation and differentiation. -Primarly intended for the quantum chemistry community to assist in density-functional (DFT) theory calculations, +Primarily intended for the quantum chemistry community to assist in density-functional (DFT) theory calculations, including support for periodic boundary conditions. Please visit [**Grid Documentation**](https://grid.qcdevs.org/) for more information with diff --git a/pyproject.toml b/pyproject.toml index 9ba1edde..7dd58a95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ doc = [ "nbconvert", "sphinx_rtd_theme", "sphinx_autodoc_typehints", - "docutils==0.16", # Needed to show bullet points in sphinx_rtd_theme + "docutils>=0.20", # Compatible with modern Sphinx versions "nbsphinx-link" ] From 95905f8c0307b45efb637bcdb7eb2ae4d4b4d117 Mon Sep 17 00:00:00 2001 From: Fanwang Meng Date: Sat, 13 Dec 2025 11:07:55 -0500 Subject: [PATCH 2/2] Fix the version of docutils This is because the theme requires a specific version to generate the html files, https://github.com/readthedocs/sphinx_rtd_theme/blob/20733c3bcc60df8eda23512a0f3ccb2861486110/setup.cfg#L48C2-L48C22. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7dd58a95..01b3daed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,9 +50,9 @@ doc = [ "sphinx-autoapi", "nbsphinx", "nbconvert", - "sphinx_rtd_theme", + "sphinx-rtd-theme>=3.0.0rc1", "sphinx_autodoc_typehints", - "docutils>=0.20", # Compatible with modern Sphinx versions + "docutils >0.18,<0.22", # Compatible with modern Sphinx versions "nbsphinx-link" ]