rdmorganiser / rdmo

A tool to support the planning, implementation, and organization of research data management.
https://rdmorganiser.github.io
Apache License 2.0
105 stars 49 forks source link

ci: Investigate switching to `build-and-inspect-python-package` #1089

Open afuetterer opened 4 months ago

afuetterer commented 4 months ago

build-and-inspect-python-package or baipp is a solid solution to building python packages in CI pipelines. It does "inspection" as well, e.g. by doing the metadata checks we do, but it also inspects the contents of the wheel.

Actually I wanted to use action, when we first decided to build the wheel in CI. But it does not work with this repo, because it fails on a couple of issues. Let me try to investigate.

One of these issues or warnings is, that there are duplicate files in the code base, maybe after running the webpack build? There are e.g. duplicated fonts files. You can verify this by checking: https://github.com/rdmorganiser/rdmo/actions/runs/10146550723#summary-28056712291

Among them are:

Ref: https://github.com/hynek/build-and-inspect-python-package