Skip to content

Commit

Permalink
Updated moleculew to version 1.1.1 (#131)
Browse files Browse the repository at this point in the history
Keeping up with the latest changes.
  • Loading branch information
freemanjp authored Jan 9, 2022
1 parent 6cf06c6 commit 3f63fc5
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion moleculew
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

set -e

WRAPPER_VERSION=1.1.0
WRAPPER_VERSION=1.1.1

VERSION_DIR='.moleculew'
PYTHON_VERSION_FILE="$VERSION_DIR/python_version"
Expand Down Expand Up @@ -238,6 +238,14 @@ virtualenv_presant() {
fi
}

install_rich() {
# Workaround breaking changes in rich 11 by installing version 10
local RICH_VERSION='10.16.2'
banner "Installing Rich $RICH_VERSION into virtualenv $VIRTUAL_ENV"
pip install "rich==$RICH_VERSION"
echo ''
}

install_ansible() {
banner "Installing Ansible $ANSIBLE_VERSION into virtualenv $VIRTUAL_ENV"
pip install "ansible==$ANSIBLE_VERSION"
Expand Down Expand Up @@ -865,6 +873,9 @@ activate_virtualenv() {
source "$MOLECULE_WRAPPER_ENV/bin/activate"
echo ''

# Workaround breaking changes in rich 11 by installing version 10
install_rich

install_ansible

install_docker_lib
Expand Down

0 comments on commit 3f63fc5

Please sign in to comment.