Skip to content

Allow non-semver (and epocs) #3844

@PallHaraldsson

Description

@PallHaraldsson

Version numbers use semver, and do not allow epocs.

I'm thinking, if a package user does not want to follow semver, does Pkg presume it? I'm not actually sure what happens if you disregard semver, in packages (not proposing for Julia itself...).

It's possible that some users will want it, and it seemingly should be its private decision. But then we have a conflict if changing later to semver (seemingly ok to change from semver to calender based though, only a problem in other direction), why epocs:

https://peps.python.org/pep-0440/#version-epochs

We don't have to adopt Python's version spec in full, but maybe some parts, at least epocs might be useful, and implied 0, i.e. 0! prefix if none...

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