-
Notifications
You must be signed in to change notification settings - Fork 36
To do for releasing new version
Nicholas Gao edited this page Sep 3, 2024
·
14 revisions
- Update version in
setup.pyandseml/__init__.py - Update docs via
_SEML_DOCS=1 typer seml.__main__ utils docs --name seml --output docs.md - Commit and push changes:
git commit -m "Update version",git push - Remove old wheels:
rm -r build dist seml.egg-info - 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>.
- If you need to fix an existing version, run
- Push to PyPI:
python -m twine upload --repository pypi dist/* - Publish on Anaconda
- The conda package is managed in seml-feedstock (the repository is managed by
n.gao@tum.de, write a mail if you need access) - To update the package, update the version number in
recipe/meta.yaml(see update instructions inreadme.md)
- The conda package is managed in seml-feedstock (the repository is managed by
- Publish release notes (features, bug fixes, breaking changes) on GitHub.
- If there are breaking changes, announce them in Mattermost.