From af8166c374c4a65f63d4eb313c6d2ff4aeba97b6 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 21 Sep 2026 11:05:46 +0200 Subject: [PATCH] Unpin setuptools and disable the linode and tank_utility integrations (#182842) --- homeassistant/components/linode/manifest.json | 1 + homeassistant/components/tank_utility/manifest.json | 1 + homeassistant/package_constraints.txt | 5 +---- pyproject.toml | 2 +- requirements_all.txt | 6 ------ script/gen_requirements_all.py | 5 +---- script/sqlite3_vendor/pyproject.toml | 2 +- 7 files changed, 6 insertions(+), 16 deletions(-) diff --git a/homeassistant/components/linode/manifest.json b/homeassistant/components/linode/manifest.json index 975747de86de..fa8c17827458 100644 --- a/homeassistant/components/linode/manifest.json +++ b/homeassistant/components/linode/manifest.json @@ -2,6 +2,7 @@ "domain": "linode", "name": "Linode", "codeowners": [], + "disabled": "Linode relies on setuptools.pkg_resources, which is no longer available in setuptools 82.0.0 and later.", "documentation": "https://www.home-assistant.io/integrations/linode", "iot_class": "cloud_polling", "loggers": ["linode"], diff --git a/homeassistant/components/tank_utility/manifest.json b/homeassistant/components/tank_utility/manifest.json index 76240252696b..a1d58ee229d8 100644 --- a/homeassistant/components/tank_utility/manifest.json +++ b/homeassistant/components/tank_utility/manifest.json @@ -2,6 +2,7 @@ "domain": "tank_utility", "name": "Tank Utility", "codeowners": [], + "disabled": "Tank Utility relies on setuptools.pkg_resources, which is no longer available in setuptools 82.0.0 and later.", "documentation": "https://www.home-assistant.io/integrations/tank_utility", "iot_class": "cloud_polling", "loggers": ["tank_utility"], diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 5c739ba5f33e..6b79833b1c4f 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -253,9 +253,6 @@ caio<0.12.3 # https://github.com/auth0/auth0-python/releases/tag/5.0.0 auth0-python<5.0 -# Setuptools >=82.0.0 doesn't contain pkg_resources anymore -setuptools<82.0.0 - # backoff and python-backoff share the same package name # pin versions which are mostly compatible to each other backoff==2.2.1 @@ -268,7 +265,7 @@ python-backoff<2.4.0 azure-kusto-data==4.5.1 azure-kusto-ingest==4.5.1 coloredlogs==15.0.1 -setuptools==81.0.0 +setuptools==84.0.0 # Pin cffi to 2.0.0 to avoid version mismatch with the pre-baked _cffi_backend in the base image. # https://github.com/home-assistant/core/issues/175832 diff --git a/pyproject.toml b/pyproject.toml index e27f93d1c103..0d7a504f43c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools==78.1.1"] +requires = ["setuptools==84.0.0"] build-backend = "setuptools.build_meta" [project] diff --git a/requirements_all.txt b/requirements_all.txt index 30faff77e673..a0a82a1fb34f 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1549,9 +1549,6 @@ lightwave==0.24 # homeassistant.components.limitlessled limitlessled==1.1.3 -# homeassistant.components.linode -linode-api==4.1.9b1 - # homeassistant.components.livisi livisi==0.0.25 @@ -3227,9 +3224,6 @@ systembridgeconnector==5.4.3 # homeassistant.components.tailscale tailscale==0.7.0 -# homeassistant.components.tank_utility -tank-utility==1.5.0 - # homeassistant.components.tapsaff tapsaff==0.2.1 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 4782ecea897d..615504f8632f 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -237,9 +237,6 @@ caio<0.12.3 # https://github.com/auth0/auth0-python/releases/tag/5.0.0 auth0-python<5.0 -# Setuptools >=82.0.0 doesn't contain pkg_resources anymore -setuptools<82.0.0 - # backoff and python-backoff share the same package name # pin versions which are mostly compatible to each other backoff==2.2.1 @@ -252,7 +249,7 @@ python-backoff<2.4.0 azure-kusto-data==4.5.1 azure-kusto-ingest==4.5.1 coloredlogs==15.0.1 -setuptools==81.0.0 +setuptools==84.0.0 # Pin cffi to 2.0.0 to avoid version mismatch with the pre-baked _cffi_backend in the base image. # https://github.com/home-assistant/core/issues/175832 diff --git a/script/sqlite3_vendor/pyproject.toml b/script/sqlite3_vendor/pyproject.toml index ea87fdf17189..325e8de01341 100644 --- a/script/sqlite3_vendor/pyproject.toml +++ b/script/sqlite3_vendor/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools==78.1.1"] +requires = ["setuptools==84.0.0"] build-backend = "setuptools.build_meta"