Skip to content

Commit

Permalink
Merge pull request #9566 from wenottingham/version-note
Browse files Browse the repository at this point in the history
Note that we need to match python versions.

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
  • Loading branch information
softwarefactory-project-zuul[bot] committed Mar 11, 2021
2 parents 6a29641 + fd658d4 commit 52a46dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions requirements/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions requirements/updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52a46dd

Please sign in to comment.