mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
2022.3: Add breaking change on pip changes
This commit is contained in:
parent
a78727d9b0
commit
5cb71bbdad
@ -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+
|
||||
|
Loading…
x
Reference in New Issue
Block a user