From acbfe54c7b0d94aa290928870eded5d1452b4590 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Mon, 26 May 2025 16:49:42 +0200 Subject: [PATCH] Drop obsolete IGNORE_PIN in gen_requirements_all.py (#145487) Drop IGNORE_PIN in gen_requirements_all.py --- script/gen_requirements_all.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 87f7edaa892..082062c53a0 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -94,8 +94,6 @@ OVERRIDDEN_REQUIREMENTS_ACTIONS = { }, } -IGNORE_PIN = ("colorlog>2.1,<3", "urllib3") - URL_PIN = ( "https://developers.home-assistant.io/docs/" "creating_platform_code_review.html#1-requirements" @@ -425,7 +423,7 @@ def process_requirements( for req in module_requirements: if "://" in req: errors.append(f"{package}[Only pypi dependencies are allowed: {req}]") - if req.partition("==")[1] == "" and req not in IGNORE_PIN: + if req.partition("==")[1] == "": errors.append(f"{package}[Please pin requirement {req}, see {URL_PIN}]") reqs.setdefault(req, []).append(package)