You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pycardano failing 3.12.0 tests because of Blockfrost import.
To Reproduce
Try to test a feature requiring import of Pyardano in Python 3.12, the test will fail because 3.12.0 cannot import module pkg_resources via Blockfrost-Python.
Logs
On 3.10 we were already seeing deprecation warnings:
.tox/py3/lib/python3.10/site-packages/blockfrost/config.py:2
/home/ross-spencer/git/orcfax/simple_sign/.tox/py3/lib/python3.10/site-packages/blockfrost/config.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
On 3.12:
.tox/py3/lib/python3.12/site-packages/blockfrost/config.py:2: in <module>
import pkg_resources
E ModuleNotFoundError: No module named 'pkg_resources'
Expected behavior
I'm not sure if this library is expected to work in 3.12.0 yet but it'd be great if it did.
Environment and software version (please complete the following information):
Python 3.12.
PyCardano 0.11.0
Additional context
Blockfrost hasn't been updated in this library since 0.5.3 - blockfrost is now on 0.6.0 and the dependency on pkg_resources has been removed, ref: blockfrost/blockfrost-python@add8f5b
The text was updated successfully, but these errors were encountered:
Describe the bug
Pycardano failing 3.12.0 tests because of Blockfrost import.
To Reproduce
Try to test a feature requiring import of Pyardano in Python 3.12, the test will fail because 3.12.0 cannot import module
pkg_resources
via Blockfrost-Python.Logs
On 3.10 we were already seeing deprecation warnings:
On 3.12:
Expected behavior
I'm not sure if this library is expected to work in 3.12.0 yet but it'd be great if it did.
Environment and software version (please complete the following information):
Additional context
Blockfrost hasn't been updated in this library since 0.5.3 - blockfrost is now on 0.6.0 and the dependency on
pkg_resources
has been removed, ref: blockfrost/blockfrost-python@add8f5bThe text was updated successfully, but these errors were encountered: