From 501ef029a76a628854b31c85aee6d3769e624ad0a4c8884138a9cda145aca642 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 11 Oct 2023 08:42:20 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=200.29.4:=20=20=20*=20Test=20co?= =?UTF-8?q?verage=20reported=20as=20<100%=20when=20argcomplete=20is=20inst?= =?UTF-8?q?alled=20=20=20*=20Technical=20releases=20for=20packaging=20purp?= =?UTF-8?q?oses.=20=20No=20changes=20in=20=20=20=20=20functionality.=20=20?= =?UTF-8?q?=20*=20Backwards=20incompatible=20changes:=20=20=20*=20Wrapped?= =?UTF-8?q?=20exceptions=20now=20cause=20``dispatching.dispatch()``=20to?= =?UTF-8?q?=20=20=20=20=20raise=20``SystemExit(1)``=20instead=20of=20retur?= =?UTF-8?q?ning=20without=20error.=20=20=20=20=20For=20most=20users,=20thi?= =?UTF-8?q?s=20means=20failed=20commands=20will=20now=20exit=20=20=20=20?= =?UTF-8?q?=20with=20a=20failure=20status=20instead=20of=20a=20success.=20?= =?UTF-8?q?=20=20*=20Renamed=20arguments=20in=20`add=5Fcommands()`=20(#165?= =?UTF-8?q?):=20=20=20=20=20*=20`namespace`=20=E2=86=92=20`group=5Fname`?= =?UTF-8?q?=20=20=20=20=20*=20`namespace=5Fkwargs`=20=E2=86=92=20`group=5F?= =?UTF-8?q?kwargs`=20=20=20*=20The=20old=20names=20are=20deprecated=20and?= =?UTF-8?q?=20will=20be=20removed=20in=20v.0.30.=20=20=20*=20Can=20control?= =?UTF-8?q?=20exit=20status=20(see=20Backwards=20Incompatible=20Changes=20?= =?UTF-8?q?=20=20=20=20above)=20when=20raising=20``CommandError``=20using?= =?UTF-8?q?=20the=20``code``=20=20=20=20=20keyword=20arg.=20=20=20*=20Bugs?= =?UTF-8?q?=20fixed:=20=20=20*=20Positional=20arguments=20should=20not=20l?= =?UTF-8?q?ead=20to=20removal=20of=20short=20=20=20=20=20form=20of=20keywo?= =?UTF-8?q?rd=20arguments.=20=20=20*=20Other=20changes:=20=20=20*=20Avoid?= =?UTF-8?q?=20depending=20on=20iocapture=20by=20using=20pytest's=20built-i?= =?UTF-8?q?n=20=20=20=20=20feature=20-=20Update=20to=20verios=200.23.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argh?expand=0&rev=32 --- argh-0.28.1.tar.gz | 3 --- argh-0.29.4.tar.gz | 3 +++ python-argh.changes | 28 +++++++++++++++++++++++++++- python-argh.spec | 2 +- 4 files changed, 31 insertions(+), 5 deletions(-) delete mode 100644 argh-0.28.1.tar.gz create mode 100644 argh-0.29.4.tar.gz diff --git a/argh-0.28.1.tar.gz b/argh-0.28.1.tar.gz deleted file mode 100644 index 477e463..0000000 --- a/argh-0.28.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b2093086f0e809a3ecc24b64a2145309ee8f56d034936cd59e57c558a357329d -size 62511 diff --git a/argh-0.29.4.tar.gz b/argh-0.29.4.tar.gz new file mode 100644 index 0000000..06553d3 --- /dev/null +++ b/argh-0.29.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:695c0ae4534270cae2697841b4a56f434a990694a00264ea10ebbbcdc02c13f7 +size 52694 diff --git a/python-argh.changes b/python-argh.changes index 54bac06..b04bb6a 100644 --- a/python-argh.changes +++ b/python-argh.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Wed Oct 11 08:41:29 UTC 2023 - Dirk Müller + +- update to 0.29.4: + * Test coverage reported as <100% when argcomplete is installed + * Technical releases for packaging purposes. No changes in + functionality. + * Backwards incompatible changes: + * Wrapped exceptions now cause ``dispatching.dispatch()`` to + raise ``SystemExit(1)`` instead of returning without error. + For most users, this means failed commands will now exit + with a failure status instead of a success. + * Renamed arguments in `add_commands()` (#165): + * `namespace` → `group_name` + * `namespace_kwargs` → `group_kwargs` + * The old names are deprecated and will be removed in v.0.30. + * Can control exit status (see Backwards Incompatible Changes + above) when raising ``CommandError`` using the ``code`` + keyword arg. + * Bugs fixed: + * Positional arguments should not lead to removal of short + form of keyword arguments. + * Other changes: + * Avoid depending on iocapture by using pytest's built-in + feature + ------------------------------------------------------------------- Fri Jun 2 07:12:44 UTC 2023 - pgajdos@suse.com @@ -130,7 +156,7 @@ Wed Sep 25 17:18:00 UTC 2013 - p.drouand@gmail.com ------------------------------------------------------------------- Thu Mar 7 20:43:50 UTC 2013 - darin@darins.net -- Update to verios 0.23.0 +- Update to verios 0.23.0 + Upstream provides no changelog ------------------------------------------------------------------- diff --git a/python-argh.spec b/python-argh.spec index 3fb83f0..7ffbb9c 100644 --- a/python-argh.spec +++ b/python-argh.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-argh -Version: 0.28.1 +Version: 0.29.4 Release: 0 Summary: An argparse wrapper License: LGPL-3.0-or-later