Skip to contentSkip to conversation

python3-pyyaml: Upgrade 5.3.1 -> 5.4

PATCH In review Leon Anavi 2 participants 14 messages Jan 20, 2021 – Jan 25, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-pyyaml: Upgrade 5.3.1 -> 5.4

Upgrade to release 5.4:

- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA
- Fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader
- Fix memory leak in implicit resolver setup
- Fix py2 copy support for timezone objects
- Fix compatibility with Jython

License-Update: Update year

---
 .../python/{python3-pyyaml_5.3.1.bb => python3-pyyaml_5.4.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyyaml_5.3.1.bb => python3-pyyaml_5.4.bb} (62%)
meta-python/recipes-devtools/python/python3-pyyaml_5.4.bb renamed from meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb +2 -2
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb
rename to meta-python/recipes-devtools/python/python3-pyyaml_5.4.bb
index 8cf909304..e46b608f7 100644
@@ -2,13 +2,13 @@ SUMMARY = "Python support for YAML"
 DEPENDS += "libyaml ${PYTHON_PN}-cython-native"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=7bbd28caa69f81f5cd5f48647236663d"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d8242660a8371add5fe547adf083079"
 
 PYPI_PACKAGE = "PyYAML"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d"
+SRC_URI[sha256sum] = "3c49e39ac034fd64fd576d63bb4db53cda89b362768a67f07749d55f128ac18a"
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-datetime \
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/5 python3-google-api-python-client: Upgrade 1.12.5 -> 1.12.8

Upgrade to release 1.12.8:

- add httplib2 authorization to thread_safety

---
 ...nt_1.12.5.bb => python3-google-api-python-client_1.12.8.bb} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-google-api-python-client_1.12.5.bb => python3-google-api-python-client_1.12.8.bb} (69%)
meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.8.bb renamed from meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.5.bb +1 -2
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.5.bb
rename to meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.8.bb
index 87c221241..1774f962e 100644
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=94023d14f6b58272fd885e4e3f2f08b3"
 
-SRC_URI[md5sum] = "4aee3820666e80944f38c39176193d5c"
-SRC_URI[sha256sum] = "1892cd490d164e5ec2f2168dc3b4fa0af68f36ca15a88b91bca1826b3d4f2829"
+SRC_URI[sha256sum] = "f3b9684442eec2cfe9f9bb48e796ef919456b82142c7528c5fd527e5224f08bb"
 
 inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 2/5
#2 lore raw

Re: [oe] [meta-python][PATCH 2/5] python3-google-api-python-client: Upgrade 1.12.5 -> 1.12.8

Quoted 3 lines · Leon Anavi

- add httplib2 authorization to thread_safety

Quoted 24 lines
---
  ...nt_1.12.5.bb => python3-google-api-python-client_1.12.8.bb} | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-google-api-python-client_1.12.5.bb => python3-google-api-python-client_1.12.8.bb} (69%)

meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.8.bb renamed from meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.5.bb +1 -2
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.5.bb
rename to meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.8.bb
index 87c221241..1774f962e 100644
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=94023d14f6b58272fd885e4e3f2f08b3"
 
-SRC_URI[md5sum] = "4aee3820666e80944f38c39176193d5c"
-SRC_URI[sha256sum] = "1892cd490d164e5ec2f2168dc3b4fa0af68f36ca15a88b91bca1826b3d4f2829"
+SRC_URI[sha256sum] = "f3b9684442eec2cfe9f9bb48e796ef919456b82142c7528c5fd527e5224f08bb"
 
  inherit pypi setuptools3
Acked-by on v1 2/5
#3 lore raw

Re: [oe] [meta-python][PATCH 2/5] python3-google-api-python-client: Upgrade 1.12.5 -> 1.12.8

In reply to Leon Anavi
Quoted 3 lines · Leon Anavi

- add httplib2 authorization to thread_safety

Quoted 24 lines
---
  ...nt_1.12.5.bb => python3-google-api-python-client_1.12.8.bb} | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-google-api-python-client_1.12.5.bb => python3-google-api-python-client_1.12.8.bb} (69%)

meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.8.bb renamed from meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.5.bb +1 -2
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.5.bb
rename to meta-python/recipes-devtools/python/python3-google-api-python-client_1.12.8.bb
index 87c221241..1774f962e 100644
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=94023d14f6b58272fd885e4e3f2f08b3"
 
-SRC_URI[md5sum] = "4aee3820666e80944f38c39176193d5c"
-SRC_URI[sha256sum] = "1892cd490d164e5ec2f2168dc3b4fa0af68f36ca15a88b91bca1826b3d4f2829"
+SRC_URI[sha256sum] = "f3b9684442eec2cfe9f9bb48e796ef919456b82142c7528c5fd527e5224f08bb"
 
  inherit pypi setuptools3
author
#4 lore raw

PATCH 3/5 python3-evdev: Upgrade 1.3.0 -> 1.4.0

In reply to Leon Anavi

Upgrade to release 1.4.0:

- Fix InputDevice.set_absinfo to allow setting parameters to zero.
- Fix off-by-one in ioctl_EVIOCG_bits, which causes value at the end of the list to not be reported back.
- Fix set_absinfo to allow setting parameters to zero.
- Fix leak when returning BlockingIOError from a read.
- Fix "There is no current event loop in thread" error for non asyncio code.
- Prevent InputDevice destructor from blocking.
- Add missing return codes to os.strerror() calls and fix force feedback example in docs (#138).
- Add the util.find_ecodes_by_regex() helper function.

---
 .../python/{python3-evdev_1.3.0.bb => python3-evdev_1.4.0.bb}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-evdev_1.3.0.bb => python3-evdev_1.4.0.bb} (80%)
meta-python/recipes-devtools/python/python3-evdev_1.4.0.bb renamed from meta-python/recipes-devtools/python/python3-evdev_1.3.0.bb +1 -2
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-evdev_1.3.0.bb
rename to meta-python/recipes-devtools/python/python3-evdev_1.4.0.bb
index fe11049ad..e15d83b60 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/gvalkov/python-evdev"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2"
 
-SRC_URI[md5sum] = "05f9e900d6e11e1674475d2dd2668f0d"
-SRC_URI[sha256sum] = "b1c649b4fed7252711011da235782b2c260b32e004058d62473471e5cd30634d"
+SRC_URI[sha256sum] = "8782740eb1a86b187334c07feb5127d3faa0b236e113206dfe3ae8f77fb1aaf1"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 3/5
#5 lore raw

Re: [oe] [meta-python][PATCH 3/5] python3-evdev: Upgrade 1.3.0 -> 1.4.0

Quoted 12 lines · Leon Anavi

- Fix InputDevice.set_absinfo to allow setting parameters to zero.
- Fix off-by-one in ioctl_EVIOCG_bits, which causes value at the end of the list to not be reported back.
- Fix set_absinfo to allow setting parameters to zero.
- Fix leak when returning BlockingIOError from a read.
- Fix "There is no current event loop in thread" error for non asyncio code.
- Prevent InputDevice destructor from blocking.
- Add missing return codes to os.strerror() calls and fix force feedback example in docs (#138).
- Add the util.find_ecodes_by_regex() helper function.

Quoted 1 line
Quoted 25 lines
---
  .../python/{python3-evdev_1.3.0.bb => python3-evdev_1.4.0.bb}  | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-evdev_1.3.0.bb => python3-evdev_1.4.0.bb} (80%)

meta-python/recipes-devtools/python/python3-evdev_1.4.0.bb renamed from meta-python/recipes-devtools/python/python3-evdev_1.3.0.bb +1 -2
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-evdev_1.3.0.bb
rename to meta-python/recipes-devtools/python/python3-evdev_1.4.0.bb
index fe11049ad..e15d83b60 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/gvalkov/python-evdev"
  LICENSE = "BSD-3-Clause"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2"
 
-SRC_URI[md5sum] = "05f9e900d6e11e1674475d2dd2668f0d"
-SRC_URI[sha256sum] = "b1c649b4fed7252711011da235782b2c260b32e004058d62473471e5cd30634d"
+SRC_URI[sha256sum] = "8782740eb1a86b187334c07feb5127d3faa0b236e113206dfe3ae8f77fb1aaf1"
 
  inherit pypi setuptools3
 
Acked-by on v1 3/5
#6 lore raw

Re: [oe] [meta-python][PATCH 3/5] python3-evdev: Upgrade 1.3.0 -> 1.4.0

In reply to Leon Anavi
Quoted 12 lines · Leon Anavi

