mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Merge pull request #3491 from holta/ansible-on-python-3.11
Force 'pip install ansible-core' on Python 3.11+ for Ubuntu 23.04 (Lunar Lobster) & Debian 12 (Bookworm)
This commit is contained in:
commit
cb4a8e2631
1 changed files with 3 additions and 3 deletions
|
@ -186,15 +186,15 @@ if uname -m | grep -q 64; then
|
|||
# https://github.com/iiab/iiab/pull/3022
|
||||
pip3 config --global set global.no-cache-dir false
|
||||
echo -e "\n\n'pip3 install --upgrade ansible-core' will now run:\n"
|
||||
pip3 install --upgrade ansible-core # ansible-core 2.12 (released 2021-11-08) requires Python >= 3.8
|
||||
pip3 install --break-system-packages --upgrade ansible-core # ansible-core 2.12 (released 2021-11-08) requires Python >= 3.8
|
||||
else
|
||||
# echo "2022-11-09: ansible-core 2.12.10+ PPA works on 32-bit RasPiOS, using /etc/apt/sources.list.d/iiab-ansible.list, until upstream wheels -> cryptography is fixed (PR #3421)"
|
||||
# $APT_PATH/apt -y --allow-downgrades install ansible-core
|
||||
pip3 config --global set global.no-cache-dir false
|
||||
echo -e "\n\n'pip3 install cryptography==37.0.4' will now run:\n"
|
||||
pip3 install cryptography==37.0.4 # latest compatible with ansible-core available via piwheels.org
|
||||
pip3 install --break-system-packages cryptography==37.0.4 # latest compatible with ansible-core available via piwheels.org
|
||||
echo -e "\n\n'pip3 install --upgrade ansible-core' will now run:\n"
|
||||
pip3 install --upgrade ansible-core # ansible-core 2.12 (released 2021-11-08) requires Python >= 3.8
|
||||
pip3 install --break-system-packages --upgrade ansible-core # ansible-core 2.12 (released 2021-11-08) requires Python >= 3.8
|
||||
fi
|
||||
|
||||
# (Re)running collection installs appears safe, with --force-with-deps to force
|
||||
|
|
Loading…
Reference in a new issue