mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
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:
commit
52a46dd765
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user