Closed janosg closed 2 months ago
Some bigger projects (e.g. pandas) use https://github.com/warner/python-versioneer, but I do not understand what it exactly does by skimming the readme.
There is also https://github.com/c4urself/bump2version. I used the parent project a lot and it is probably the slimmest of all options.
No answer, but more options :)
Some bigger projects (e.g. pandas) use https://github.com/warner/python-versioneer, but I do not understand what it exactly does by skimming the readme.
Last commit to the repo 2 years ago. Have not tried looking through the 107 forks, but this does not seem like an active project.
Use
zest.releaser
to do the tagging and handling of the versionThere is also https://github.com/c4urself/bump2version. I used the parent project a lot and it is probably the slimmest of all options.
I would be fine with any of the two -- both seem to be reasonably active and do what they are supposed to do. If @tobiasraabe has experience with bump[2]version, that probably is the most useful option given that we want to set it up and forget about it.
Yes, bump2version should be sufficient.
I am writing a maintenance guide for gettsim and document bump2version. Then, you can use it as well.
Outdated.
Goal
We want to be able to find the skillmodels version by typing
skillmodels.__version__
and checkout the corresponding source code via a tag.Proposed implementation
Use
zest.releaser
to do the tagging and handling of the version number. I don't think it will completely replace ourrelease.py
because I didn't see any conda integration. My preferred solution would be to still have one python skript likerelease.py
with a few additional command line arguments.Since this will be relevant for respy, estimagic, gettsim and skillmodels, maybe someone else could look into it and then help me to implement it in skillmodels and estimagic.
@hmgaudecker, @tobiasraabe feel free to comment.