Skip to content

Docutils is not declared as a direct dependency #79

@dvzrv

Description

@dvzrv

Hi! 👋

I noticed that docutils is used directly, but it is not declared as a direct dependency:

from docutils import nodes
from docutils.parsers import rst
from docutils.parsers.rst.directives import flag
from docutils.parsers.rst.directives import nonnegative_int
from docutils.parsers.rst.directives import unchanged
from docutils.statemachine import StringList

With only declaring sphinx as a direct dependency, docutils is pulled in transitively.
However, not declaring direct dependencies properly leads to breaking dependency resolution.
Having intact dependency resolution is particularly important in (distribution, but also language) package management.

It would be great if the direct dependency on docutils was declared. 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions