Closed nutjob4life closed 2 years ago
@nutjob4life Just combed over the Roundup log and noticed this here: https://github.com/NASA-PDS/doi-service/runs/4810121150?check_suite_focus=true#step:6:527
DEBUG:pds.roundup.util:Stderr = «/github/workspace/docs/source/api/index.rst:9: WARNING: Failed to import "create_parser" from "pds_doi_service.core.actions.action".
No module named 'pds_doi_service'
/github/workspace/docs/source/api/index.rst:17: WARNING: Failed to import "create_cmd_parser" from "pds_doi_service.core.util.initialize_production_deployment".
No module named 'pds_doi_service'
Could this be as simple as making sure the local checkout of the service is added to Roundup's PYTHONPATH
?
🐛 Describe the bug
@collinss-jpl reports that
release/2.1.2
of thepds-doi-serivce
worked fine but https://nasa-pds.github.io/doi-service/api/index.html didn't include any argparse docs.This could be that Roundup is executing
sphinx-build
in its own context instead of in the rounded-up package's venv. Although the preparation step does set thePATH
appropriately so that if there's asphinx-build
in the venv it should be happening. Odd.🕵️ Expected behavior
sphinx-argparse
as well as any other Sphinx add-ons (likesphinxcontrib-napoleon
) should be supported.🦄 Related requirements
⚙️ Engineering Details