Exempt wsproto from license check
#156418
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed change
This (temporarily) exempts
wsprotofrom the license check until the MIT license identifier is added back with:pyproject.tomlpython-hyper/wsproto#194The CI cache version is also bumped, as this isn't a dependency we pin ourselves.
(it was knocked down to
1a few weeks ago with #154988, so bumping to2).The currently cached CI venv still uses an older library version from 2022: 1.2.0.
So, we've not started seeing the failures on
dev, yet. See the sections below where the issue appeared.Background
The MIT license is still present: python-hyper/wsproto/LICENSE, but both the (incorrect) identifier and (correct) classifier were dropped when moving from
setup.pytopyproject.tomlwith python-hyper/wsproto@d7ed47f, released with v1.3.0.Spotted in
This failure was spotted here:
Usage in HA
This transitive dependency is required by three integrations:
ambient_network,tami4, andyalexs_ble.Dependency usage (CLICK TO OPEN)
Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: