File: release-process.rst

package info (click to toggle)
python-packaging 25.0-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 2,716 kB
  • sloc: python: 8,071; makefile: 130; sh: 35
file content (26 lines) | stat: -rw-r--r-- 849 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Release Process
===============

#. Checkout the current ``main`` branch.
#. Install the latest ``nox``::

    $ pip install nox

#. Manually update the changelog to list all unreleased changes. Also verify that no new changes were added to a previous release in an earlier PR due to merge/rebase issues.
#. Run the release automation with the required version number (YY.N)::

    $ nox -s release -- YY.N

   You will need the password for your GPG key as well as an API token for PyPI.

#. Add a `release on GitHub <https://github.com/pypa/packaging/releases>`__.

#. Notify the other project owners of the release.

.. note::

   Access needed for making the release are:

   - PyPI maintainer (or owner) access to ``packaging``
   - push directly to the ``main`` branch on the source repository
   - push tags directly to the source repository