Developer Notes¶
Creating a New Release¶
The following are steps for creating a new release:
- Update the Changelog page (in
docs/changelog.rst
) with notes for the release and commit those changes. - Update documentation tables by running
make_tables.py
inside thedocs
subdirectory and commit any resulting changes to the configuration table files underdocs/config
. - Checkout
master
and ensure that you have pulled all commits from origin. - Create the release tag and push it to GitHub.
$ git tag -a XX.YY.ZZ -m ""
$ git push --tags
- Upload the release to pypi.
$ python setup.py sdist upload -r pypi
- Create a new release on conda-forge by opening a PR on the
fermipy-feedstock repo. There
is a fork of
fermipy-feedstock
in the fermipy organization that you can use for this purpose. Editrecipe/meta.yaml
by entering the new package version and updating the sha256 hash to the value copied from the pypi download page. Update the package dependencies as necessary in therun
section ofrequirements
. Verify thatentry_points
contains the desired set of command-line scripts. Generally this section should match the contentsentry_points
insetup.py
. Before merging the PR confirm that all tests have successfully passed.