mesonbuild / meson-python

Meson PEP 517 Python build backend
https://mesonbuild.com/meson-python/
MIT License
118 stars 59 forks source link

MAINT: bump minimum required pyproject-metadata version to 0.8.0 #613

Open dnicolodi opened 2 months ago

dnicolodi commented 2 months ago

This is ready to merge when we are ready to bump the minimum required pyproject-metadata version.

rgommers commented 2 months ago

I think it's okay to bump to a fairly recent version. PDM and scikit-build-core now both vendor pyproject-metadata, so it doesn't seem likely that we'll cause problems for anyone in pretty aggressively requiring the most recent version.

It may be useful to check pyproject_metadata.__version__ to guard against potential mismatches? It's easy for distros to miss keeping their dependency metadata for meson-python fully in sync, and if we somehow pick up a pyproject_metadata 0.7.1 somewhere, it could otherwise yield confusing errors.