Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PEP440 and "predicted release versioning" for "latest master" #12

Closed
ceball opened this issue Jan 23, 2018 · 4 comments
Closed

Comments

@ceball
Copy link
Member

ceball commented Jan 23, 2018

Current python packaging tools and conda support PEP440.

Our projects already use a PEP440 release versioning scheme (e.g. 1.2.3), and autover already supports that.

We'd also like to be able make packages between releases, but autover's version format there does
not match PEP440. Based on discussion in #2, if git is v0.2.0-5-g85da374, then we'd like a package version of 0.2.1.dev5+g85da374. Some projects will make packages available for every commit to master, in which case 0.2.1.dev5+g85da374 will be "the 5th developmental release of 0.2.1" (see comments in #2 for more details).

See:

@jlstevens
Copy link
Contributor

Thanks for working on those PRs.

As far as I know, selecting the PEP440 format for non-release versions (and making sure it works) is the last thing we need to do before autover can be used as intended. Having tests is a great way to go about this.

@jlstevens
Copy link
Contributor

Just as a clarification, the release version format is already PEP440 as it is so simple - what we need to decide is the version format for other types of package e.g 'dev' versions or the 'nightlies' etc.

@ceball
Copy link
Member Author

ceball commented Jan 23, 2018

Yeah, sorry, I just added a comment about that: #8 (comment)

@jlstevens
Copy link
Contributor

We found a PEP440 scheme we are happy with in #15. Other than adding the appropriate documentation about it it works. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants