Git Product home page Git Product logo

pandas-release's Introduction

Release automation for pandas.

Windows users should follow the steps in windows.md

Steps to a release

  • [ ] Manually update
    • [ ] TAG in Makefile
    • [ ] GH_USERNAME in Makefile

If running for the first time be sure to initialize repos

make init-repos

The environment.yml contains the local dependencies. You'll also need docker.

And fork pandas-feedstock and pandas-wheels to your GitHub account.

# Update repos
make update-repos

# Tag the release
make tag

# Build the doc and test images
make docker-image docker-doc

# Build the sdist
make pandas/dist/<>.tar.gz

# Final Pip and Conda tests. Do these in parallel.
# You can optionally do make doc here as well
make pip-test
make conda-test

# Push the tag. No going back now.
make push-tag

Now manually create a release https://github.com/pandas-dev/pandas/releases

Make sure to upload the sdist that's in pandas/dist/ as the "binary". Conda-forge uses it.

On pandas you should also now create and tag a new branch, so

git checkout -b <TAG>.x
git push upstream <TAG>.x
git checkout master
git commit --allow-empty -m "Start <NEXT_TAG>"
git tag -a v<NEXT_TAG>.dev0 -m 'DEV: Start <NEXT_TAG> cycle'
git push upstream master --follow-tags

Start the binary builds. For Mac users you may need to download the GNU version of sed before running this scripts via brew install gnu-sed

# Binaries
make conda-forge
make wheels

Open PRs for each of those.

Note that make wheels actually pushes a job to MacPython to produce wheels which we will download later.

Docs. You can cheat and re-tag / rebuild these if needed.

make doc

Once the binaries finish, you'll need to manually upload the wheels to PyPI.

Assuming the job which make wheels triggered on MacPython completed successfully (you may want to double check this https://anaconda.org/multibuild-wheels-staging/pandas/files) you can download a copy of the wheels locally.

make download-wheels

Upload the wheels and sdist

make upload-pypi

Finalize the docs

make upload-doc

To make sure /stable and the latest minor revision point to the new release run the following.

make link-stable
make link-version

goto announce.

Finalize

  • [ ] Announce Mailing List
  • [ ] Announce Twitter

Initial Setup

# 1. Initialize Git Repositories
make init-repos


TODO:

  • Put the build-essential install in the doc docker image
  • Update conda-forge to handle RC (branch off dev, etc.)
  • Update push-tag to handle RC
  • Update .make.py to not delete stuff
  • Environment setup (conda)
  • upload doc needs to do symlinking (maybe works, just not with RC?)
  • .dev0 tag for the next release

pandas-release's People

Contributors

tomaugspurger avatar simonjayhawkins avatar jorisvandenbossche avatar willayd avatar aya-s avatar janaknat avatar datapythonista avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.