[XS] Change in pysim[master]: jenkins.sh: workaround for 'usage: build.py' in docs
laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/40185?usp=email ) Change subject: jenkins.sh: workaround for 'usage: build.py' in docs ...................................................................... jenkins.sh: workaround for 'usage: build.py' in docs Recent versions of cmd2 have changed how the 'prog' attribute is automatically set for ArgumentParser instances. As a result, we are now seeing an unexpected 'build.py' artifact appearing in the generated documentation. Let's use an older release of cmd2, which retains the old expected behavior. Use it specifically for building documentation. Change-Id: Ifbad35adc5e9d3141acfd024d7dee2a25f1cb62e Related: https://github.com/python-cmd2/cmd2/issues/1414 Related: OS#6776 --- M contrib/jenkins.sh 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index de1d9f8..63087f0 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -82,6 +82,10 @@ pip install -r requirements.txt + # XXX: workaround for https://github.com/python-cmd2/cmd2/issues/1414 + # 2.4.3 was the last stable release not affected by this bug (OS#6776) + pip install cmd2==2.4.3 + rm -rf docs/_build make -C "docs" html latexpdf -- To view, visit https://gerrit.osmocom.org/c/pysim/+/40185?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: Ifbad35adc5e9d3141acfd024d7dee2a25f1cb62e Gerrit-Change-Number: 40185 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org>
participants (1)
-
laforge