The following explains how to update the Cookbooks once a new Release of Apache Arrow has been created. At the moment the CPP cookbooks require the version of Apache Arrow to be available on conda.
For the CPP cookbooks we use conda lock files that have to be updated when we want to update the version of Arrow used.
The script requires conda-lock
to be installed. As an example you can create a virtual environment with the following commands but you can use conda too. The only requirement is for conda-lock
to be available.
python -m venv cookbook-release source cookbook-release/bin/activate pip install conda-lock
Execute the 01-bump-versions.sh
script with two arguments current_version
and new_version
.
./dev/release/01-bump-versions.sh 10.0.1 11.0.0
The script will:
Now you should create a Pull Request to merge the changes against the main branch.
Once the Pull Request is merged you can run the 02-update.sh
from the updated main branch. This script requires a single argument with the new_version
:
./dev/release/02-update.sh 11.0.0
The script will: