astropy-xarray is developed on github.
By default, the upstream dev CI is disabled on pull request and push events. You can override this behavior per commit by adding a <tt>[test-upstream]</tt> tag to the first line of the commit message.
In order to keep code consistent, we use
- Black for standardized code formatting
- blackdoc for standardized code formatting in documentation
- Flake8 for general code quality
- isort for standardized order in imports. See also flake8-isort.
-
the release happens from
mainso make sure it is up-to-date:git pull origin main
-
look at
CHANGELOG.mdand make sure it is complete and with references to issues and pull requests -
open and merge a pull request with these changes
-
make sure the CI on main pass
-
check that the documentation build on readthedocs completed successfully
-
Fill in the release date and commit the release:
git commit -am "Release v0.X.Y" -
Tag the release and push to main:
git tag -a v0.X.Y -m "v0.X.Y" git push origin --tags -
Draft a release for the new tag on github. A CI will pick that up, build the project and push to PyPI. Be careful, this can't be undone.
-
Make sure readthedocs builds both
stableand the new tag -
Add a new section to
CHANGELOG.mdand push directly to main