Can someone explain to me the reason for #Python packaging to change the project...

@dalke@toots.nu

Can someone explain to me the reason for #Python packaging to change the project.license definitions so quickly? It feels like a bunch of old packages will no longer work within the next year.

If I use the old definition with recent setuptools:

"By 2027-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported."

If I use the new definition with a pre-77.0.0 setuptools:

"ValueError: invalid pyproject.toml config: `project.license`.
configuration error: `project.license` must be valid exactly by one definition (2 matches found):

77.0.1 was released 2025-Mar-19.

This means an old repo or source tarball with a 'setuptools >= 40.8.0' (which was the recommendation) will likely fail to install.

Am I right?

I do a lot of scientific software development where packages are often on a "release, publish the paper, and forget about it" schedule.

For example, I installed a bioinformatics package last week with a last commit of 2024.