mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
don't install async* modules, we need to cover bundled-in libraries and their successful import
This commit is contained in:
parent
054e1d89ca
commit
1371c91512
1 changed files with 4 additions and 3 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
|
@ -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 a new issue