anki/python/update_python_deps.sh
Damien Elmes e0c4ba4b60 Revert to Qt 6.3.1 on macOS
Due to flicker reported on #2263. 6.3.1 was used in the 2.1.54 and is
the more conservative choice; we can trial 6.3.2 after release.
2022-12-14 15:25:10 +10:00

27 lines
795 B
Bash
Executable File

#!/bin/bash
set -e
if [ "$1" == "all" ]; then
upgrade="--upgrade"
elif [ "$1" != "" ]; then
upgrade="--upgrade-package $1"
else
upgrade=""
fi
args="--resolver=backtracking --allow-unsafe --no-header --strip-extras --generate-hashes"
# initial pyenv bootstrap
../out/pyenv/bin/pip-compile $args $upgrade requirements.base.in
# during bundle
../out/pyenv/bin/pip-compile $args $upgrade requirements.bundle.in
../out/pyenv/bin/pip-compile $args $upgrade requirements.qt6_3.in
../out/pyenv/bin/pip-compile $args $upgrade requirements.qt6_4.in
# ../out/pyenv/bin/pip-compile $args $upgrade requirements.qt5_14.in
# ../out/pyenv/bin/pip-compile $args $upgrade requirements.qt5_15.in
# during build/development/testing
../out/pyenv/bin/pip-compile $args $upgrade requirements.dev.in