8000 Hardcoded pyOpenSSL-21.0.0 in setup.py breaks pip and errbot plugins. · Issue #1624 · errbotio/errbot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Hardcoded pyOpenSSL-21.0.0 in setup.py breaks pip and errbot plugins. #1624
Closed
@IceWreck

Description

@IceWreck

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:

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

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 pyca/pyopenssl#1177

Fix
Unpin or upgrade pyOpenSSL. If theyre using pip then its probably installed anyways.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0