Skip to content
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

DeprecationWarning in python 3.7 with pytest #367

Closed
voidpp opened this issue Nov 26, 2018 · 6 comments
Closed

DeprecationWarning in python 3.7 with pytest #367

voidpp opened this issue Nov 26, 2018 · 6 comments

Comments

@voidpp
Copy link

voidpp commented Nov 26, 2018

pytest shows this warning message after I run a test which is contains a voluptuous.Schema instance

voluptuous version: 0.11.5

/Users/voidpp/.virtualenvs/configpp-371/lib/python3.7/site-packages/voluptuous/schema_builder.py:283
  /Users/voidpp/.virtualenvs/configpp-371/lib/python3.7/site-packages/voluptuous/schema_builder.py:283: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    if isinstance(schema, collections.Mapping):

-- Docs: https://docs.pytest.org/en/latest/warnings.html
svisser added a commit to svisser/voluptuous that referenced this issue Dec 14, 2018
@svisser
Copy link
Collaborator

svisser commented Dec 15, 2018

@voidpp thanks for reporting this DeprecationWarning!

There's now a fix for this on the master branch so I'm closing this issue: e6ef8af.

@svisser svisser closed this as completed Dec 15, 2018
@SethMMorton
Copy link

Is there any timeline on getting a new voluptuous release to PyPI that includes this patch?

@spacemanspiff2007
Copy link

Yea - that would be really nice!

@svisser
Copy link
Collaborator

svisser commented Jul 10, 2019

I personally can't create a new release but I have created a pull request with the latest changes (#398) to get us closer to a new release.

@spacemanspiff2007
Copy link

Thank you very much @svisser !

@alecthomas
Copy link
Owner

0.11.7 released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants