[Bug 537751] [FFE] [sync] Upgrade python-argparse to 1.1 (latest upstream & Debian version)
steve.langasek at canonical.com
Tue Apr 13 01:39:13 BST 2010
[Updating] argparse (1.0.1-1 [Ubuntu] < 1.1-1 [Debian])
* Trying to add argparse...
2010-04-13 00:39:09 INFO - <argparse_1.1.orig.tar.gz: downloading from http://ftp.debian.org/debian/>
2010-04-13 00:39:10 INFO - <argparse_1.1-1.dsc: downloading from http://ftp.debian.org/debian/>
2010-04-13 00:39:10 INFO - <argparse_1.1-1.diff.gz: downloading from http://ftp.debian.org/debian/>
I: argparse [universe] -> python-argparse_1.0.1-1 [universe].
I: argparse [universe] -> python-argparse-doc_1.0.1-1 [universe].
** Changed in: argparse (Ubuntu)
Status: Confirmed => Fix Released
[FFE] [sync] Upgrade python-argparse to 1.1 (latest upstream & Debian version)
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in “argparse” package in Ubuntu: Fix Released
argparse 1.1 provides a number of fixes and a few small enhancements to version 1.0.1 which is currently available in universe. Version 1.1 is the latest released upstream. Note that I've also submitted a MIR for argparse (bug 537743) and a branch to update the source package to 1.1 (bug 537484). It was pointed out in the latter that Debian has already updated, so we should sync to that.
=== modified file 'NEWS.txt'
--- NEWS.txt 2009-10-12 18:04:37 +0000
+++ NEWS.txt 2010-03-11 16:59:54 +0000
@@ -1,3 +1,19 @@
+What's New in argparse 1.1
+- Issue #22: Support more customization of version arguments.
+- Issue #34: Allow better custom type error messages using ArgumentTypeError.
+- Issue #36: Get "from argparse import *" working.
+- Issue #37: Stop treating two character alphanumeric flags as numbers.
+- Issue #38: Better error messages when 'dest' occurs twice for positional arguments.
+- Issue #39: Better error messages for invalid actions.
+- Issue #43: Deprecate ArgumentParser(..., version=XXX, ...) and friends.
+- Issue #46: Allow single character options, e.g. '-' and '+'.
+- Issue #51: Better error messages for errors like type='int'.
+- Namespace objects now support "in" (i.e. __contains__).
+- Usage and help (but not version) messages are written to stdout, not stderr.
What's New in argparse 1.0.1
I've asked the upstream author for confirmation, but I do not think any of the
above changes will break existing code.
More information about the Ubuntu-sponsors