]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
python3-pyasn1: Eliminated ptest deprecation warnings
authorYulong (Kevin) Liu <Yulong.Liu@windriver.com>
Wed, 15 Jun 2022 19:41:27 +0000 (12:41 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Jun 2022 16:57:39 +0000 (17:57 +0100)
commitac674d95820137306e7c71f4275d92cf4fedf39d
tree752044a67d6031a0d3dacb7698722b3fe97e8ea6
parentbaa0ecf3271008cf60cd830c54a71f191aebb81c
python3-pyasn1: Eliminated ptest deprecation warnings

Eliminated the ptest deprecation warnings for the error:
    DeprecationWarning: _int_ returned non-int (type SizedInteger).
    The ability to return an instance of a strict subclass of int is deprecated,
    and may be removed in a future version of Python.
       return SizedInteger(value).setBitLength(len(value))

Patch from git upstream repo:
   https://github.com/etingof/pyasn1/commit/db8f1a7930c6b5826357646746337dafc983f953

Signed-off-by: Yulong (Kevin) Liu <yulong.liu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-pyasn1.inc
meta/recipes-devtools/python/python3-pyasn1/0001-Fix-DeprecationWarning-__int__-returned-non-int-on-P.patch [new file with mode: 0644]