How to debug draft conda-forge recipe?

Hi,

Following up on Draft: Add python-poppler-qt5 by jeanas · Pull Request #22792 · conda-forge/staged-recipes · GitHub

I have submitted a draft recipe for the python-poppler-qt5 package to conda-forge/staged-recipes. Unfortunately, conda build -c conda-forge . works on my machine (running Fedora 38), but python build-locally.py (which builds inside a Docker container) does not.

With conda build, I can debug the build using conda debug. Is there an equivalent for python build-locally.py?

Otherwise it’s quite hard to debug the build, as each run of build-locally.py takes ~8 minutes.

Thanks.

I think you can do python build-locally.py --debug, which will run conda debug and drop you in bash session so you can explore the issues.