From 4cdfa3bddb4a8576fe470949a6d23311ed412cfa Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 4 Nov 2025 17:08:33 +0100 Subject: [PATCH] Add mkdocs and sphinx to forbidden packages (#155781) --- script/hassfest/requirements.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/hassfest/requirements.py b/script/hassfest/requirements.py index 860665b998c..216d9a8ee21 100644 --- a/script/hassfest/requirements.py +++ b/script/hassfest/requirements.py @@ -94,6 +94,8 @@ FORBIDDEN_PACKAGES = { "async-timeout": "be replaced by asyncio.timeout (Python 3.11+)", # Only needed for tests "codecov": "not be a runtime dependency", + # Only needed for docs + "mkdocs": "not be a runtime dependency", # Does blocking I/O and should be replaced by pyserial-asyncio-fast # See https://github.com/home-assistant/core/pull/116635 "pyserial-asyncio": "be replaced by pyserial-asyncio-fast", @@ -101,6 +103,8 @@ FORBIDDEN_PACKAGES = { "pytest": "not be a runtime dependency", # Only needed for build "setuptools": "not be a runtime dependency", + # Only needed for docs + "sphinx": "not be a runtime dependency", # Only needed for build "wheel": "not be a runtime dependency", }