Skip to content

Sphinx conf.py needs_version entry is outdated #86986

Description

@timhoffm
mannequin
BPO 42820
Nosy @terryjreedy, @JulienPalard, @timhoffm

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 = None
created_at = <Date 2021-01-04.01:28:14.798>
labels = ['docs']
title = 'Sphinx conf.py needs_version entry is outdated'
updated_at = <Date 2021-01-08.23:35:42.562>
user = 'https://github.com/timhoffm'

bugs.python.org fields:

activity = <Date 2021-01-08.23:35:42.562>
actor = 'terry.reedy'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2021-01-04.01:28:14.798>
creator = 'timhoffm'
dependencies = []
files = []
hgrepos = []
issue_num = 42820
keywords = []
message_count = 2.0
messages = ['384305', '384697']
nosy_count = 4.0
nosy_names = ['terry.reedy', 'docs@python', 'mdk', 'timhoffm']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue42820'
versions = []

Activity

timhoffm commented on Jan 4, 2021

timhoffmmannequin
MannequinAuthor

The sphinx conf.py entry needs_version=1.8 (

needs_sphinx = '1.8'
)

is not in sync with the doc build requirements (

sphinx==3.2.1
)

Possible solutions:
a) Drop the needs_version config value. It's optional.
b) Make sure to update both places.
c) Or at minimum add a comment that needs_version is only a safeguard against very old sphinx versions but is not necessarily sufficient to build.

terryjreedy commented on Jan 8, 2021

@terryjreedy
Member

This is related to bpo-42843, which is about deciding what the min sphinx should be. Since the alternative to 3.2 is some 2.x, 1,8 is certainly wrong.

transferred this issue fromon Apr 10, 2022

JulienPalard commented on May 9, 2022

@JulienPalard
Member

This is now related to #92318, the new needs_sphinx is 3.2, cc @sorcio.

sorcio commented on May 29, 2022

@sorcio
Contributor

Since the time of the discussion in #87009, it looks like the mentioned restrictions are now mostly gone:

Apparently for 3.11 we are clear. Since #92318 was also backported to 3.10, the SUSE package maintainers might appreciate a heads up.

added a commit that references this issue on Jun 7, 2022
added a commit that references this issue on Jun 7, 2022
added a commit that references this issue on Jun 7, 2022
added 2 commits that reference this issue on Jun 7, 2022

ambv commented on Jun 7, 2022

@ambv
Contributor

Fixed on 3.10, 3.11, and 3.12.

added a commit that references this issue on Jun 21, 2022
added 4 commits that reference this issue on Jun 21, 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

    docsDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions