[FIX] script install: install vatnumber before install poetry pip
- this fix a problem about python2_to3
This commit is contained in:
parent
3522821665
commit
f896340d4b
1 changed files with 4 additions and 4 deletions
|
|
@ -117,7 +117,10 @@ ${VENV_PATH}/bin/pip install --upgrade pip
|
|||
if [[ ! -f "${POETRY_PATH}" ]]; then
|
||||
${VENV_PATH}/bin/pip install poetry==${POETRY_VERSION}
|
||||
${VENV_PATH}/bin/poetry --version
|
||||
${VENV_PATH}/bin/poetry lock --no-update
|
||||
# Fix broken poetry by installing ignored dependence
|
||||
${VENV_PATH}/bin/pip install vatnumber
|
||||
${VENV_PATH}/bin/pip install suds-jurko
|
||||
# ${VENV_PATH}/bin/poetry lock --no-update
|
||||
${VENV_PATH}/bin/poetry install
|
||||
retVal=$?
|
||||
if [[ $retVal -ne 0 ]]; then
|
||||
|
|
@ -125,9 +128,6 @@ if [[ ! -f "${POETRY_PATH}" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
fi
|
||||
# Fix broken poetry by installing ignored dependence
|
||||
${VENV_PATH}/bin/pip install vatnumber
|
||||
${VENV_PATH}/bin/pip install suds-jurko
|
||||
|
||||
# Delete artifacts created by pip, cause error in next "poetry install"
|
||||
rm -rf artifacts
|
||||
|
|
|
|||
Loading…
Reference in a new issue