- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 458
 
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/notebooksrun without error. - 
Increment the version number and update changelog sections (also make sure there are no repeated entries...).
- This is currently located in 
arviz\__init__.py. Optional: increment versions of external dependencies in.azure-pipelines/azure-pipelines-external.yml 
 - This is currently located in 
 - 
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 arviz/ - deactivate and delete virtualenv
 
 - 
Push branch to GitHub and confirm Azure tests 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) (note you may need to install twine with pip) - 
Install new version from PyPI and
python -c 'from arviz import *'. - 
Announce the good news on twitter!
 
Other notes
- Zenodo should generate a DOI. The integration is currently active through @canyon289's Zenodo account