]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe: Fix collections ABCs DeprecationWarning in Python 3.7+
authorKhem Raj <raj.khem@gmail.com>
Wed, 8 Aug 2018 22:49:13 +0000 (15:49 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Aug 2018 22:00:02 +0000 (23:00 +0100)
commite763151e1f7cfe9ea56de06f41769f8a3d74d219
tree7698db87ea75b987c623e7edd4b9625388bae037
parent0474326d79b7675dabe63f691733e8c6b24b2fb0
lib/oe: Fix collections ABCs DeprecationWarning in Python 3.7+

- Prefer collections.abc (new in Python 3.3) over collections for abstract base classes

- In Python 3.8, the abstract base classes in collections.abc will no longer be exposed in
  the regular collections module. This will help create a clearer distinction between
  the concrete classes and the abstract base classes."

- https://docs.python.org/3.7/whatsnew/3.7.html#deprecated

- see https://github.com/python/cpython/commit/c66f9f8d3909f588c251957d499599a1680e2320

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/maketype.py