Merge pull request #9566 from wenottingham/version-note

Note that we need to match python versions.

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2021-03-11 21:27:56 +00:00 committed by GitHub
commit 52a46dd765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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