dguest / pandamonium

Command line scripts to parse panda web api
BSD 3-Clause "New" or "Revised" License
27 stars 17 forks source link

Release sdist and wheel to PyPI under v0.2.1 #43

Closed matthewfeickert closed 4 years ago

matthewfeickert commented 4 years ago

After PR #41 is in then we need to get pandamonium to v0.2.1 on PyPI. This is because before control was ceded to @dguest in Issue #26 of the PyPI namespace there already was a v0.2.0 release of the previous pandamonium. It is necessary to get past v0.2.0 on PyPI so the future releases will properly support both sdists and wheels on PyPI.

There are two ways to do this:

  1. The easy way of just using the bump2version workflow described in PR #36 to release a v0.2.0 to PyPI which will only successfully be able to upload a v0.2.0 wheel to PyPI as there was already an sdist at the release version, and then immediately afterwards release v0.2.1.

  2. Apply the attached patch 0001-Bump-version-0.1.0-0.2.0.patch.txt (that GitHub made me name .txt) with

$ git apply 0001-Bump-version-0.1.0-0.2.0.patch.txt

and then run bump2version with non-stagged changes

bump2version patch --allow-dirty

to go from v0.1.0 to v0.2.1.

I would advocate for option 1 as it is the easiest.

matthewfeickert commented 4 years ago

@matthewfeickert should also make an announcement on Issue #26 when this is done.

matthewfeickert commented 4 years ago

@dguest The workflow that I recommend in Option 1 would explicitly be:

First release v0.2.0

$ git checkout master && git pull
$ bump2version minor
$ git push origin master --tags

Next release v0.2.1

$ git checkout master && git pull
$ bump2version patch
$ git push origin master --tags
matthewfeickert commented 4 years ago

@dguest Now that PR #45 is in, this can move forward.

matthewfeickert commented 4 years ago

This is done and pandamomium v0.2.1 is up on PyPI. Congratulations @dguest! :rocket: