- Install requirements:
pip install -r test-requirements.txt
(possibly in a virtualenv) - Actually run the tests:
pytest pytest_trio
- Format the code with
black .
- Update the version in
pytest_trio/_version.py
- Run
towncrier
to collect your release notes. - Review your release notes.
- Check everything in.
- Double-check it all works, docs build, etc.
- Build your sdist and wheel:
python setup.py sdist bdist_wheel
- Upload to PyPI:
twine upload dist/*
- Use
git tag
to tag your version. - Don't forget to
git push --tags
.