[LTP] [PATCH] doc: fix documentation build with latest setuptools

Andrea Cervesato andrea.cervesato@suse.de
Wed Feb 11 17:06:34 CET 2026


From: Andrea Cervesato <andrea.cervesato@suse.com>

Force setuptools to version 81.0.0, which is the last one where linuxdoc
still can be installed. Also, from python 3.12 setuptools is not
available anymore when creating a new virtualenv, so we need to force
its installation to ensure that documentation will be built.

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
Link: https://docs.python.org/3/whatsnew/3.12.html
---
 doc/requirements.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/requirements.txt b/doc/requirements.txt
index ed9e31601da3e0bd3b88c1cf682a68f22da0f9cd..dba3baeba5aedb81f420a8f13134af8dba2d553d 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -5,3 +5,5 @@ sphinx-rtd-theme==2.0.0
 
 linuxdoc==20240924
 sphinxcontrib-spelling==7.7.0
+
+setuptools==81.0.0

---
base-commit: f9c96b60dfcc227bc7b3052d666540a7d84d949a
change-id: 20260211-fix_doc_build-10809d8f63d7

Best regards,
-- 
Andrea Cervesato <andrea.cervesato@suse.com>



More information about the ltp mailing list