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
docssubdirectory and commit any resulting changes to the configuration table files under
masterand 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-feedstockin the fermipy organization that you can use for this purpose. Edit
recipe/meta.yamlby 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 the
requirements. Verify that
entry_pointscontains the desired set of command-line scripts. Generally this section should match the contents
setup.py. Before merging the PR confirm that all tests have successfully passed.