Skip to content

Declare the package license as MIT again - #1635

Merged
frenck merged 1 commit into
mainfrom
frenck/license-mit
Oct 4, 2026
Merged

frenck merged 1 commit into
mainfrom
frenck/license-mit

Conversation

@frenck

@frenck frenck commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Breaking change

None.

Proposed change

#1634 changed the package license from MIT to MIT 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, and Unicode-3.0 is 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 as MIT again, which is what the code is.

Checked with a built wheel: License-Expression: MIT, and the notice is in radios/country_names.py.

Type of change

  • Dependency or tooling upgrade
  • Bugfix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Deprecation (replaces or removes a feature, with a migration path)
  • Breaking change (a fix or feature that changes existing behavior)
  • Code quality, refactor, or test-only change
  • Documentation only

Additional information

Checklist

  • I fully understand the code in this pull request and can explain every line, including any AI-assisted changes.
  • The change is covered by tests, and poetry run pytest passes locally. A pull request cannot be merged unless CI is green.
  • poetry run prek run --all-files passes (lint, format, and type checks).
  • No commented-out or dead code is left in the pull request.

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.
@frenck frenck added the bugfix Inconsistencies or issues which will cause a problem for users or implementers. label Oct 4, 2026
@frenck
frenck merged commit 8073f1f into main Oct 4, 2026
31 checks passed
@frenck
frenck deleted the frenck/license-mit branch October 4, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Inconsistencies or issues which will cause a problem for users or implementers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant