-
Notifications
You must be signed in to change notification settings - Fork 1
Release Checklist
Matthew N. White edited this page Feb 12, 2024
·
15 revisions
- Latest release: 0.10.8
See full release history / version history on PyPI and on Conda.
You can also check out the changelog for details.
- Consider: Check if DemARK build is failing: https://github.com/econ-ark/DemARK
- Follow the SciPy ecosystem policy on NumPy and Python dependencies, NEP 29 (loosely)
- Check that all PRs that should have "ready for next release" label do, ping authors for release notes as needed.
- Collect release notes (see below), when finalized add to CHANGELOG.md.
- Bump version number in
pyproject.toml
and__init__.py
. - Submit & merge PR to HARK master branch containing release notes & other above changes.
- Package with
python -m build
. This will create adist/
directory with source distribution files in it. - Get an API token from test-PyPI (only shown once), and copy-paste it in a special way on Windows
- Push to test-PyPI:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- Test the version from test-PyPI:
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple econ-ark
(will need different command to test a dev release) - Or.... try running
pip install dist/econ-ark-0.10.8.tar.gz
or the equivalent for the new release - If above works, push to regular PyPI:
twine upload dist/*
- Tag release on Github and create new release here: on releases page.
- Tag a release for DemARK and update binder links(README.md) and requirements.txt with the econ-ark release, create a new release here: on releases page
- This is a two-step process. First,update the repository links to fix the version of HARK.
- After the release, revert these links back so that DemARK floats its dependencies, especially with respect to HARK master.
- [econ-ark website binder update] TODO
- Bump up version on econ-ark-feedstock to make it available through conda package manager. It can done manually via a PR against the recipe.yml file or wait for the bot to create a new PR automatically.