Skip to content
Matthew N. White edited this page Feb 12, 2024 · 15 revisions

Release History

See full release history / version history on PyPI and on Conda.

You can also check out the changelog for details.

Steps for creating a new release

  • 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 a dist/ 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
  • [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.