Repository navigation
Declare the package license as MIT again - #1635
Merged
Merged
Conversation
MIT AND Unicode-3.0 is accurate, but license audits that only allow a list of licenses, like the one of Home Assistant, do not know Unicode-3.0 and refuse the package. The Unicode License V3 only asks for its notice to come with the data, which it does, in country_names.py.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Breaking change
None.
Proposed change
#1634 changed the package license from
MITtoMIT AND Unicode-3.0, as the country names it ships are data from the Unicode CLDR. That expression is accurate, but the license audit of Home Assistant only allows a list of licenses, andUnicode-3.0is not on it, so the bump to 2.0.0 fails its CI (home-assistant/core#184205).The Unicode License V3 does not ask for the package to declare it. It asks for its copyright and permission notice to come with every copy of the data, and that stays as it is: the full notice is part of
country_names.py, in every wheel and sdist. So this declares the package asMITagain, which is what the code is.Checked with a built wheel:
License-Expression: MIT, and the notice is inradios/country_names.py.Type of change
Additional information
Checklist
poetry run pytestpasses locally. A pull request cannot be merged unless CI is green.poetry run prek run --all-filespasses (lint, format, and type checks).