Note that we need to match python versions.

(Some libraries don't have the same deps across python versions.)
This commit is contained in:
Bill Nottingham 2021-03-11 15:40:43 -05:00
parent 6a296419d2
commit fd658d44c9
2 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,9 @@ then run the script:
`./updater.sh`
NOTE: `./updater.sh` uses /usr/bin/python3.6, to match the current python version
(3.6) used to build releases.
#### Upgrading Unpinned Dependency
If you require a new version of a dependency that does not have a pinned version

View File

@ -14,11 +14,11 @@ _cleanup() {
generate_requirements() {
venv="`pwd`/venv"
echo $venv
/usr/bin/python3 -m venv "${venv}"
/usr/bin/python3.6 -m venv "${venv}"
# shellcheck disable=SC1090
source ${venv}/bin/activate
${venv}/bin/python3 -m pip install -U pip pip-tools
${venv}/bin/python3.6 -m pip install -U pip pip-tools
${pip_compile} --output-file requirements.txt "${requirements_in}" "${requirements_git}"
# consider the git requirements for purposes of resolving deps