This patch switches the CI/CD workflows to use the PyPA-endorsed PEP 517 build front-end called build. It is called without --sdist and --wheel CLI options, in which case build creates an sdist from the Git checkout but the following wheel build is made from that sdist tarball as opposed to using the Git checkout.
This has a side effect of smoke-testing that it's possible to build wheels from the published sdists. And this is the flow that pip install follows when it's requested to install from an sdist.
Coverage: 99.662%. Remained the same when pulling 8207faa3bb3e4954e2c5d2f77e3a7f057b308018 on webknjaz:maintenance/pypa-build-in-ci into 1f8a16b462e03878fdd7b9cbaaed506c4bf05956 on jorisroovers:main.
This patch switches the CI/CD workflows to use the PyPA-endorsed PEP 517 build front-end called
build
. It is called without--sdist
and--wheel
CLI options, in which casebuild
creates an sdist from the Git checkout but the following wheel build is made from that sdist tarball as opposed to using the Git checkout.This has a side effect of smoke-testing that it's possible to build wheels from the published sdists. And this is the flow that
pip install
follows when it's requested to install from an sdist.Ref: https://github.com/jorisroovers/gitlint/issues/460#issuecomment-1462121899