Skip to content

Docs fail to build - looking for the wrong interpreter (Python 3.10-rc1) #88986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
befeleme mannequin opened this issue Aug 4, 2021 · 5 comments
Closed

Docs fail to build - looking for the wrong interpreter (Python 3.10-rc1) #88986

befeleme mannequin opened this issue Aug 4, 2021 · 5 comments
Labels
3.10 only security fixes docs Documentation in the Doc dir

Comments

@befeleme
Copy link
Mannequin

befeleme mannequin commented Aug 4, 2021

BPO 44823
Nosy @pablogsal, @tirkarthi, @befeleme

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 = None
closed_at = <Date 2021-08-04.10:17:48.397>
created_at = <Date 2021-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 = <Date 2021-08-04.10:17:48.397>
user = 'https://github.com/befeleme'

bugs.python.org fields:

activity = <Date 2021-08-04.10:17:48.397>
actor = 'pablogsal'
assignee = 'docs@python'
closed = True
closed_date = <Date 2021-08-04.10:17:48.397>
closer = 'pablogsal'
components = ['Documentation']
creation = <Date 2021-08-04.08:39:24.688>
creator = 'ksurma'
dependencies = []
files = []
hgrepos = []
issue_num = 44823
keywords = []
message_count = 5.0
messages = ['398866', '398871', '398877', '398882', '398883']
nosy_count = 4.0
nosy_names = ['docs@python', 'pablogsal', 'xtreak', 'ksurma']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue44823'
versions = ['Python 3.10']

@befeleme
Copy link
Mannequin Author

befeleme mannequin commented 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

@befeleme befeleme mannequin added the 3.10 only security fixes label Aug 4, 2021
@befeleme befeleme mannequin assigned docspython Aug 4, 2021
@befeleme befeleme mannequin added docs Documentation in the Doc dir 3.10 only security fixes labels Aug 4, 2021
@befeleme befeleme mannequin assigned docspython Aug 4, 2021
@befeleme befeleme mannequin added the docs Documentation in the Doc dir label Aug 4, 2021
@tirkarthi
Copy link
Member

Seems like a duplicate of https://bugs.python.org/issue44824

@pablogsal
Copy link
Member

I will look into this ASAP

@pablogsal
Copy link
Member

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
Copy link
Member

Note, this problem was created due to:

https://bugs.python.org/issue44756

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.10 only security fixes docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants