You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docs fail to build - looking for the wrong interpreter (Python 3.10-rc1) #88986
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-08-04.10:17:48.397>created_at=<Date2021-08-04.08:39:24.688>labels= ['3.10', 'docs']
title='Docs fail to build - looking for the wrong interpreter (Python 3.10-rc1)'updated_at=<Date2021-08-04.10:17:48.397>user='https://github.com/befeleme'
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
The tarball in the download server has been updated to not contain the venv directory and the release machinery has been updated to account for https://bugs.python.org/issue44756
Activity
befeleme commentedon Aug 4, 2021
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
tirkarthi commentedon Aug 4, 2021
Seems like a duplicate of https://bugs.python.org/issue44824
pablogsal commentedon Aug 4, 2021
I will look into this ASAP
pablogsal commentedon Aug 4, 2021
The tarball in the download server has been updated to not contain the venv directory and the release machinery has been updated to account for https://bugs.python.org/issue44756
pablogsal commentedon Aug 4, 2021
Note, this problem was created due to:
https://bugs.python.org/issue44756