Skip to content

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

Closed

Description

@befeleme
mannequin
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']

Activity

  1. befeleme commented on Aug 4, 2021

    befelememannequin
    MannequinAuthor

    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

  2. tirkarthi commented on Aug 4, 2021

    @tirkarthi
    Member

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

  3. pablogsal commented on Aug 4, 2021

    @pablogsal
    Member

    I will look into this ASAP

  4. pablogsal commented on Aug 4, 2021

    @pablogsal
    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

  5. pablogsal commented on Aug 4, 2021

    @pablogsal
    Member

    Note, this problem was created due to:

    https://bugs.python.org/issue44756

  6. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10 (EOL)end of lifedocsDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions