Just released: OSMViz 4.5.0! šŸš€

An OpenStreetMap visualization toolkit for Python

🄧 Support for Python 3.14
🪪 Replace deprecated classifier with licence expression (PEP 639)
šŸ” Remove GitHub attestation, PyPI attestation is enough

https://pypi.org/project/osmviz/

#Python #release #OpenStreetMap #OSMViz #PEP639

Client Challenge

Just released: humanize 4.12.2 šŸš€

Bugfix release, mainly fixing the spelling of licence/license so the file is properly included in the package.

Reminder how to do PEP 639 metadata: https://hugovk.dev/blog/2025/improving-licence-metadata/

https://github.com/python-humanize/humanize/releases

#Python #release #humanize #bugfix #PEP639

Improving licence metadata

How to update your Python project for PEP 639

Hugo van Kemenade
I wrote up how I applied #PEP639 to my #Python projects to improve licence metadata: I only added one line to pyproject.toml, deleted another, and changed two more. https://hugovk.dev/blog/2025/improving-licence-metadata/

Improving licence metadata Ā· H...
Bluesky

Bluesky Social
I wrote up how I applied #PEP639 to my #Python projects to improve licence metadata: I only added one line to pyproject.toml, deleted another, and changed two more.
https://hugovk.dev/blog/2025/improving-licence-metadata/
Improving licence metadata

How to update your Python project for PEP 639

Hugo van Kemenade
šŸšŸ“¦šŸ“œ All the pieces (I use) are now in place for PEP 639 ("Improving License Clarity with Better Package Metadata"). Thanks to contributors and maintainers of at least 6 projects and of course Karolina Surma for the PEP! discuss.python.org/t/pep-639-ro... #Python #PEP639 #PyPI #SPDX #licensing
PEP 639, Round 3: Improving license clarity with better package metadata

Thanks all, I just made a release with these changes: --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ build-backend = "hatchling.build" requires = [ "hatch-vcs", - "hatchling", + "hatchling>=1.27", ] [project] ... license = "BSD-3-Clause" +license-files = [ "LICENSE" ] ... classifiers = [ - "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.9", And it s...

Discussions on Python.org

šŸšŸ“¦šŸ“œ All the pieces (that I use) are now in place for PEP 639 ("Improving License Clarity with Better Package Metadata")!

I made sure to use latest Hatchling 1.27, added `license-files = [ "LICENSE" ]`, and deleted the deprecated licence Trove classifier.

Thanks to contributors and maintainers of PyPI, packaging, Hatchling, Twine, PyPI publish GitHub Action, build-and-inspect-python-package and of course @karo for the PEP+spec!

https://discuss.python.org/t/pep-639-round-3-improving-license-clarity-with-better-package-metadata/53020/172

#Python #PEP639 #PyPI #SPDX #licensing

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

Thanks all, I just made a release with these changes: --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ build-backend = "hatchling.build" requires = [ "hatch-vcs", - "hatchling", + "hatchling>=1.27", ] [project] ... license = "BSD-3-Clause" +license-files = [ "LICENSE" ] ... classifiers = [ - "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.9", And it s...

Discussions on Python.org

@hynek looks premature to implement #pep639

Not support yet

- setuptools

- twine

- gh-action-pypi-publish

According to this post

https://discuss.python.org/t/pep-639-round-3-improving-license-clarity-with-better-package-metadata/53020/140

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

I’m not surprised, given that the PyPA recommended upload tools do not handle metadata version 2.4 correctly. I have opened a PR to make twine and thus gh-action-pypi-publish support metadata 2.4. It would be nice if someone could have a look at it Switch to packaging for parsing metadata and support metadata 2.4 by dnicolodi Ā· Pull Request #1180 Ā· pypa/twine Ā· GitHub

Discussions on Python.org

@pganssle Aha, I'm using Hatchling which uses SPDX identifiers:

https://hatch.pypa.io/latest/config/metadata/#license

Which points to the draft #PEP639 – "Improving License Clarity with Better Package Metadata":

https://peps.python.org/pep-0639/

Hopefully it'll be submitted soon. šŸ¤ž

Metadata - Hatch

Modern, extensible Python project management