Open ocervell opened 10 months ago
This issue has already been fixed upstream in aiohttp, but requires publishing a new release to PyPI as the current GitHub version looks to already be fixed.
Is it possible to release a new version @soxoj
@soxoj any updates ? We still can't install maigret using default Python version on latest Debian ...
$ pip3 --version; echo -e "\n"; git clone https://github.com/soxoj/maigret.git && cd maigret && pip3 install -r requirements.txt
pip 24.0 from /usr/lib/python3/dist-packages/pip (python 3.11)
Cloning into 'maigret'...
remote: Enumerating objects: 4137, done.
remote: Counting objects: 100% (1664/1664), done.
remote: Compressing objects: 100% (117/117), done.
remote: Total 4137 (delta 1621), reused 1553 (delta 1547), pack-reused 2473
Receiving objects: 100% (4137/4137), 5.11 MiB | 16.46 MiB/s, done.
Resolving deltas: 100% (2959/2959), done.
Collecting aiodns==3.0.0 (from -r requirements.txt (line 1))
Using cached aiodns-3.0.0-py3-none-any.whl.metadata (3.5 kB)
Collecting aiohttp==3.8.6 (from -r requirements.txt (line 2))
Using cached aiohttp-3.8.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
Collecting aiohttp-socks==0.7.1 (from -r requirements.txt (line 3))
Using cached aiohttp_socks-0.7.1-py3-none-any.whl.metadata (3.1 kB)
Requirement already satisfied: arabic-reshaper~=3.0.0 in /usr/local/lib/python3.11/dist-packages (from -r requirements.txt (line 4)) (3.0.0)
Requirement already satisfied: async-timeout==4.0.3 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 5)) (4.0.3)
Collecting attrs==22.2.0 (from -r requirements.txt (line 6))
Using cached attrs-22.2.0-py3-none-any.whl.metadata (13 kB)
Collecting certifi==2023.7.22 (from -r requirements.txt (line 7))
Using cached certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting chardet==5.0.0 (from -r requirements.txt (line 8))
Using cached chardet-5.0.0-py3-none-any.whl.metadata (3.4 kB)
Requirement already satisfied: colorama==0.4.6 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 9)) (0.4.6)
Collecting future==0.18.3 (from -r requirements.txt (line 10))
Using cached future-0.18.3-py3-none-any.whl
Collecting future-annotations==1.0.0 (from -r requirements.txt (line 11))
Using cached future_annotations-1.0.0-py2.py3-none-any.whl.metadata (3.3 kB)
Requirement already satisfied: html5lib==1.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 12)) (1.1)
Collecting idna==3.4 (from -r requirements.txt (line 13))
Using cached idna-3.4-py3-none-any.whl.metadata (9.8 kB)
Requirement already satisfied: Jinja2==3.1.2 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 14)) (3.1.2)
Collecting lxml==4.9.2 (from -r requirements.txt (line 15))
Using cached lxml-4.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (3.6 kB)
Collecting MarkupSafe==2.1.1 (from -r requirements.txt (line 16))
Using cached MarkupSafe-2.1.1-cp311-cp311-linux_x86_64.whl
Collecting mock==4.0.3 (from -r requirements.txt (line 17))
Using cached mock-4.0.3-py3-none-any.whl.metadata (2.8 kB)
Requirement already satisfied: multidict==6.0.4 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 18)) (6.0.4)
Collecting pycountry==22.3.5 (from -r requirements.txt (line 19))
Using cached pycountry-22.3.5-py2.py3-none-any.whl
Collecting PyPDF2==3.0.1 (from -r requirements.txt (line 20))
Using cached pypdf2-3.0.1-py3-none-any.whl.metadata (6.8 kB)
Requirement already satisfied: PySocks==1.7.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 21)) (1.7.1)
Collecting python-bidi==0.4.2 (from -r requirements.txt (line 22))
Using cached python_bidi-0.4.2-py2.py3-none-any.whl.metadata (4.6 kB)
Requirement already satisfied: requests==2.31.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 23)) (2.31.0)
Collecting requests-futures==1.0.0 (from -r requirements.txt (line 24))
Using cached requests_futures-1.0.0-py2.py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: six==1.16.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 25)) (1.16.0)
Collecting socid-extractor>=0.0.24 (from -r requirements.txt (line 26))
Using cached socid_extractor-0.0.26-py3-none-any.whl.metadata (4.5 kB)
Collecting soupsieve==2.3.2.post1 (from -r requirements.txt (line 27))
Using cached soupsieve-2.3.2.post1-py3-none-any.whl.metadata (5.7 kB)
Requirement already satisfied: stem==1.8.1 in /usr/local/lib/python3.11/dist-packages (from -r requirements.txt (line 28)) (1.8.1)
Requirement already satisfied: torrequest==0.1.0 in /usr/local/lib/python3.11/dist-packages (from -r requirements.txt (line 29)) (0.1.0)
Collecting tqdm==4.66.1 (from -r requirements.txt (line 30))
Using cached tqdm-4.66.1-py3-none-any.whl.metadata (57 kB)
Collecting typing-extensions==4.8.0 (from -r requirements.txt (line 31))
Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: webencodings==0.5.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 32)) (0.5.1)
Collecting xhtml2pdf~=0.2.11 (from -r requirements.txt (line 33))
Using cached xhtml2pdf-0.2.15-py3-none-any.whl.metadata (22 kB)
Requirement already satisfied: XMind==1.2.0 in /usr/local/lib/python3.11/dist-packages (from -r requirements.txt (line 34)) (1.2.0)
Requirement already satisfied: yarl==1.8.2 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 35)) (1.8.2)
Collecting networkx==2.6.3 (from -r requirements.txt (line 36))
Using cached networkx-2.6.3-py3-none-any.whl.metadata (5.0 kB)
Collecting pyvis==0.2.1 (from -r requirements.txt (line 37))
Using cached pyvis-0.2.1-py3-none-any.whl
Collecting reportlab==3.6.13 (from -r requirements.txt (line 38))
Using cached reportlab-3.6.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.2 kB)
Collecting cloudscraper==1.2.71 (from -r requirements.txt (line 39))
Using cached cloudscraper-1.2.71-py2.py3-none-any.whl.metadata (19 kB)
Requirement already satisfied: pycares>=4.0.0 in /usr/lib/python3/dist-packages (from aiodns==3.0.0->-r requirements.txt (line 1)) (4.4.0)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp==3.8.6->-r requirements.txt (line 2)) (3.3.2)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/lib/python3/dist-packages (from aiohttp==3.8.6->-r requirements.txt (line 2)) (1.4.0)
Requirement already satisfied: aiosignal>=1.1.2 in /usr/lib/python3/dist-packages (from aiohttp==3.8.6->-r requirements.txt (line 2)) (1.3.1)
Requirement already satisfied: python-socks<3.0.0,>=2.0.0 in /usr/local/lib/python3.11/dist-packages (from python-socks[asyncio]<3.0.0,>=2.0.0->aiohttp-socks==0.7.1->-r requirements.txt (line 3)) (2.4.4)
Collecting tokenize-rt>=3 (from future-annotations==1.0.0->-r requirements.txt (line 11))
Using cached tokenize_rt-5.2.0-py2.py3-none-any.whl.metadata (4.1 kB)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from pycountry==22.3.5->-r requirements.txt (line 19)) (68.1.2)
Requirement already satisfied: ipython>=5.3.0 in /usr/lib/python3/dist-packages (from pyvis==0.2.1->-r requirements.txt (line 37)) (8.20.0)
Collecting jsonpickle>=1.4.1 (from pyvis==0.2.1->-r requirements.txt (line 37))
Using cached jsonpickle-3.0.3-py3-none-any.whl.metadata (7.3 kB)
Requirement already satisfied: pillow>=9.0.0 in /usr/lib/python3/dist-packages (from reportlab==3.6.13->-r requirements.txt (line 38)) (10.2.0)
Requirement already satisfied: pyparsing>=2.4.7 in /usr/lib/python3/dist-packages (from cloudscraper==1.2.71->-r requirements.txt (line 39)) (3.1.1)
Collecting requests-toolbelt>=0.9.1 (from cloudscraper==1.2.71->-r requirements.txt (line 39))
Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB)
Requirement already satisfied: python-dateutil>=2.8.1 in /usr/lib/python3/dist-packages (from socid-extractor>=0.0.24->-r requirements.txt (line 26)) (2.8.2)
Requirement already satisfied: beautifulsoup4~=4.12.2 in /usr/lib/python3/dist-packages (from socid-extractor>=0.0.24->-r requirements.txt (line 26)) (4.12.3)
Collecting pyHanko>=0.12.1 (from xhtml2pdf~=0.2.11->-r requirements.txt (line 33))
Using cached pyHanko-0.23.1-py3-none-any.whl.metadata (9.4 kB)
Collecting pyhanko-certvalidator>=0.19.5 (from xhtml2pdf~=0.2.11->-r requirements.txt (line 33))
Using cached pyhanko_certvalidator-0.26.3-py3-none-any.whl.metadata (5.3 kB)
Collecting pypdf>=3.1.0 (from xhtml2pdf~=0.2.11->-r requirements.txt (line 33))
Using cached pypdf-4.1.0-py3-none-any.whl.metadata (7.4 kB)
INFO: pip is looking at multiple versions of xhtml2pdf to determine which version is compatible with other requirements. This could take a while.
Collecting xhtml2pdf~=0.2.11 (from -r requirements.txt (line 33))
Using cached xhtml2pdf-0.2.14-py3-none-any.whl.metadata (22 kB)
Using cached xhtml2pdf-0.2.13-py3-none-any.whl.metadata (21 kB)
Using cached xhtml2pdf-0.2.12-py3-none-any.whl.metadata (21 kB)
Using cached xhtml2pdf-0.2.11-py3-none-any.whl
Collecting svglib>=1.2.1 (from xhtml2pdf~=0.2.11->-r requirements.txt (line 33))
Using cached svglib-1.5.1-py3-none-any.whl
Requirement already satisfied: decorator in /usr/lib/python3/dist-packages (from ipython>=5.3.0->pyvis==0.2.1->-r requirements.txt (line 37)) (5.1.1)
Requirement already satisfied: jedi>=0.16 in /usr/lib/python3/dist-packages (from ipython>=5.3.0->pyvis==0.2.1->-r requirements.txt (line 37)) (0.19.1)
Requirement already satisfied: matplotlib-inline in /usr/lib/python3/dist-packages (from ipython>=5.3.0->pyvis==0.2.1->-r requirements.txt (line 37)) (0.1.6)
Requirement already satisfied: prompt-toolkit<3.1.0,>=3.0.41 in /usr/lib/python3/dist-packages (from ipython>=5.3.0->pyvis==0.2.1->-r requirements.txt (line 37)) (3.0.43)
Requirement already satisfied: pygments>=2.4.0 in /usr/lib/python3/dist-packages (from ipython>=5.3.0->pyvis==0.2.1->-r requirements.txt (line 37)) (2.17.2)
Requirement already satisfied: stack-data in /usr/lib/python3/dist-packages (from ipython>=5.3.0->pyvis==0.2.1->-r requirements.txt (line 37)) (0.6.3)
Requirement already satisfied: traitlets>=5 in /usr/lib/python3/dist-packages (from ipython>=5.3.0->pyvis==0.2.1->-r requirements.txt (line 37)) (5.5.0)
Requirement already satisfied: pexpect>4.3 in /usr/lib/python3/dist-packages (from ipython>=5.3.0->pyvis==0.2.1->-r requirements.txt (line 37)) (4.9.0)
Requirement already satisfied: cffi>=1.5.0 in /usr/lib/python3/dist-packages (from pycares>=4.0.0->aiodns==3.0.0->-r requirements.txt (line 1)) (1.16.0)
Requirement already satisfied: asn1crypto>=1.5.1 in /usr/lib/python3/dist-packages (from pyHanko>=0.12.1->xhtml2pdf~=0.2.11->-r requirements.txt (line 33)) (1.5.1)
Requirement already satisfied: qrcode>=7.3.1 in /usr/lib/python3/dist-packages (from pyHanko>=0.12.1->xhtml2pdf~=0.2.11->-r requirements.txt (line 33)) (7.4.2)
Requirement already satisfied: tzlocal>=4.3 in /usr/local/lib/python3.11/dist-packages (from pyHanko>=0.12.1->xhtml2pdf~=0.2.11->-r requirements.txt (line 33)) (5.2)
Requirement already satisfied: click>=8.1.3 in /usr/lib/python3/dist-packages (from pyHanko>=0.12.1->xhtml2pdf~=0.2.11->-r requirements.txt (line 33)) (8.1.6)
Requirement already satisfied: pyyaml>=6.0 in /usr/lib/python3/dist-packages (from pyHanko>=0.12.1->xhtml2pdf~=0.2.11->-r requirements.txt (line 33)) (6.0.1)
Collecting cryptography>=42.0.1 (from pyHanko>=0.12.1->xhtml2pdf~=0.2.11->-r requirements.txt (line 33))
Using cached cryptography-42.0.5-cp39-abi3-manylinux_2_28_x86_64.whl.metadata (5.3 kB)
Requirement already satisfied: oscrypto>=1.1.0 in /usr/lib/python3/dist-packages (from pyhanko-certvalidator>=0.19.5->xhtml2pdf~=0.2.11->-r requirements.txt (line 33)) (1.3.0)
Requirement already satisfied: uritools>=3.0.1 in /usr/local/lib/python3.11/dist-packages (from pyhanko-certvalidator>=0.19.5->xhtml2pdf~=0.2.11->-r requirements.txt (line 33)) (4.0.2)
Collecting cssselect2>=0.2.0 (from svglib>=1.2.1->xhtml2pdf~=0.2.11->-r requirements.txt (line 33))
Using cached cssselect2-0.7.0-py3-none-any.whl.metadata (2.9 kB)
Collecting tinycss2>=0.6.0 (from svglib>=1.2.1->xhtml2pdf~=0.2.11->-r requirements.txt (line 33))
Using cached tinycss2-1.2.1-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: pycparser in /usr/lib/python3/dist-packages (from cffi>=1.5.0->pycares>=4.0.0->aiodns==3.0.0->-r requirements.txt (line 1)) (2.21)
Requirement already satisfied: asttokens>=2.1.0 in /usr/lib/python3/dist-packages (from stack-data->ipython>=5.3.0->pyvis==0.2.1->-r requirements.txt (line 37)) (2.4.1)
Requirement already satisfied: executing>=1.2.0 in /usr/lib/python3/dist-packages (from stack-data->ipython>=5.3.0->pyvis==0.2.1->-r requirements.txt (line 37)) (2.0.1)
Requirement already satisfied: pure-eval in /usr/lib/python3/dist-packages (from stack-data->ipython>=5.3.0->pyvis==0.2.1->-r requirements.txt (line 37)) (0.0.0)
Using cached aiodns-3.0.0-py3-none-any.whl (5.0 kB)
Using cached aiohttp-3.8.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Using cached aiohttp_socks-0.7.1-py3-none-any.whl (9.3 kB)
Using cached attrs-22.2.0-py3-none-any.whl (60 kB)
Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
Using cached chardet-5.0.0-py3-none-any.whl (193 kB)
Using cached future_annotations-1.0.0-py2.py3-none-any.whl (5.6 kB)
Using cached idna-3.4-py3-none-any.whl (61 kB)
Using cached lxml-4.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (7.2 MB)
Using cached mock-4.0.3-py3-none-any.whl (28 kB)
Using cached pypdf2-3.0.1-py3-none-any.whl (232 kB)
Using cached python_bidi-0.4.2-py2.py3-none-any.whl (30 kB)
Using cached requests_futures-1.0.0-py2.py3-none-any.whl (7.4 kB)
Using cached soupsieve-2.3.2.post1-py3-none-any.whl (37 kB)
Using cached tqdm-4.66.1-py3-none-any.whl (78 kB)
Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Using cached networkx-2.6.3-py3-none-any.whl (1.9 MB)
Using cached reportlab-3.6.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB)
Using cached cloudscraper-1.2.71-py2.py3-none-any.whl (99 kB)
Using cached socid_extractor-0.0.26-py3-none-any.whl (54 kB)
Using cached jsonpickle-3.0.3-py3-none-any.whl (40 kB)
Using cached pyHanko-0.23.1-py3-none-any.whl (432 kB)
Using cached pyhanko_certvalidator-0.26.3-py3-none-any.whl (109 kB)
Using cached pypdf-4.1.0-py3-none-any.whl (286 kB)
Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Using cached tokenize_rt-5.2.0-py2.py3-none-any.whl (5.8 kB)
Using cached cryptography-42.0.5-cp39-abi3-manylinux_2_28_x86_64.whl (4.6 MB)
Using cached cssselect2-0.7.0-py3-none-any.whl (15 kB)
Using cached tinycss2-1.2.1-py3-none-any.whl (21 kB)
Installing collected packages: typing-extensions, tqdm, tokenize-rt, tinycss2, soupsieve, requests-toolbelt, requests-futures, reportlab, python-bidi, PyPDF2, pypdf, pycountry, networkx, mock, MarkupSafe, lxml, jsonpickle, idna, future, chardet, certifi, attrs, future-annotations, cssselect2, cryptography, cloudscraper, aiohttp, svglib, socid-extractor, pyhanko-certvalidator, aiohttp-socks, aiodns, pyvis, pyHanko, xhtml2pdf
Attempting uninstall: typing-extensions
Found existing installation: typing_extensions 4.10.0
ERROR: Cannot uninstall typing_extensions 4.10.0, RECORD file not found. Hint: The package was installed by debian.
same problem
Actually this is not the same issue at all @jz543fm.
@soxoj there is no issues installing maigret using the current main
branch, it works fine and doesn't complain about reportlab
: it's the PyPI version that causes an issue.
To reproduce:
pipx install maigret # fails with error
pipx install git+https://github.com/soxoj/maigret@6be2f409e58056b1ca8571a8151e53bef107dedc # works
Could you please release a new version on PyPI based on the current main
?
Thanks, guys, the new version will be released soon. 👍