How to make a new release
parmap version numbering is borrowed from [1] .
parmap versions use the following version numbering:
MAJOR.MINOR.PATCH.DEVELOPMENT
.
MAJOR
, MINOR
and PATCH
follow the semantic
versioning of libraries rules [2] :
MAJOR
will only change when there is an incompatible API change.
MINOR
will increase when functionality is added in a
backwards-compatible way
PATCH
will change for backwards-compatible bug fixes.
DEVELOPMENT
is only used in the git repository and is removed before
official releases.
This is a list of things to do before a release:
Review the ChangeLog file and add items if necessary.
Bump the version in pyproject.toml
to a valid release version (without
DEVELOPMENT
). Update the release version in docs/conf.py
and in
the Changelog.
Build the source distribution and the binary wheel
python3 -m pip install --user -U " pip" " wheel" " build" " twine"
python3 -m build .
Check that there are no missing files in dist/parmap-x.y.z.tar.gz
and
on dist/parmap-x.y.z-py2.py3-none-any.whl
.
Check that the restructured text is valid with
twine check dist/parmap-[VERSION].tar.gz
Commit.
Tag the release git tag v#.#.#
.
Push the release to origin
[3] : git push origin --tags
.
Check that the testsuite [4] and the documentation [5]
are updated properly.
Upload to pypi: twine upload dist/parmap-#.#.#*
Upload to conda-forge:
Bump the version in pyproject.toml
to a valid development version
(appending .9000
). Update the version and release in
docs/conf.py
. Commit and push.