From ec7fcce11dfc828173aa666078ec445ec3af9333 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Tue, 28 Sep 2021 02:18:58 +0800 Subject: [PATCH 1/4] python3-cmd2: upgrade 2.1.2 -> 2.2.0 * Bug Fixes * Fixed extra space appended to each alias by "alias list" command * Enhancements * New function `set_default_ap_completer_type()` allows developer to extend and modify the behavior of `ArgparseCompleter`. * Added `ArgumentParser.get_ap_completer_type()` and `ArgumentParser.set_ap_completer_type()`. These methods allow developers to enable custom tab completion behavior for a given parser by using a custom `ArgparseCompleter`-based class. * Added `ap_completer_type` keyword arg to `Cmd2ArgumentParser.__init__()` which saves a call to `set_ap_completer_type()`. This keyword will also work with `add_parser()` when creating subcommands if the base command's parser is a `Cmd2ArgumentParser`. * New function `register_argparse_argument_parameter()` allows developers to specify custom parameters to be passed to the argparse parser's `add_argument()` method. These parameters will become accessible in the resulting argparse Action object when modifying `ArgparseCompleter` behavior. * Using `SimpleTable` in the output for the following commands to improve appearance. * help * set (command and tab completion of Settables) * alias tab completion * macro tab completion * Tab completion of `CompletionItems` now includes divider row comprised of `Cmd.ruler` character. * Removed `--verbose` flag from set command since descriptions always show now. * All cmd2 built-in commands now populate `self.last_result`. * Argparse tab completer will complete remaining flag names if there are no more positionals to complete. * Updated `async_alert()` to account for `self.prompt` not matching Readline's current prompt. * Deletions (potentially breaking changes) * Deleted ``set_choices_provider()`` and ``set_completer()`` which were deprecated in 2.1.2 Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/{python3-cmd2_2.1.2.bb => python3-cmd2_2.2.0.bb} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-cmd2_2.1.2.bb => python3-cmd2_2.2.0.bb} (82%) diff --git a/meta-python/recipes-devtools/python/python3-cmd2_2.1.2.bb b/meta-python/recipes-devtools/python/python3-cmd2_2.2.0.bb similarity index 82% rename from meta-python/recipes-devtools/python/python3-cmd2_2.1.2.bb rename to meta-python/recipes-devtools/python/python3-cmd2_2.2.0.bb index 874e7cf0c1a..2632ce1c80b 100644 --- a/meta-python/recipes-devtools/python/python3-cmd2_2.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-cmd2_2.2.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4c527bcb481233ebcb803de975f42701" DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -SRC_URI[sha256sum] = "25dbb2e9847aaa686a8a21e84e3d101db8b79f5cb992e044fc54210ab8c0ad41" +SRC_URI[sha256sum] = "34cd12424d9e2835eff125146af3d9f4a4c2931c6bc5a3cea9790bd4f55756d9" inherit pypi setuptools3 @@ -17,6 +17,7 @@ RDEPENDS:${PN} += "\ ${PYTHON_PN}-compression \ ${PYTHON_PN}-pydoc \ ${PYTHON_PN}-json \ + ${PYTHON_PN}-numbers \ " BBCLASSEXTEND = "native nativesdk" From 61d8f2e7d659e15beac39d696731e4e18914dffa Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Tue, 28 Sep 2021 02:19:36 +0800 Subject: [PATCH 2/4] python3-huey: upgrade 2.4.0 -> 2.4.1 * Attempt to reconnect to database if connection becomes unusable (e.g. due to a server restart). See: `huey.contrib.sql_huey.SqlHuey`. * Do not use a soft file-lock for `FileStorage` - use `fcntl.flock()` instead. [View commits](https://github.com/coleifer/huey/compare/2.4.0...2.4.1) Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../{python3-huey_2.4.0.bb => python3-huey_2.4.1.bb} | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-huey_2.4.0.bb => python3-huey_2.4.1.bb} (51%) diff --git a/meta-python/recipes-devtools/python/python3-huey_2.4.0.bb b/meta-python/recipes-devtools/python/python3-huey_2.4.1.bb similarity index 51% rename from meta-python/recipes-devtools/python/python3-huey_2.4.0.bb rename to meta-python/recipes-devtools/python/python3-huey_2.4.1.bb index afdc65b2464..64bd8880ec5 100644 --- a/meta-python/recipes-devtools/python/python3-huey_2.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-huey_2.4.1.bb @@ -5,7 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5cac039fcc82f01141cc170b48f315d4" PYPI_PACKAGE = "huey" -SRC_URI[sha256sum] = "82981fb8f1964e8c9ee8f4ebcd5a2ebad561dd93ce8b454bf4f4ecfb54bd1411" +SRC_URI[sha256sum] = "bd55e90746cec16e7a61d6dc60d4591c74cba59000dca96c387a4d4eee1395f6" + +RDEPENDS:${PN} += " \ + python3-datetime \ + python3-logging \ + python3-multiprocessing \ + python3-json \ +" inherit pypi setuptools3 From df11e041b55534b0a21d99f5d1f2a00fdbb80a60 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Tue, 28 Sep 2021 02:19:23 +0800 Subject: [PATCH 3/4] python3-humanfriendly: upgrade 9.2 -> 10.0 `Release 10.0`_ (2021-09-17) ---------------------------- **Noteworthy changes:** - Merged pull request `#45`_ to resolve the issue caused by the conditional :pypi:`pyreadline` requirement on Windows not supporting Python 3.9+. - Updated the readme to use Python 3 in the example (reported in issue `#56`_). Also added a mention of the ``humanfriendly --demo`` command. - Removed the ``humanfriendly.compat.unittest`` alias that presumably no-one is using at this point; it had been rendered useless quite a long time ago (requested in issue `#53`_). **Internal changes:** - Merged pull request `#54`_ which migrates the :pypi:`humanfriendly` project from Travis CI to GitHub Actions and from Coveralls.io to Codecov. - Fixed a deprecation warning concerning ``setup.cfg`` and some Sphinx documentation errors. .. _Release 10.0: https://github.com/xolox/python-humanfriendly/compare/9.2...10.0 .. _#45: https://github.com/xolox/python-humanfriendly/pull/45 .. _#53: https://github.com/xolox/python-humanfriendly/issues/53 .. _#54: https://github.com/xolox/python-humanfriendly/pull/54 .. _#56: https://github.com/xolox/python-humanfriendly/issues/56 Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ...thon3-humanfriendly_9.2.bb => python3-humanfriendly_10.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-humanfriendly_9.2.bb => python3-humanfriendly_10.0.bb} (86%) diff --git a/meta-python/recipes-devtools/python/python3-humanfriendly_9.2.bb b/meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb similarity index 86% rename from meta-python/recipes-devtools/python/python3-humanfriendly_9.2.bb rename to meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb index d87ed4d2a2e..b1ece1ac0fb 100644 --- a/meta-python/recipes-devtools/python/python3-humanfriendly_9.2.bb +++ b/meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5d178009f806c2bdd498a19be0013a7a" PYPI_PACKAGE = "humanfriendly" -SRC_URI[sha256sum] = "f7dba53ac7935fd0b4a2fc9a29e316ddd9ea135fb3052d3d0279d10c18ff9c48" +SRC_URI[sha256sum] = "6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc" inherit pypi setuptools3 From 25e130b9ff321ff47f28b3a4c9baba731f7cdf28 Mon Sep 17 00:00:00 2001 From: Chandana kalluri Date: Mon, 27 Sep 2021 19:49:36 -0700 Subject: [PATCH 4/4] python3-humanfriendly: Add nativesdk to BBCLASSEXTEND Add nativesdk to BBCLASSEXTEND to enable recipes that produce files intended for host portion the SDK Signed-off-by: Sai Hari Chandana Kalluri Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-humanfriendly_10.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb b/meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb index b1ece1ac0fb..7d185989d98 100644 --- a/meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb +++ b/meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb @@ -21,4 +21,4 @@ RDEPENDS:${PN}:class-target += " \ ${PYTHON_PN}-stringold \ " -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk"