Contributing to scikit-learn
Release

Release

  • Changing the version in VERSION.txt and CHANGES.rst

  • Updating tags

    git fetch --prune --prune-tags --tags upstream
    git tag x.y.z
    git push upstream x.y.z
  • Create wheels and sdist

    python setup.py bdist_wheel sdist
  • Create a new env, install the wheel just created and run:

    pytest --pyargs <package>

    to check that all tests still pass.

  • Upload to Pypi

pip install twine -U
twine check dist/*
twine upload dist/* --verbose