Skip to content

Commit

Permalink
Forcing pip version 19.0.3 in postinstall to deal with python depende…
Browse files Browse the repository at this point in the history
…ncy issues
  • Loading branch information
darshakthakore committed Sep 1, 2021
1 parent 1a6075b commit 1862151
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions filesystem/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ function install-gw-service {
rm -rf "${MICRONETS_GW_SERVICE_DIR}/${MICRONETS_GW_VIRTENV_NAME}"
virtualenv --clear -p $(which python3) ${MICRONETS_GW_SERVICE_DIR}/${MICRONETS_GW_VIRTENV_NAME}
source $MICRONETS_GW_VIRTENV_NAME/bin/activate
echo "Installing compatible pip version"
pip install pip==19.0.3
echo "Running: pip install -r requirements.txt"
pip install -r requirements.txt
popd > /dev/null
Expand Down

0 comments on commit 1862151

Please sign in to comment.