From 5cb71bbdad63e8d5994c28621b1d61019c364b83 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 28 Feb 2022 18:10:18 +0100 Subject: [PATCH] 2022.3: Add breaking change on pip changes --- .../_posts/2022-03-02-release-20223.markdown | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/source/_posts/2022-03-02-release-20223.markdown b/source/_posts/2022-03-02-release-20223.markdown index 2e8b30d5792..ed705ac405a 100644 --- a/source/_posts/2022-03-02-release-20223.markdown +++ b/source/_posts/2022-03-02-release-20223.markdown @@ -886,6 +886,29 @@ Below is a listing of the breaking change for this release, per subject. Click on one of those to read more about the breaking change for that specific item. +{% details "Integration dependencies and Python pip" %} + +In November 2020, with the release of Python pip 20.3, a new dependency +resolver was introduced in pip, which is more strict. + +Home Assistant held back supporting the new pip version because of the +large number of dependencies we have, it took time for us to adjust to this +change. Meanwhile, Python pip would only warn for conflicts. + +As we have resolved almost all dependency conflicts, we have now lifted +the pip version pinning, and thus now use the newer and stricter pip version. + +If you use external dependencies in your custom integration, you might be +impacted by the new pip resolver. Your dependencies (and their version ranges) +must be compatible with the dependencies Home Assistant has; otherwise, +the installation of your custom integration will not succeed. + +You can find more information on the new dependency resolver in Python pip here: + + + +{% enddetails %} + {% details "async_timeout()" %} We now use version 3.8+ of `aiohttp`, which requires `async_timeout` 4.0+