-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I have had a successful installation of IPFS-Toolkit that has the following versions:
Successfully installed IPFS-Toolkit-0.3.1 httpcore-0.14.7 httpx-0.22.0
When I attempt to establish a connection with a reusable connection pool....
from IPFS_API import ipfshttpclient
ipfs_client = ipfshttpclient.connect(addr='/ip4/172.xx.xx.xx/tcp/5001', session=True)
I get the following exception:
Traceback (most recent call last):
File "test_ipfs_http_api.py", line 9, in <module>
ipfs_client = ipfshttpclient.connect(addr='/ip4/172.xx.xx.xx/tcp/5001', session=True)
File "/home/ubuntu/.pyenv/versions/auditprotocol38/lib/python3.8/site-packages/ipfshttpclient2/client/__init__.py", line 119, in connect
client = Client(
File "/home/ubuntu/.pyenv/versions/auditprotocol38/lib/python3.8/site-packages/ipfshttpclient2/client/base.py", line 406, in __init__
self._client.open_session()
File "/home/ubuntu/.pyenv/versions/auditprotocol38/lib/python3.8/site-packages/ipfshttpclient2/http_common.py", line 429, in open_session
self._session = self._make_session()
File "/home/ubuntu/.pyenv/versions/auditprotocol38/lib/python3.8/site-packages/ipfshttpclient2/http_httpx.py", line 119, in _make_session
connection_pool = httpcore.SyncConnectionPool(
AttributeError: module 'httpcore' has no attribute 'SyncConnectionPool'
Taking a first hand look at a few StackOverflow threads where developers run into quite a few missing attribute exceptions regarding httpcore, it seems like putting a version freeze on the httpx and httpcore requirements would be a good idea here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels