don't install async* modules, we need to cover bundled-in libraries and their successful import

pull/1242/merge
sebres 2023-12-12 15:23:10 +01:00
parent 054e1d89ca
commit 1371c91512
1 changed files with 4 additions and 3 deletions

View File

@ -57,14 +57,15 @@ jobs:
#sudo apt-get -y install python${F2B_PY/2/}-systemd || echo 'systemd not available' #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' sudo apt-get -y install libsystemd-dev || echo 'systemd dependencies seems to be unavailable'
python -m pip install systemd-python || echo 'systemd not available' 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' python -c 'import readline' 2> /dev/null || python -m pip install readline || echo 'readline not available'
# asyncore/asynchat: # asyncore/asynchat:
if dpkg --compare-versions "$F2B_PYV" ge 3.12; then if dpkg --compare-versions "$F2B_PYV" ge 3.12; then
#sudo apt-get -y install python${F2B_PY/2/}-setuptools || echo 'setuptools not unavailable' #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 setuptools || echo "can't install setuptools"
python -m pip install pyasynchat || echo "can't install pyasynchat"; # don't install async* modules, we need to cover bundled-in libraries:
python -m pip install pyasyncore || echo "can't install pyasyncore"; #python -m pip install pyasynchat || echo "can't install pyasynchat";
#python -m pip install pyasyncore || echo "can't install pyasyncore";
fi fi
- name: Before scripts - name: Before scripts