- Fix InputDevice.set_absinfo to allow setting parameters to zero.
- Fix off-by-one in ioctl_EVIOCG_bits, which causes value at the end of the list to not be reported back.
- Fix set_absinfo to allow setting parameters to zero.
- Fix leak when returning BlockingIOError from a read.
- Fix "There is no current event loop in thread" error for non asyncio code.
- Prevent InputDevice destructor from blocking.
- Add missing return codes to os.strerror() calls and fix force feedback example in docs (#138).
- Add the util.find_ecodes_by_regex() helper function.

Quoted 1 line
Quoted 25 lines
---
  .../python/{python3-evdev_1.3.0.bb => python3-evdev_1.4.0.bb}  | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-evdev_1.3.0.bb => python3-evdev_1.4.0.bb} (80%)

meta-python/recipes-devtools/python/python3-evdev_1.4.0.bb renamed from meta-python/recipes-devtools/python/python3-evdev_1.3.0.bb +1 -2
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-evdev_1.3.0.bb
rename to meta-python/recipes-devtools/python/python3-evdev_1.4.0.bb
index fe11049ad..e15d83b60 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/gvalkov/python-evdev"
  LICENSE = "BSD-3-Clause"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2"
 
-SRC_URI[md5sum] = "05f9e900d6e11e1674475d2dd2668f0d"
-SRC_URI[sha256sum] = "b1c649b4fed7252711011da235782b2c260b32e004058d62473471e5cd30634d"
+SRC_URI[sha256sum] = "8782740eb1a86b187334c07feb5127d3faa0b236e113206dfe3ae8f77fb1aaf1"
 
  inherit pypi setuptools3
 
author
#7 lore raw

PATCH 4/5 python3-pyusb: Upgrade 1.1.0 -> 1.1.1

In reply to Leon Anavi

Upgrade to release 1.1.1:

- Patch release that fixes a couple of bugs. Most notably it fixes compatibility with Python 3.9.
- As of PyUSB 1.1.1 changes that break under Python 2.7 and 3.5 (both of which have reached end of life) are no longer considered regressions.

License-Update: Update year

---
 .../{python3-pyusb_1.1.0.bb => python3-pyusb_1.1.1.bb}      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyusb_1.1.0.bb => python3-pyusb_1.1.1.bb} (53%)
meta-python/recipes-devtools/python/python3-pyusb_1.1.1.bb renamed from meta-python/recipes-devtools/python/python3-pyusb_1.1.0.bb +3 -3
similarity index 53%
rename from meta-python/recipes-devtools/python/python3-pyusb_1.1.0.bb
rename to meta-python/recipes-devtools/python/python3-pyusb_1.1.1.bb
index 6b48d6a25..a8c7031b6 100644
@@ -1,11 +1,11 @@
 SUMMARY = "PyUSB provides USB access on the Python language"
 HOMEPAGE = "http://pyusb.sourceforge.net/"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c52a96fd9a0cadcb9270904c8eb5416c"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e64a29fcd3c3dd356a24e235dfcb3905"
+
 DEPENDS += "libusb1 ${PYTHON_PN}-setuptools-scm-native"
 
-SRC_URI[md5sum] = "3b2e38e9f697d2f90d86376bd10a9505"
-SRC_URI[sha256sum] = "d69ed64bff0e2102da11b3f49567256867853b861178689671a163d30865c298"
+SRC_URI[sha256sum] = "7d449ad916ce58aff60b89aae0b65ac130f289c24d6a5b7b317742eccffafc38"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 4/5
#8 lore raw

Re: [oe] [meta-python][PATCH 4/5] python3-pyusb: Upgrade 1.1.0 -> 1.1.1

Quoted 9 lines · Leon Anavi

- Patch release that fixes a couple of bugs. Most notably it fixes compatibility with Python 3.9.
- As of PyUSB 1.1.1 changes that break under Python 2.7 and 3.5 (both of which have reached end of life) are no longer considered regressions.

License-Update: Update year

Quoted 30 lines
---
  .../{python3-pyusb_1.1.0.bb => python3-pyusb_1.1.1.bb}      | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pyusb_1.1.0.bb => python3-pyusb_1.1.1.bb} (53%)

meta-python/recipes-devtools/python/python3-pyusb_1.1.1.bb renamed from meta-python/recipes-devtools/python/python3-pyusb_1.1.0.bb +3 -3
similarity index 53%
rename from meta-python/recipes-devtools/python/python3-pyusb_1.1.0.bb
rename to meta-python/recipes-devtools/python/python3-pyusb_1.1.1.bb
index 6b48d6a25..a8c7031b6 100644
@@ -1,11 +1,11 @@
  SUMMARY = "PyUSB provides USB access on the Python language"
  HOMEPAGE = "http://pyusb.sourceforge.net/"
  LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c52a96fd9a0cadcb9270904c8eb5416c"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e64a29fcd3c3dd356a24e235dfcb3905"
+
  DEPENDS += "libusb1 ${PYTHON_PN}-setuptools-scm-native"
 
-SRC_URI[md5sum] = "3b2e38e9f697d2f90d86376bd10a9505"
-SRC_URI[sha256sum] = "d69ed64bff0e2102da11b3f49567256867853b861178689671a163d30865c298"
+SRC_URI[sha256sum] = "7d449ad916ce58aff60b89aae0b65ac130f289c24d6a5b7b317742eccffafc38"
 
  inherit pypi setuptools3
 
Acked-by on v1 4/5
#9 lore raw

Re: [oe] [meta-python][PATCH 4/5] python3-pyusb: Upgrade 1.1.0 -> 1.1.1

In reply to Leon Anavi
Quoted 9 lines · Leon Anavi

- Patch release that fixes a couple of bugs. Most notably it fixes compatibility with Python 3.9.
- As of PyUSB 1.1.1 changes that break under Python 2.7 and 3.5 (both of which have reached end of life) are no longer considered regressions.

License-Update: Update year

Quoted 30 lines
---
  .../{python3-pyusb_1.1.0.bb => python3-pyusb_1.1.1.bb}      | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pyusb_1.1.0.bb => python3-pyusb_1.1.1.bb} (53%)

meta-python/recipes-devtools/python/python3-pyusb_1.1.1.bb renamed from meta-python/recipes-devtools/python/python3-pyusb_1.1.0.bb +3 -3
similarity index 53%
rename from meta-python/recipes-devtools/python/python3-pyusb_1.1.0.bb
rename to meta-python/recipes-devtools/python/python3-pyusb_1.1.1.bb
index 6b48d6a25..a8c7031b6 100644
@@ -1,11 +1,11 @@
  SUMMARY = "PyUSB provides USB access on the Python language"
  HOMEPAGE = "http://pyusb.sourceforge.net/"
  LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c52a96fd9a0cadcb9270904c8eb5416c"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e64a29fcd3c3dd356a24e235dfcb3905"
+
  DEPENDS += "libusb1 ${PYTHON_PN}-setuptools-scm-native"
 
-SRC_URI[md5sum] = "3b2e38e9f697d2f90d86376bd10a9505"
-SRC_URI[sha256sum] = "d69ed64bff0e2102da11b3f49567256867853b861178689671a163d30865c298"
+SRC_URI[sha256sum] = "7d449ad916ce58aff60b89aae0b65ac130f289c24d6a5b7b317742eccffafc38"
 
  inherit pypi setuptools3
 
author
#10 lore raw

PATCH 5/5 python3-pyserial: Upgrade 3.4 -> 3.5

In reply to Leon Anavi

Upgrade to release 3.5:

- iAdd a backend for Silicon Labs CP2110/4 HID-to-UART bridge. (depends on hid module)
- Use absolute import everywhere
- win32: miniterm Working CMD.exe terminal using Windows 10 ANSI support
- Make ListPortInfo hashable
- threaded: "write" returns byte count
- Add bytesize and stopbits argument parser to tcp_serial_redirect
- loop: add out_waiting
- list_ports_linux: Correct "interface" property on Linux hosts
- Remove Python 3.2 and 3.3 from test
- doc updates
- miniterm: add CTRL+T Q as alternative to exit
- miniterm: suspend function key changed to CTRL-T Z
- add command line tool entries pyserial-miniterm (replaces miniterm.py) and pyserial-ports (runs serial.tools.list_ports).
- python -m serial opens miniterm (use w/o args and it will print port list too) [experimental]
- Don't open port if self.port is not set while entering context manager
- refactor: raise new instances for PortNotOpenError and SerialTimeoutException
- list_ports: set default name attribute
- fix: compare only of the same type in list_ports_common.ListPortInfo
- rfc2217/close(): fix race-condition
- return b'' when connection closes on rfc2217 connection
- rfc2217/close(): fix race condition
- Fixed flush_input_buffer() for situations where the remote end has closed the socket.
- reset_input_buffer() can hang on sockets
- examples: port_publisher python 3 fixes
- miniterm: Fix miniterm constructor exit_character and menu_character
- miniterm: use exclusive access for native serial ports by default
- miniterm: fix double use of CTRL-T + s use z for suspend instead
- examples: refactor wx example, use Bind to avoid deprecated warnings, IsChecked, unichr
- posix: fix PosixPollSerial with timeout=None and add cancel support
- option for low latency mode on linux
- Add support to xr-usb-serial ports
- posix: Don't catch the SerialException we just raised
- posix: Fix custom baud rate to not temporarily set 38400 baud rates on linux
- list_ports: use hardcoded path to library on osx

