2022.3: Add breaking change on pip changes

This commit is contained in:
Franck Nijhof 2022-02-28 18:10:18 +01:00
parent a78727d9b0
commit 5cb71bbdad
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -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:
<https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020>
{% enddetails %}
{% details "async_timeout()" %}
We now use version 3.8+ of `aiohttp`, which requires `async_timeout` 4.0+