This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ksurma
Recipients docs@python, ksurma
Date 2021-08-04.08:39:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628066364.71.0.124570746372.issue44823@roundup.psfhosted.org>
In-reply-to
Content
Documentation for Python3.10-rc1 fails to build.
sphinx-build looks for non-existing interpreter, which causes a crash.
Looking at the tarball with Python, there is Doc/venv/ present (which probably shouldn't be included) containing executable sphinx-build with shebang " #!/home/pablogsal/github/python/3.10/3.10.0rc1/Python-3.10.0rc1/Doc/venv/bin/python3".

Traceback from our Fedora RPM build:

+ make -C Doc html PYTHON=/usr/bin/python3
make: Entering directory '/builddir/build/BUILD/Python-3.10.0rc1/Doc'
venv already exists
mkdir -p build
Using existing Misc/NEWS file
PATH=./venv/bin:$PATH sphinx-build -b html -d build/doctrees   -W . build/html 
/bin/sh: ./venv/bin/sphinx-build: /home/pablogsal/github/python/3.10/3.10.0rc1/Python-3.10.0rc1/Doc/venv/bin/python3: bad interpreter: No such file or directory
make: Leaving directory '/builddir/build/BUILD/Python-3.10.0rc1/Doc'
make: *** [Makefile:51: build] Error 126
History
Date User Action Args
2021-08-04 08:39:24ksurmasetrecipients: + ksurma, docs@python
2021-08-04 08:39:24ksurmasetmessageid: <1628066364.71.0.124570746372.issue44823@roundup.psfhosted.org>
2021-08-04 08:39:24ksurmalinkissue44823 messages
2021-08-04 08:39:23ksurmacreate