Closed IceWreck closed 1 year ago
Describe the bug errbot's setup.py is hardcoded to install pyOpenSSL-21.0.0. This version breaks when any distro or python version uses newer cryptography. Even the latest debian stable breaks.
pyOpenSSL-21.0.0
To Reproduce
Example with Debian 11's python3.9
Using containers to test in a clean environment.
docker run -ti debian:11 bash
In the shell that pops up:
apt-get update && apt-get install -y git python3 python3-pip python3-dev pip install errbot
Now run any pip command (like pip install requests) or even errbot's webserver plugin
pip install requests
It will throw
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
This breaks pip which means you cant upgrade pyOpenSSL yourself
Expected behavior Does not break pip or errbot's plugins
Additional context You can find more info here https://github.com/pyca/pyopenssl/issues/1177
Fix Unpin or upgrade pyOpenSSL. If theyre using pip then its probably installed anyways.
Fixed in https://github.com/errbotio/errbot/pull/1627.
Describe the bug errbot's setup.py is hardcoded to install
pyOpenSSL-21.0.0
. This version breaks when any distro or python version uses newer cryptography. Even the latest debian stable breaks.To Reproduce
Example with Debian 11's python3.9
Using containers to test in a clean environment.
docker run -ti debian:11 bash
In the shell that pops up:
Now run any pip command (like
pip install requests
) or even errbot's webserver pluginIt will throw
This breaks pip which means you cant upgrade pyOpenSSL yourself
Expected behavior Does not break pip or errbot's plugins
Additional context You can find more info here https://github.com/pyca/pyopenssl/issues/1177
Fix Unpin or upgrade pyOpenSSL. If theyre using pip then its probably installed anyways.