[New-bugs-announce] [issue44823] Docs fail to build - looking for the wrong interpreter (Python 3.10-rc1)

Karolina Surma report at bugs.python.org
Wed Aug 4 04:39:24 EDT 2021


New submission from Karolina Surma <warumnicht at tutanota.com>:

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

----------
assignee: docs at python
components: Documentation
messages: 398866
nosy: docs at python, ksurma
priority: normal
severity: normal
status: open
title: Docs fail to build - looking for the wrong interpreter (Python 3.10-rc1)
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44823>
_______________________________________


More information about the New-bugs-announce mailing list