From a610460572f2d85435dfa850fdc247e1c666ef68 Mon Sep 17 00:00:00 2001 From: Sebastiaan Huber Date: Tue, 16 Jul 2024 12:21:33 +0200 Subject: [PATCH] Dependencies: Pin requirement to minor version `sphinx~=7.2.0` (#6527) The recently released v7.4.0 causes the build of the documentation to fail with warnings of the type: Failed to get a method signature for ...: unhashable type It also leads to issues with incremental builds where it fails if a build exists that was generated with an older version. Both these bugs were fixed in v7.4.1 and v7.4.2 respectively, but more warnings remain. Instead of waiting for these to be fixed, we are just pinning to a minor version here which should anyway be done for optional dev dependencies. There is no need to automatically update those to latest releases. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 36a7af77c3..90e70ffb23 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -194,7 +194,7 @@ bpython = [ ] docs = [ 'pydata-sphinx-theme~=0.15.1', - 'sphinx~=7.2', + 'sphinx~=7.2.0', 'sphinx-copybutton~=0.5.0', 'sphinx-design~=0.5.0', 'sphinx-notfound-page~=1.0', @@ -242,7 +242,7 @@ tests = [ 'pytest-regressions~=2.2', 'pympler~=1.0', 'coverage~=7.0', - 'sphinx~=7.2', + 'sphinx~=7.2.0', 'docutils~=0.20' ] tui = [