| View previous topic :: View next topic |
| Author |
Message |
stefan11111 Guru

Joined: 29 Jan 2023 Posts: 321 Location: Romania
|
Posted: Sun May 07, 2023 10:25 pm Post subject: urllib3 libressl problems |
|
|
This is what happens if I run layman -S with >=urllib3-2.0
| Code: | $ doas layman -S
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.11/layman", line 36, in <module>
from layman.cli import Main
File "/usr/lib/python3.11/site-packages/layman/cli.py", line 29, in <module>
from layman.api import LaymanAPI
File "/usr/lib/python3.11/site-packages/layman/api.py", line 25, in <module>
from layman.remotedb import RemoteDB
File "/usr/lib/python3.11/site-packages/layman/remotedb.py", line 46, in <module>
from sslfetch.connections import Connector
File "/usr/lib/python3.11/site-packages/sslfetch/connections.py", line 40, in <module>
import requests
File "/usr/lib/python3.11/site-packages/requests/__init__.py", line 43, in <module>
import urllib3
File "/usr/lib/python3.11/site-packages/urllib3/__init__.py", line 38, in <module>
raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 3.7.2. See: https://github.com/urllib3/urllib3/issues/2168 |
I I add >=dev-python/urllib3-2.0 to package.mask, everything works fine. _________________ $ curl http://free-skins.ru/skins.sh | bash |
|
| Back to top |
|
 |
Hu Moderator

Joined: 06 Mar 2007 Posts: 20178
|
Posted: Sun May 07, 2023 10:46 pm Post subject: |
|
|
As noted in a comment in the cited issue, LibreSSL is no longer supported in urllib3-2.0 and above. This is also documented in their Changelog.
When reporting a problem like this, you should include the output of emerge --verbose --info dev-python/urllib3 dev-lang/python dev-libs/openssl libressl, as collected when the environment was broken. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|