-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'importlib.abc.Traversable' is deprecated and slated for removal in Python 3.14 #158
Comments
Thanks for the heads-up. However, we have to consider compatibility with older versions (at least Python 3.8, which is still supported until end of 2024). Do you actually mean |
I deep dived into this, apparently what has been deprecated is not the |
Hey @Natim @mdomke coming for same error i'm facing here https://github.com/pydantic/pydantic-extra-types/actions/runs/7455350706/job/20284285629?pr=65 is there a way to support PR: pydantic/pydantic-extra-types#65 __________________ ERROR collecting tests/test_json_schema.py __________________
tests/test_json_schema.py:12: in <module>
from pydantic_extra_types.iban import Iban
pydantic_extra_types/iban.py:14: in <module>
import schwifty
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/schwifty/__init__.py:6: in <module>
from schwifty.bic import BIC
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/schwifty/bic.py:14: in <module>
from schwifty import registry
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/schwifty/registry.py:14: in <module>
from importlib.abc import Traversable
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/abc.py:35: in __getattr__
warnings._deprecated(f"{__name__}.{name}", remove=(3, 14))
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/warnings.py:529: in _deprecated
warn(msg, DeprecationWarning, stacklevel=3)
E DeprecationWarning: 'importlib.abc.Traversable' is deprecated and slated for removal in Python 3.14
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! |
@yezz123 Why exactly do your tests fail for a |
Hey sorry I took so long to retry. I'm pretty sure I meant Anyways, #183 actually fixed this! |
Deprecated since version 3.12, will be removed in version 3.14: Use importlib.resources.abc.TraversableResources instead.
The text was updated successfully, but these errors were encountered: