Updating astropy-helpers in a package ===================================== Automatic update ---------------- If you would like the Astropy team to automatically open pull requests to update astropy-helpers in your package, then see the instructions `here `_. Manual update ------------- To instead update astropy-helpers manually, go inside the submodule and do:: cd astropy_helpers git fetch origin Then checkout the version you want to use, e.g.:: git checkout v3.0.3 Go back up to the root of the repository and update the ``ah_bootstap.py`` file too, then add your changes:: cp astropy_helpers/ah_bootstrap.py . git add astropy_helpers ah_bootstrap.py git commit ...