Opened at 2016-03-22T04:32:56Z
Last modified at 2021-03-30T18:40:19Z
#2748 new task
move to Versioneer for git-based version-string generation
Reported by: | warner | Owned by: | warner |
---|---|---|---|
Priority: | normal | Milestone: | soon |
Component: | packaging | Version: | 1.10.2 |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
(I thought we had this ticketed already, but couldn't find it just now)
We have code in setup.py to run git describe to figure out what version string to use. This allows us to make a release by doing "git tag", without needing to manually update a file each time.
I wrote a system called Versioneer to do this. It works under py2 and py3, and handles git checkouts, sdist tarballs, setup.py install, git archive tarballs, and more.
We should remove our custom setup.py code and switch to Versioneer.
Change History (4)
comment:1 Changed at 2016-03-22T05:02:52Z by warner
- Milestone changed from 1.11.0 to 1.12.0
comment:2 Changed at 2016-06-28T18:20:37Z by warner
- Milestone changed from 1.12.0 to 1.13.0
moving most tickets from 1.12 to 1.13 so we can release 1.12 with magic-folders
comment:3 Changed at 2020-06-30T14:45:13Z by exarkun
- Milestone changed from 1.13.0 to 1.15.0
Moving open issues out of closed milestones.
comment:4 Changed at 2021-03-30T18:40:19Z by meejah
- Milestone changed from 1.15.0 to soon
Ticket retargeted after milestone closed
Milestone renamed