From 426303d4ef9e15bcf89e5d874165977fa8e0299e Mon Sep 17 00:00:00 2001 From: Marc Garcia Date: Mon, 3 Apr 2023 17:34:56 +0200 Subject: [PATCH] DOC: Update release instructions --- doc/source/development/maintaining.rst | 28 ++++++++------------------ 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst index 97de0fb343223..b8a39c0c91236 100644 --- a/doc/source/development/maintaining.rst +++ b/doc/source/development/maintaining.rst @@ -437,7 +437,7 @@ which will be triggered when the tag is pushed. git tag -a v1.5.0.dev0 -m "DEV: Start 1.5.0" git push upstream main --follow-tags -3. Build the source distribution (git must be in the tag commit): +3. Build the source distribution (git must be in the tag commit):: ./setup.py sdist --formats=gztar --quiet @@ -455,25 +455,13 @@ which will be triggered when the tag is pushed. `automated conda-forge PR `_. Merge it once the CI is green, and it will generate the conda-forge packages. -6. Packages for supported versions in PyPI are built in the - `MacPython repo `_. - Open a PR updating the build commit to the released version, and merge it once the - CI is green. To do this type:: - - git checkout master - git pull --ff-only upstream master - git checkout -B RLS- - sed -i 's/BUILD_COMMIT: "v.*/BUILD_COMMIT: "'v'"/' azure/windows.yml azure/posix.yml - sed -i 's/BUILD_COMMIT="v.*/BUILD_COMMIT="'v'"/' .travis.yml - git commit -am "RLS " - git push -u origin RLS- - -7. Download all wheels from the Anaconda repository where MacPython uploads them: - https://anaconda.org/multibuild-wheels-staging/pandas/files?version= - to the ``dist/`` directory in the local pandas copy. You can use the script - ``scripts/download_wheels.sh`` to download all wheels at once. - -8. Upload wheels to PyPI: +6. Packages for supported versions in PyPI are built automatically from our CI. + Once all packages are build download all wheels from the + `Anaconda repository >`_ + where our CI published them to the ``dist/`` directory in your local pandas copy. + You can use the script ``scripts/download_wheels.sh`` to download all wheels at once. + +7. Upload wheels to PyPI:: twine upload pandas/dist/pandas-*.{whl,tar.gz} --skip-existing