jorisroovers / gitlint

Linting for your git commit messages
http://jorisroovers.github.io/gitlint
MIT License
790 stars 99 forks source link

🧪🔧 Switch to using `pypa/build` in CI #463

Closed webknjaz closed 1 year ago

webknjaz commented 1 year ago

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.

Ref: https://github.com/jorisroovers/gitlint/issues/460#issuecomment-1462121899

coveralls commented 1 year ago

Coverage Status

Coverage: 99.662%. Remained the same when pulling 8207faa3bb3e4954e2c5d2f77e3a7f057b308018 on webknjaz:maintenance/pypa-build-in-ci into 1f8a16b462e03878fdd7b9cbaaed506c4bf05956 on jorisroovers:main.

jorisroovers commented 1 year ago

Thanks!