redis-py icon indicating copy to clipboard operation
redis-py copied to clipboard

Proposal: Automated Versioning Changes

Open chayim opened this issue 4 years ago • 1 comments

Given the recent requests to release a new version of redis-py and my having read this document I started thinking about the release process.I wanted to make release note writing a bit easier, combined with automating pieces of the flow.

  1. [x] Use the release drafter workflow to update release notes for versions

  2. ~~[x] Add python 3.9 to the setup.cfg (just because we should).~~

  3. [x] Move versioning from the code to setup.cfg. Change redis.__init__.__version__ to get the version from the installed package.

  4. [x] Automate the release to PyPi based on a published release, similar to this, except for setup.py releases.

  5. [ ] Release automation workflow sets the version and commit to the version file to the repo, prior to release.

I'm personally attached to moving release to pyproject.toml, though I understand that might not be something others like. What are your thoughts on both the above, and moving releases to pyproject.toml from setup.py/cfg?

chayim avatar Jul 26 '21 08:07 chayim

The draft PR above implements the first three items - just so that there's a visual.

chayim avatar Jul 26 '21 08:07 chayim

We long size work this way.. closing.

chayim avatar Dec 13 '22 11:12 chayim