Skip to content

Commit 3f63fc5

Browse files
authored
Updated moleculew to version 1.1.1 (#131)
Keeping up with the latest changes.
1 parent 6cf06c6 commit 3f63fc5

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

moleculew

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
set -e
3030

31-
WRAPPER_VERSION=1.1.0
31+
WRAPPER_VERSION=1.1.1
3232

3333
VERSION_DIR='.moleculew'
3434
PYTHON_VERSION_FILE="$VERSION_DIR/python_version"
@@ -238,6 +238,14 @@ virtualenv_presant() {
238238
fi
239239
}
240240

241+
install_rich() {
242+
# Workaround breaking changes in rich 11 by installing version 10
243+
local RICH_VERSION='10.16.2'
244+
banner "Installing Rich $RICH_VERSION into virtualenv $VIRTUAL_ENV"
245+
pip install "rich==$RICH_VERSION"
246+
echo ''
247+
}
248+
241249
install_ansible() {
242250
banner "Installing Ansible $ANSIBLE_VERSION into virtualenv $VIRTUAL_ENV"
243251
pip install "ansible==$ANSIBLE_VERSION"
@@ -865,6 +873,9 @@ activate_virtualenv() {
865873
source "$MOLECULE_WRAPPER_ENV/bin/activate"
866874
echo ''
867875

876+
# Workaround breaking changes in rich 11 by installing version 10
877+
install_rich
878+
868879
install_ansible
869880

870881
install_docker_lib

0 commit comments

Comments
 (0)