Skip to content

Commit 040ae2e

Browse files
fixed bcrypt 5 not being compatible with latest passlib version by setting bcrypt to 4.3
1 parent 07c05e2 commit 040ae2e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bibigrid/core/utility/ansible_commands.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,11 @@
6060
UPDATE = ("sudo apt-get update", "Update apt repository lists.")
6161
PYTHON3_PIP = ("sudo apt-get install -y python3-pip python3-venv", "Install python3 pip and venv using apt.")
6262
VENV_SETUP = ("sudo python3 -m venv /opt/bibigrid-venv", " Create bibigrid virtual environment.")
63-
ANSIBLE_PASSLIB = ("sudo /opt/bibigrid-venv/bin/pip install ansible==10.7 passlib",
64-
"Install Ansible 10.7 and Passlib using pip.")
63+
ANSIBLE_PASSLIB = (
64+
"sudo /opt/bibigrid-venv/bin/pip install "
65+
"ansible==10.7 passlib bcrypt==4.3",
66+
"Install Ansible 10.7, Passlib, and a pinned bcrypt version."
67+
)
6568
ANSIBLE_GALAXY = ("sudo /opt/bibigrid-venv/bin/ansible-galaxy collection install " +
6669
"-p /usr/share/ansible/collections community.zabbix==3.2.0",
6770
"Install necessary ansible-galaxy modules.")

0 commit comments

Comments
 (0)