Skip to content

Docbuild: conf.py does not recognize dev versions of doc requirements #11838

Closed

Description

@embray

Description

Since I believe #11797 the doc build no longer proceeds if I'm using a development version of one of the doc dependencies.

For example, we have sphinx-astropy>=1.3 listed as a dependency. I've confirmed multiple times that I have this dependency met through my development installation of spinx-astropy which shows its version as 1.4.dev0 which should meet the >=1.3 requirement.

Expected behavior

The docs should build, allowing a more recent development version of one of the dependencies.

Actual behavior

It seems the line

if version not in SpecifierSet(req_specifier):

fails if version is a .devN version. Not sure if that's a bug in packaging or if there's something extra we need to do...

Activity

  1. embray commented on Jun 14, 2021

    @embray
    MemberAuthor
  2. added a commit that references this issue on Jun 14, 2021
    a9787dd
  3. added a commit that references this issue on Jun 14, 2021
    58fcf9f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions