From 78bc26e0ad935591dfd4d2536674445f240ad64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Dalfors?= Date: Fri, 8 Dec 2023 23:53:32 +0100 Subject: [PATCH] chore: fix problems with urllib in devcontainer see https://github.com/home-assistant/core/issues/95192 --- .devcontainer/devcontainer.json | 2 +- requirements_dev.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 016b48b..6bade71 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -8,7 +8,7 @@ "portsAttributes": { "8123": { "label": "Home Assistant", - "onAutoForward": "notify" + "onAutoForward": "openBrowserOnce" } }, "containerEnv": { diff --git a/requirements_dev.txt b/requirements_dev.txt index 30d23e6..16d6b8e 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,3 +1,5 @@ -r requirements_test.txt homeassistant==2023.9.0 pre-commit +# https://github.com/home-assistant/core/issues/95192 +urllib3>=1.26.5,<2