Serverless-application-model: jsonschema~=2.6 dependency causes DeprecationWarning under Python 3.7

Created on 15 May 2019  Â·  4Comments  Â·  Source: aws/serverless-application-model

The jsonschema~=2.6 dependency causes a DeprecationWarning under Python 3.7:

  …/lib/python3.7/site-packages/jsonschema/compat.py:6: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import MutableMapping, Sequence  # noqa

This was fixed in jsonschema 3.0.0. Can you please bump your jsonschema dependency to allow (or require) 3.0? (See also.)

Most helpful comment

@moseb We have a new SAM release coming soon!

All 4 comments

Yes! We can totally do that, thank you for bringing this up!

Any chance to get a new release?

I see 9 other issues waiting for a release at https://github.com/awslabs/serverless-application-model/labels/stage%2Fwaiting-for-release as well.

@moseb We have a new SAM release coming soon!

Related: a01fae53e1ab3140b2b6ee146c3ee57b14d5b1f0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

feinstein picture feinstein  Â·  3Comments

voigt picture voigt  Â·  3Comments

patrickli picture patrickli  Â·  4Comments

kwcrook picture kwcrook  Â·  3Comments

MaxVynohradov picture MaxVynohradov  Â·  3Comments