Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 905 Bytes

File metadata and controls

28 lines (17 loc) · 905 Bytes

Release Procedure

  1. Depending on the magnitude of the changes in the release, consider testing some of the large downstream users of pluggy against the upcoming release. You can do so with uv run downstream/run_downstream.py <recipe>; use --list to discover available recipes.

  2. From a clean work tree, execute:

    tox -e release -- VERSION
    

    This will create the branch ready to be pushed.

  3. Open a PR targeting main.

  4. All tests must pass and the PR must be approved by at least another maintainer.

  5. Publish to PyPI by pushing a tag:

    git tag X.Y.Z release-X.Y.Z
    git push git@github.com:pytest-dev/pluggy.git X.Y.Z
    

    The tag will trigger a new build, which will deploy to PyPI.

  6. Make sure it is available on PyPI.

  7. Merge the PR into main, either manually or using GitHub's web interface.