Everything done from repo root
git submodule update --init
git -C src checkout <my_version_tag>
python -m venv venv
. venv/bin/activate
pip install --no-deps -r frozen-requirements.txt
pip install ./src
diff -U0 frozen-requirements.txt <(pip freeze)
Use your judgement for which dependencies need updating.
In general, if it's not in setup.py
within install_requires
, it's not needed to change it.
If you want to update all deps:
pip freeze --exclude docker-pkg > frozen-requirements.txt
make -f Makefile.build
Remember to check the diff the Makefile outputs.
git add src # Register the submodule update
git add frozen-requirements.txt
git add artifacts/*.tar.gz
git commit -m "Updating docker-pkg to $(git -C src describe --tags)"