diff options
| author | Yulong (Kevin) Liu <Yulong.Liu@windriver.com> | 2022-06-15 12:41:27 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-17 17:57:44 +0100 |
| commit | fb733514623bfb3df274feb043cc677868b55219 (patch) | |
| tree | 5e458ea952a83a9858c07b7e08cc54990c64a17c /meta/recipes-devtools/python/python-pyasn1.inc | |
| parent | 01aaeb444f17a34a53a29dbdc3d8640b3ffdbf93 (diff) | |
| download | poky-fb733514623bfb3df274feb043cc677868b55219.tar.gz | |
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
(From OE-Core rev: ac674d95820137306e7c71f4275d92cf4fedf39d)
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>
Diffstat (limited to 'meta/recipes-devtools/python/python-pyasn1.inc')
| -rw-r--r-- | meta/recipes-devtools/python/python-pyasn1.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-pyasn1.inc b/meta/recipes-devtools/python/python-pyasn1.inc index 6cbed0fcd5..1b941630e7 100644 --- a/meta/recipes-devtools/python/python-pyasn1.inc +++ b/meta/recipes-devtools/python/python-pyasn1.inc | |||
| @@ -19,6 +19,7 @@ inherit ptest | |||
| 19 | 19 | ||
| 20 | SRC_URI += " \ | 20 | SRC_URI += " \ |
| 21 | file://run-ptest \ | 21 | file://run-ptest \ |
| 22 | file://0001-Fix-DeprecationWarning-__int__-returned-non-int-on-P.patch \ | ||
| 22 | " | 23 | " |
| 23 | 24 | ||
| 24 | RDEPENDS:${PN}-ptest += " \ | 25 | RDEPENDS:${PN}-ptest += " \ |
