To do for releasing new version - TUM-DAML/seml GitHub Wiki
- Update version in
setup.py
and seml/__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>
.
- 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
[email protected]
, write a mail if you need access)
- To update the package, update the version number in
recipe/meta.yaml
(see update instructions in readme.md
)
- Publish release notes (features, bug fixes, breaking changes) on GitHub.
- If there are breaking changes, announce them in Mattermost.