Reference

Publishing

Maintainer checklist for a new release.

Pre-release

  1. Bump version in pyproject.toml and setup.py.
  2. Move [Unreleased] entries under a dated section in CHANGELOG.md.
  3. 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