Following the rename of miniterm.py and the new command line tool entry, task do_install_append has been updated accordingly.

License-Update: Update year

---
 .../{python3-pyserial_3.4.bb => python3-pyserial_3.5.bb}  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyserial_3.4.bb => python3-pyserial_3.5.bb} (85%)
meta-python/recipes-devtools/python/python3-pyserial_3.5.bb renamed from meta-python/recipes-devtools/python/python3-pyserial_3.4.bb +4 -4
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-pyserial_3.4.bb
rename to meta-python/recipes-devtools/python/python3-pyserial_3.5.bb
index d65c9a88b..4be80e28c 100644
@@ -1,14 +1,14 @@
 SUMMARY = "Serial Port Support for Python"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d476d94926db6e0008a5b3860d1f5c0d"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=520e45e59fc2cf94aa53850f46b86436"
 
-SRC_URI[md5sum] = "ed6183b15519a0ae96675e9c3330c69b"
-SRC_URI[sha256sum] = "6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627"
+SRC_URI[sha256sum] = "3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb"
 
 inherit pypi setuptools3 ptest
 
 do_install_append() {
-    rm -f ${D}${bindir}/miniterm.py
+    rm -f ${D}${bindir}/pyserial-miniterm
+    rm -f ${D}${bindir}/pyserial-ports
     rmdir ${D}${bindir}
 }
 
Signature · 1 line
2.17.1
Acked-by on v1 5/5
#11 lore raw

Re: [oe] [meta-python][PATCH 5/5] python3-pyserial: Upgrade 3.4 -> 3.5

Quoted 48 lines · Leon Anavi

- iAdd a backend for Silicon Labs CP2110/4 HID-to-UART bridge. (depends on hid module)
- Use absolute import everywhere
- win32: miniterm Working CMD.exe terminal using Windows 10 ANSI support
- Make ListPortInfo hashable
- threaded: "write" returns byte count
- Add bytesize and stopbits argument parser to tcp_serial_redirect
- loop: add out_waiting
- list_ports_linux: Correct "interface" property on Linux hosts
- Remove Python 3.2 and 3.3 from test
- doc updates
- miniterm: add CTRL+T Q as alternative to exit
- miniterm: suspend function key changed to CTRL-T Z
- add command line tool entries pyserial-miniterm (replaces miniterm.py) and pyserial-ports (runs serial.tools.list_ports).
- python -m serial opens miniterm (use w/o args and it will print port list too) [experimental]
- Don't open port if self.port is not set while entering context manager
- refactor: raise new instances for PortNotOpenError and SerialTimeoutException
- list_ports: set default name attribute
- fix: compare only of the same type in list_ports_common.ListPortInfo
- rfc2217/close(): fix race-condition
- return b'' when connection closes on rfc2217 connection
- rfc2217/close(): fix race condition
- Fixed flush_input_buffer() for situations where the remote end has closed the socket.
- reset_input_buffer() can hang on sockets
- examples: port_publisher python 3 fixes
- miniterm: Fix miniterm constructor exit_character and menu_character
- miniterm: use exclusive access for native serial ports by default
- miniterm: fix double use of CTRL-T + s use z for suspend instead
- examples: refactor wx example, use Bind to avoid deprecated warnings, IsChecked, unichr
- posix: fix PosixPollSerial with timeout=None and add cancel support
- option for low latency mode on linux
- Add support to xr-usb-serial ports
- posix: Don't catch the SerialException we just raised
- posix: Fix custom baud rate to not temporarily set 38400 baud rates on linux
- list_ports: use hardcoded path to library on osx

