python3-traitlets: upgrade 5.0.5 -> 5.1.0

Traitlets 5.1 brings a couple of updates and changes to traitlets, and is
recommended for all users. What follow is a non-exhaustive list of changes:

 - Removal of the ``ipython_genutils`` dependency, this should remove any direct
   and indirect reliance on ``nose`` and prepare traitlets 5.1 for Python 3.10
   and above compatibility, some test suite changes also accommodate Python 3.10 changes.
   If you package traitlets downstream, make sure to remove this dependency.

 - Removal of ``ipython_genutils`` may have change the default encoding detected
   for the command line argument parsing when not utf-8. We expect this to
   affect a small portion of older windows version. If you encounter issue let
   us know.

 - Stop recommendation of ``CUnicode`` in some circumstances as it's
   deprecated.

 - Our test suite is now using GitHub action instead of travis CI. If you are
   packaging downstream using the git repository, you may have to exclude the
   ``.github`` folder now, and can remove exclusion of

 - It fixes a parsing issue for list of one single element on the CLI.

 - We reserve the right to remove official support for Python 3.7 in subsequent
   minor revisions.

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
zangrc
2021-09-06 16:41:32 +08:00
committed by Khem Raj
parent e62d3b7694
commit 549ff5368e

View File

@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.md;md5=eec4de4d599518742e54e75954e33b46"
PYPI_PACKAGE = "traitlets"
SRC_URI[md5sum] = "2ffe54aee5d0d87890127dd28ce3f6c4"
SRC_URI[sha256sum] = "178f4ce988f69189f7e523337a3e11d91c786ded9360174a3d9ca83e79bc5396"
SRC_URI[sha256sum] = "bd382d7ea181fbbcce157c133db9a829ce06edffe097bcf3ab945b435452b46d"
RDEPENDS:${PN} = "\
${PYTHON_PN}-ipython-genutils \