jawah / niquests

“Safest, Fastest, Easiest, and Most advanced” Python HTTP Client. Production Ready! Drop-in replacement for Requests. HTTP/1.1, HTTP/2, and HTTP/3 supported. With WebSocket!

Home Page:https://niquests.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Latest release fails - ImportError: cannot import name 'ConnectionInfo' from 'urllib3'

lucaspar opened this issue · comments

Expected Result

No import issues with latest urllib3 (v2.2.1)

Actual Result

40e1d6a#r139358101

ImportError: cannot import name 'ConnectionInfo' from 'urllib3' (/home/user/.cache/pypoetry/virtualenvs/project-py3.11/lib/python3.11/site-packages/urllib3/__init__.py)

Reproduction Steps

poetry run python -c "import niquests"

System Information

Python 3.11.8

poetry show | grep 'urllib|niquest'
niquests                  3.5.1           Niquests is a simple, yet elegant...
urllib3                   2.2.1           HTTP library with thread-safe con...
urllib3-future            2.6.902         urllib3.future is a powerful HTTP...

OK. This is now fixed, a patch has been made. I will answer your other question at the other issue.