Quoted 6 lines

Following the rename of miniterm.py and the new command line tool entry, task do_install_append has been updated accordingly.

License-Update: Update year

Quoted 34 lines
---
  .../{python3-pyserial_3.4.bb => python3-pyserial_3.5.bb}  | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pyserial_3.4.bb => python3-pyserial_3.5.bb} (85%)

meta-python/recipes-devtools/python/python3-pyserial_3.5.bb renamed from meta-python/recipes-devtools/python/python3-pyserial_3.4.bb +4 -4
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-pyserial_3.4.bb
rename to meta-python/recipes-devtools/python/python3-pyserial_3.5.bb
index d65c9a88b..4be80e28c 100644
@@ -1,14 +1,14 @@
  SUMMARY = "Serial Port Support for Python"
  LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d476d94926db6e0008a5b3860d1f5c0d"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=520e45e59fc2cf94aa53850f46b86436"
 
-SRC_URI[md5sum] = "ed6183b15519a0ae96675e9c3330c69b"
-SRC_URI[sha256sum] = "6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627"
+SRC_URI[sha256sum] = "3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb"
 
  inherit pypi setuptools3 ptest
 
  do_install_append() {
-    rm -f ${D}${bindir}/miniterm.py
+    rm -f ${D}${bindir}/pyserial-miniterm
+    rm -f ${D}${bindir}/pyserial-ports
      rmdir ${D}${bindir}
  }
 
Acked-by on v1 1/5
#12 lore raw
In reply to Leon Anavi
Quoted 11 lines · Leon Anavi

- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA
- Fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader
- Fix memory leak in implicit resolver setup
- Fix py2 copy support for timezone objects
- Fix compatibility with Jython

License-Update: Update year

Quoted 31 lines
---
  .../python/{python3-pyyaml_5.3.1.bb => python3-pyyaml_5.4.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pyyaml_5.3.1.bb => python3-pyyaml_5.4.bb} (62%)

meta-python/recipes-devtools/python/python3-pyyaml_5.4.bb renamed from meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb +2 -2
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb
rename to meta-python/recipes-devtools/python/python3-pyyaml_5.4.bb
index 8cf909304..e46b608f7 100644
@@ -2,13 +2,13 @@ SUMMARY = "Python support for YAML"
  DEPENDS += "libyaml ${PYTHON_PN}-cython-native"
 
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=7bbd28caa69f81f5cd5f48647236663d"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d8242660a8371add5fe547adf083079"
 
  PYPI_PACKAGE = "PyYAML"
 
  inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d"
+SRC_URI[sha256sum] = "3c49e39ac034fd64fd576d63bb4db53cda89b362768a67f07749d55f128ac18a"
 
  RDEPENDS_${PN} += "\
      ${PYTHON_PN}-datetime \
Acked-by on v1 1/5
#13 lore raw
In reply to Leon Anavi
Quoted 11 lines · Leon Anavi

- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA
- Fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader
- Fix memory leak in implicit resolver setup
- Fix py2 copy support for timezone objects
- Fix compatibility with Jython

License-Update: Update year

Quoted 31 lines
---
  .../python/{python3-pyyaml_5.3.1.bb => python3-pyyaml_5.4.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pyyaml_5.3.1.bb => python3-pyyaml_5.4.bb} (62%)

meta-python/recipes-devtools/python/python3-pyyaml_5.4.bb renamed from meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb +2 -2
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb
rename to meta-python/recipes-devtools/python/python3-pyyaml_5.4.bb
index 8cf909304..e46b608f7 100644
@@ -2,13 +2,13 @@ SUMMARY = "Python support for YAML"
  DEPENDS += "libyaml ${PYTHON_PN}-cython-native"
 
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=7bbd28caa69f81f5cd5f48647236663d"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d8242660a8371add5fe547adf083079"
 
  PYPI_PACKAGE = "PyYAML"
 
  inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d"
+SRC_URI[sha256sum] = "3c49e39ac034fd64fd576d63bb4db53cda89b362768a67f07749d55f128ac18a"
 
  RDEPENDS_${PN} += "\
      ${PYTHON_PN}-datetime \