-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
Description
Feature
Changelog
to be written during release process
What Needs to Be Done (chronologically)
- Create PR from
main->developto incorporate hotfixes / documentation changes. - In case of merge conflicts create PR to fix them which is then merged into main / fix on GitHub but make sure to let it create a new branch for the changes.
- Review the PR
- Create PR to merge from current develop into release branch
- Write Changelog in PR and request review
- Review the PR (if OK - merge, but DO NOT delete the branch)
- Minimize packages in requirements.txt and conda-forge submission. Update packages in setup.py
- Check unit tests -> Check all tests pass on CPU and GPU (e.g. on colab) and that there are tests for all important features
- Check documentation -> Check presence of documentation for all features by locally building the docs on the release
- Change version number in setup.py and docs (under conf.py)
- Trigger the Upload Python Package to testpypi GitHub Action (https://github.com/esa/torchquad/actions/workflows/deploy_to_test_pypi.yml) on the release branch (need to be logged in)
- Test the build on testpypi (with
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple torchquad) - Finalize release on the release branch
- Create PR:
release→main,release->develop - PR Review
- Merge
releaseback intomain, anddevelop - Create Release on GitHub from the last commit (the one reviewed in the PR) reviewed
- Upload to PyPI
- Update on conda following https://conda-forge.org/docs/maintainer/updating_pkgs.html