Reference
Publishing
Maintainer checklist for a new release.
Pre-release
- Bump
versioninpyproject.tomlandsetup.py. - Move
[Unreleased]entries under a dated section inCHANGELOG.md. - Run tests, build, and
twine check.
python -m pip install -e ".[dev]"
python -m pytest tests/ -q
python -m build
twine check dist/*Publish to PyPI
python -m pip install --upgrade build twine
rm -rf dist/ build/ *.egg-info
python -m build
twine check dist/*
twine upload dist/*TestPyPI (dry run)
twine upload --repository testpypi dist/*
pip install -i https://test.pypi.org/simple/ rays-core==1.6.0