-
Notifications
You must be signed in to change notification settings - Fork 65
Making a release
Craig Macdonald edited this page Jan 18, 2022
·
13 revisions
- Bump the version in
pyterrier/__init__.py
- Run
rm -f dist/*.tar.gz; python setup.py sdist
to generate a .tar.gz file in the dist folder - Ensure you can install the .tar.gz file,
pip install dist/*.tar.gz
- Commit
pyterrier/__init__.py
and push to github - Run the pypi packaging github action while ensuring that the releasetype input is set to
'test'
- The resulting tar file will become available from https://test.pypi.org/project/python-terrier/#files
- Use a colab instance to test install the test release - one cell containing
!pip install http://path/to/tesdt pypi.tar.gz
Using pip install the version number using test.pypi.org will not work. - Run the pypi packaging github action while ensuring that the releasetype input is set to
'release'
- Use a colab instance to test install the final release -
!pip install python-terrier
Making Release Notes:
cd pyterrier
gh issue list -S "is:issue is:closed milestone:0.7 " | cut -f1,3
gh pr list -S "is:pr is:closed milestone:0.7 "