PEP 639, Round 3: Improving license clarity with better package metadata

I’ve updated uv publish to set license and license-files in the formdata: Upload: All metadata incl. PEP 639 by konstin · Pull Request #9442 · astral-sh/uv · GitHub. We’re publishing upload test package to test pypi, so e.g. astral-test-token 0.1.1912 should now be a user of the new fields.

uv publish now sets the following multiple use fields. I’m not sure about the pluralization rules, but these seem to work and match warehouse’s test_legacy.py:

  • classifiers
  • dynamic
  • license_file
  • obsoletes_dist
  • platform
  • project_urls
  • provides_dist
  • provides_extra
  • requires_dist
  • requires_external
1 Like