Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Invalid dev version identifiers in setup.py #165

Description

@con-f-use

There is a bunch of invalid version matchers in setup.py. PEP 440 states:
(edit: they are not, after all, invalid - it's just hidden in the PEP and distlib doesn't parse them correctly)

The canonical public version identifiers MUST comply with the following scheme:
[N!]N(.N)*[{a|b|rc}N][.postN][.devN]

So you are missing a dot and a number in every version identifier that contains the string dev.

It is also considered bad practice to have an upper bound on package versions and installers like pip do not typically consider development versions in any case (unless explicitly told to).

See: googleapis/google-api-python-client#2151

Activity

con-f-use commented on Jun 6, 2023

@con-f-use
ContributorAuthor
added a commit that references this issue on Jun 6, 2023
c38e03a
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions