-
-
Notifications
You must be signed in to change notification settings - Fork 408
ArviZ Release Checklist
This documents the recommended procedure for creating a new release of ArviZ. Each of the following steps should be executed in order:
-
Create branch for release, and check out this branch.
-
Ensure that the example notebooks in
docs/source/notebooks
run without error. -
Increment the version number. This is currently located in
arviz\__init__.py
. -
Install for local development (with new version number), and run tests:
python setup.py develop pytest arviz/tests
-
Test that it installs with
pip
:- create test virtual environment (virtualenv)
- activate virtualenv
- install to virtualenv with
pip
- deactivate and delete virtualenv
-
Push branch to GitHub and confirm TravisCI test pass.
-
Merge into master.
-
Draft a new release using github https://github.com/arviz-devs/arviz/releases
-
Release on PyPI using Twine:
python setup.py sdist bdist_wheel twine upload dist/*
(note it might have to be
twine upload dist/arviz0.3.*
or similar if you have done this before) -
Install new version from PyPI and
python -c 'from arviz import *'
. -
Announce the good news on twitter!