-
Notifications
You must be signed in to change notification settings - Fork 307
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
What versioning scheme should we use? #25
Comments
Astropy has development version tags like |
👍 I'm happy with this. On a similar note, we should look at the package-template and astropy-helpers packages, which help with a lot of this sort of thing, I believe. |
@SolarDrew - Yes, good idea! For quick access: |
The discussion of issue #37 brought up a useful website on semantic versioning. |
Closing this because we're on the way to using semantic versioning. |
At some point we will need to decide on a versioning scheme. It'd probably be good to figure this out sooner rather than later so we can have as consistent a scheme as possible for the lifetime of the project. I looked into what other projects are doing, and ended up finding PEP 440 -- Version Identification and Dependency Specification which extensively describes a canonical format that is required in order for public releases to be compatible with setuptools and PyPI. I didn't read the whole thing as that page contains almost 10000 words, but the examples were helpful. I wrote up a draft versioning scheme below that is consistent with PEP 440 as something that we can start the discussion from, though I'm happy to change it. We could perhaps work towards a PLasmaPy Enhancement Proposal like APE-2 for Astropy that includes how we end up doing releases. Two things that are important are that the version is in a canonical format and that it behaves correctly:
Here's my draft. Feedback and new ideas are appreciated, as this should be considered far from final!
The text was updated successfully, but these errors were encountered: