@@ -368,11 +368,14 @@ Prerequisites
368368
369369In order to be able to release a new pandas version, the next permissions are needed:
370370
371- - Merge rights to the `pandas <https://github.com/pandas-dev/pandas/ >`_,
372- `pandas-wheels <https://github.com/MacPython/pandas-wheels >`_, and
371+ - Merge rights to the `pandas <https://github.com/pandas-dev/pandas/ >`_ and
373372 `pandas-feedstock <https://github.com/conda-forge/pandas-feedstock/ >`_ repositories.
374- - Permissions to push to main in the pandas repository, to push the new tags.
375- - `Write permissions to PyPI <https://github.com/conda-forge/pandas-feedstock/pulls >`_
373+ For the latter, open a PR adding your GitHub username to the conda-forge recipe.
374+ - Permissions to push to ``main `` in the pandas repository, to push the new tags.
375+ - `Write permissions to PyPI <https://github.com/conda-forge/pandas-feedstock/pulls >`_.
376+ - Access to our website / documentation server. Share your public key with the
377+ infrastructure committee to be added to the ``authorized_keys `` file of the main
378+ server user.
376379- Access to the social media accounts, to publish the announcements.
377380
378381Pre-release
@@ -438,17 +441,20 @@ which will be triggered when the tag is pushed.
438441
4394424. Create a `new GitHub release <https://github.com/pandas-dev/pandas/releases/new >`_:
440443
441- - Title: ``Pandas <version> ``
442444 - Tag: ``<version> ``
443- - Files : ``pandas- <version>.tar.gz `` source distribution just generated
445+ - Title : ``Pandas <version>``
444446 - Description: Copy the description of the last release of the same kind (release candidate, major/minor or patch release)
447+ - Files: ``pandas-<version>.tar.gz `` source distribution just generated
445448 - Set as a pre-release: Only check for a release candidate
446449 - Set as the latest release: Leave checked, unless releasing a patch release for an older version
447450 (e.g. releasing 1.4.5 after 1.5 has been released)
448451
4494525. The GitHub release will after some hours trigger an
450453 `automated conda-forge PR <https://github.com/conda-forge/pandas-feedstock/pulls >`_.
451454 Merge it once the CI is green, and it will generate the conda-forge packages.
455+ In case a manual PR needs to be done, the version, sha256 and build fields are the
456+ ones that usually need to be changed. If anything else in the recipe has changed since
457+ the last release, those changes should be available in ``ci/meta.yaml ``.
452458
4534596. Packages for supported versions in PyPI are built in the
454460 `MacPython repo <https://github.com/MacPython/pandas-wheels >`_.
@@ -475,8 +481,16 @@ which will be triggered when the tag is pushed.
475481Post-Release
476482````````````
477483
478- 1. Update symlink to stable documentation by logging in to our web server, and
479- editing ``/var/www/html/pandas-docs/stable `` to point to ``version/<latest-version> ``.
484+ 1. Update symlinks to stable documentation by logging in to our web server, and
485+ editing ``/var/www/html/pandas-docs/stable `` to point to ``version/<latest-version> ``
486+ for major and minor releases, or ``version/<minor> `` to ``version/<patch> `` for
487+ patch releases. The exact instructions are (replace the example version numbers by
488+ the appropriate ones for the version you are releasing):
489+
490+ - Log in to the server and use the correct user.
491+ - `cd /var/www/html/pandas-docs/ `
492+ - `ln -sfn version/2.1 stable ` (for a major or minor release)
493+ - `ln -sfn version/2.0.3 version/2.0 ` (for a patch release)
480494
4814952. If releasing a major or minor release, open a PR in our source code to update
482496 ``web/pandas/versions.json ``, to have the desired versions in the documentation
@@ -488,13 +502,16 @@ Post-Release
488502
4895035. Open a PR with the placeholder for the release notes of the next version. See
490504 for example `the PR for 1.5.3 <https://github.com/pandas-dev/pandas/pull/49843/files >`_.
505+ Note that the template to use depends on whether it is a major, minor or patch release.
491506
4925076. Announce the new release in the official channels (use previous announcements
493508 for reference):
494509
495510 - The pandas-dev and pydata mailing lists
496- - Twitter, Mastodon and Telegram
511+ - Twitter, Mastodon, Telegram and LinkedIn
497512
513+ 7. Update this release instructions to fix anything incorrect and to update about any
514+ change since the last release.
498515
499516.. _governance documents : https://github.com/pandas-dev/pandas-governance
500517.. _list of permissions : https://docs.github.com/en/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization
0 commit comments