Skip to content

To do for releasing new version

Nicholas Gao edited this page Sep 3, 2024 · 14 revisions
  1. Update version in setup.py and seml/__init__.py
  2. Update docs via _SEML_DOCS=1 typer seml.__main__ utils docs --name seml --output docs.md
  3. Commit and push changes: git commit -m "Update version", git push
  4. Remove old wheels: rm -r build dist seml.egg-info
  5. Generate distribution archives: python -m build (old: python setup.py sdist bdist_wheel)
    • If you need to fix an existing version, run python -m build -C--global-option=bdist_wheel -C--global-option=--build-number=<build-number>.
  6. Push to PyPI: python -m twine upload --repository pypi dist/*
  7. Publish on Anaconda
    1. The conda package is managed in seml-feedstock (the repository is managed by n.gao@tum.de, write a mail if you need access)
    2. To update the package, update the version number in recipe/meta.yaml (see update instructions in readme.md)
  8. Publish release notes (features, bug fixes, breaking changes) on GitHub.
  9. If there are breaking changes, announce them in Mattermost.
Clone this wiki locally