-
-
Notifications
You must be signed in to change notification settings - Fork 576
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
Deprecation warning, affects compatibility with Python 3.8 #487
Comments
Hey. Pretty sure someone sent a patch to fix this on HEAD, what version are you on? |
Of jsonschema I mean. |
I'm running:
So the fix is in the alpha release? |
Should be yeah
On Nov 8, 2018 14:15, "Jason Haas" <notifications@github.com> wrote:
I'm running:
jsonschema==2.6.0
So the fix is in the alpha release?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#487 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAUIXiBXnVv8WqpDqJXtR0ou_mfrBdFiks5utILdgaJpZM4YU-AF>
.
|
Closing, but let me know if that's not the case. |
your problem is that you got 2 import mixed up
you should use While |
Hey all, JsonSchema: jsonschema==2.6.0
# via flasgger env/lib/python3.9/site-packages/jsonschema/compat.py:6
env/lib/python3.9/site-packages/jsonschema/compat.py:6
/env/lib/python3.9/site-packages/jsonschema/compat.py:6: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import MutableMapping, Sequence # noqa thank you all! |
Hi there, sounds like that belongs filed on flasgger, that's a very old version of this library that's being depended on. |
@Julian when I only import from from collections.abc import MutableMapping, Sequence # noqa instead of : try:
from collections import MutableMapping, Sequence # noqa
except ImportError:
from collections.abc import MutableMapping, Sequence # noqa |
That code isn't present on any recent version of this library. |
When running tests with
pytest
, I noticed some deprecation warnings popping up. It appears that starting in Python 3.8 we will start to see some issues.The text was updated successfully, but these errors were encountered: