rdmo icon indicating copy to clipboard operation
rdmo copied to clipboard

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

Open afuetterer opened this issue 7 months ago • 0 comments

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:

  • rdmo/management/static/management/fonts/fontawesome-webfont.eot
  • rdmo/projects/static/projects/fonts/fontawesome-webfont.eot

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

afuetterer avatar Jul 29 '24 13:07 afuetterer