Skip to content

Mishandling of requirements.txt #1115

@siwelwerd

Description

@siwelwerd

Python allows users to specify extras in a requirements.txt, e.g. pretext[prefigure] == 2.36.0. However, when the CLI checks for the version of PreTeXt, it throws a warning. I believe the problem is that this line is not general enough.

if ("pretext ==" in line) or ("pretextbook ==" in line):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions