mirror of https://github.com/fail2ban/fail2ban
don't install async* modules, we need to cover bundled-in libraries and their successful import
parent
054e1d89ca
commit
1371c91512
|
@ -57,14 +57,15 @@ jobs:
|
|||
#sudo apt-get -y install python${F2B_PY/2/}-systemd || echo 'systemd not available'
|
||||
sudo apt-get -y install libsystemd-dev || echo 'systemd dependencies seems to be unavailable'
|
||||
python -m pip install systemd-python || echo 'systemd not available'
|
||||
#readline if available as module:
|
||||
# readline if available as module:
|
||||
python -c 'import readline' 2> /dev/null || python -m pip install readline || echo 'readline not available'
|
||||
# asyncore/asynchat:
|
||||
if dpkg --compare-versions "$F2B_PYV" ge 3.12; then
|
||||
#sudo apt-get -y install python${F2B_PY/2/}-setuptools || echo 'setuptools not unavailable'
|
||||
python -m pip install setuptools || echo "can't install setuptools"
|
||||
python -m pip install pyasynchat || echo "can't install pyasynchat";
|
||||
python -m pip install pyasyncore || echo "can't install pyasyncore";
|
||||
# don't install async* modules, we need to cover bundled-in libraries:
|
||||
#python -m pip install pyasynchat || echo "can't install pyasynchat";
|
||||
#python -m pip install pyasyncore || echo "can't install pyasyncore";
|
||||
fi
|
||||
|
||||
- name: Before scripts
|
||||
|
|
Loading…
Reference in New Issue