pypa / hatch

Modern, extensible Python project management
https://hatch.pypa.io/latest/
MIT License
6.1k stars 309 forks source link

Back-populate string `license` fields #1805

Closed ofek closed 1 week ago

ofek commented 1 week ago

Resolves https://github.com/pypa/hatch/issues/1804#issuecomment-2469360000

Also resolves https://github.com/squidfunk/mkdocs-material/pull/7692#issuecomment-2467579900 because metadata hooks shouldn't be called when there is nothing dynamic and therefore the population from PKG-INFO was lossy

github-actions[bot] commented 1 week ago

Code Coverage

Package Statements
hatch 96.44% (5830 / 6045)
hatchling 97.35% (3866 / 3971)
tests 99.84% (17276 / 17302)
Summary 98.73% (26972 / 27318)