mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Note that we need to match python versions.
(Some libraries don't have the same deps across python versions.)
This commit is contained in:
parent
6a296419d2
commit
fd658d44c9
@ -13,6 +13,9 @@ then run the script:
|
|||||||
|
|
||||||
`./updater.sh`
|
`./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
|
#### Upgrading Unpinned Dependency
|
||||||
|
|
||||||
If you require a new version of a dependency that does not have a pinned version
|
If you require a new version of a dependency that does not have a pinned version
|
||||||
|
|||||||
@ -14,11 +14,11 @@ _cleanup() {
|
|||||||
generate_requirements() {
|
generate_requirements() {
|
||||||
venv="`pwd`/venv"
|
venv="`pwd`/venv"
|
||||||
echo $venv
|
echo $venv
|
||||||
/usr/bin/python3 -m venv "${venv}"
|
/usr/bin/python3.6 -m venv "${venv}"
|
||||||
# shellcheck disable=SC1090
|
# shellcheck disable=SC1090
|
||||||
source ${venv}/bin/activate
|
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}"
|
${pip_compile} --output-file requirements.txt "${requirements_in}" "${requirements_git}"
|
||||||
# consider the git requirements for purposes of resolving deps
|
# consider the git requirements for purposes of resolving deps
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user