Your message dated Tue, 11 Sep 2018 13:49:39 +0000
with message-id <[email protected]>
and subject line Bug#898732: fixed in python-cliff 2.13.0-1
has caused the Debian Bug report #898732,
regarding python-cliff: Updates from Ubuntu package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
898732: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898732
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-cliff
Version: 2.11.0-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu cosmic ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/control, d/compat: Set debhelper>=10.
  * d/control: Enable autopkgtest-pkg-python tests.
  * d/control: Drop (Build-)Depends on python3-unicodecsv as its only
    needed for Python 2 (LP: #1736717).
  * d/p/align-parsed-call-with-cmd2-versions-0.7.3.patch: Cherry-picked
    from https://review.openstack.org/#/c/548626/ to fix AttributeError
    exception with use of cmd2 parsed() method (LP: #1751822).


Thanks for considering the patch.


-- System Information:
Debian Release: buster/sid
  APT prefers cosmic
  APT policy: (500, 'cosmic'), (500, 'bionic-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-20-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru python-cliff-2.11.0/debian/compat python-cliff-2.11.0/debian/compat
--- python-cliff-2.11.0/debian/compat   2018-03-03 11:52:29.000000000 -0500
+++ python-cliff-2.11.0/debian/compat   2018-05-15 10:01:20.000000000 -0400
@@ -1 +1 @@
-9
+10
diff -Nru python-cliff-2.11.0/debian/control python-cliff-2.11.0/debian/control
--- python-cliff-2.11.0/debian/control  2018-03-03 11:52:29.000000000 -0500
+++ python-cliff-2.11.0/debian/control  2018-05-15 10:01:20.000000000 -0400
@@ -6,7 +6,7 @@
  Jan Dittberner <[email protected]>,
  Thomas Goirand <[email protected]>,
 Build-Depends:
- debhelper (>= 9),
+ debhelper (>= 10),
  dh-python,
  openstack-pkg-tools,
  python-all,
@@ -42,12 +42,12 @@
  python3-stevedore (>= 1.20.0),
  python3-testscenarios,
  python3-testtools (>= 2.2.0),
- python3-unicodecsv,
  python3-yaml,
 Standards-Version: 4.1.3
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-cliff
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-cliff.git
 Homepage: https://github.com/dreamhost/cliff
+Testsuite: autopkgtest-pkg-python
 
 Package: python-cliff
 Architecture: all
@@ -103,7 +103,6 @@
  python3-pyparsing,
  python3-six,
  python3-stevedore (>= 1.20.0),
- python3-unicodecsv,
  ${misc:Depends},
  ${python3:Depends},
 Recommends:
diff -Nru 
python-cliff-2.11.0/debian/patches/align-parsed-call-with-cmd2-versions-0.7.3.patch
 
python-cliff-2.11.0/debian/patches/align-parsed-call-with-cmd2-versions-0.7.3.patch
--- 
python-cliff-2.11.0/debian/patches/align-parsed-call-with-cmd2-versions-0.7.3.patch
 1969-12-31 19:00:00.000000000 -0500
+++ 
python-cliff-2.11.0/debian/patches/align-parsed-call-with-cmd2-versions-0.7.3.patch
 2018-05-15 10:01:20.000000000 -0400
@@ -0,0 +1,35 @@
+From a63cfc3aa9cbd5ade625317b1fb2d5c75b9a8b82 Mon Sep 17 00:00:00 2001
+From: Corey Bryant <[email protected]>
+Date: Wed, 28 Feb 2018 10:49:24 -0500
+Subject: [PATCH] Align parsed() call with cmd2 versions >= 0.7.3
+
+In version 0.7.3, cmd2 moved the parsed method from class Cmd()
+to class ParserManager().
+
+Change-Id: Ie0c057ffaeaa05c4f5e0f3599aab850245c55066
+Closes-Bug: #1751822
+---
+ cliff/interactive.py | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/cliff/interactive.py b/cliff/interactive.py
+index 74b5f54..9aaba97 100644
+--- a/cliff/interactive.py
++++ b/cliff/interactive.py
+@@ -111,7 +111,12 @@ class InteractiveApp(cmd2.Cmd):
+             # Dispatch to the underlying help command,
+             # which knows how to provide help for extension
+             # commands.
+-            self.default(self.parsed('help ' + arg))
++            try:
++                # NOTE(coreycb): This try path can be removed once
++                # global-requirements has cmd2 >= 0.7.3.
++                self.default(self.parsed('help ' + arg))
++            except AttributeError:
++                self.default(self.parser_manager.parsed('help ' + arg))
+         else:
+             cmd2.Cmd.do_help(self, arg)
+             cmd_names = sorted([n for n, v in self.command_manager])
+-- 
+2.15.1
+
diff -Nru python-cliff-2.11.0/debian/patches/series 
python-cliff-2.11.0/debian/patches/series
--- python-cliff-2.11.0/debian/patches/series   1969-12-31 19:00:00.000000000 
-0500
+++ python-cliff-2.11.0/debian/patches/series   2018-05-15 10:01:20.000000000 
-0400
@@ -0,0 +1 @@
+align-parsed-call-with-cmd2-versions-0.7.3.patch

--- End Message ---
--- Begin Message ---
Source: python-cliff
Source-Version: 2.13.0-1

We believe that the bug you reported is fixed in the latest version of
python-cliff, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-cliff package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 11 Sep 2018 15:13:50 +0200
Source: python-cliff
Binary: python-cliff python-cliff-doc python3-cliff
Architecture: source all
Version: 2.13.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
 python-cliff - command line interface formulation framework - Python 2.x
 python-cliff-doc - command line interface formulation framework documentation
 python3-cliff - command line interface formulation framework - Python 3.x
Closes: 898732
Changes:
 python-cliff (2.13.0-1) unstable; urgency=medium
 .
   [ Ondřej Nový ]
   * d/control: Use [email protected] as maintainer
 .
   [ Thomas Goirand ]
   * New upstream release.
   * Fixed (build-)depends for this release.
   * Apply Ubuntu patch (Closes: #898732):
     - d/control, d/compat: Set debhelper>=10.
     - d/control: Enable autopkgtest-pkg-python tests.
     - d/control: Drop (Build-)Depends on python3-unicodecsv as its only
     needed for Python 2 (LP: #1736717).
Checksums-Sha1:
 a30827ba7548ad1308347d024d74671a28bff057 2869 python-cliff_2.13.0-1.dsc
 cb24359beb48961e764413db4a61c1127dbbaa43 56540 python-cliff_2.13.0.orig.tar.xz
 125a189c9c3faf5a699dcf8941ea865f7045b53b 4240 
python-cliff_2.13.0-1.debian.tar.xz
 c06c6170ca7075168915b5e1dcadb4045d33a184 945180 
python-cliff-doc_2.13.0-1_all.deb
 d94c486dc447078722e5ca7dbed1cd7a5dd48ecc 41512 python-cliff_2.13.0-1_all.deb
 9ebc28e0d17e8ecf2f06d45be51ae566fd15bdd3 10312 
python-cliff_2.13.0-1_amd64.buildinfo
 e0848461f57857aca2ec45376b5449e91d1d0190 41604 python3-cliff_2.13.0-1_all.deb
Checksums-Sha256:
 4350edfc184053c9891b6461fa36b45a916d55b1f2b11944956e56fb51d94ed0 2869 
python-cliff_2.13.0-1.dsc
 8ae89346a5703c4a2b39dddff8d08f36dd0307600e40a9cea6a78ddd31a84b05 56540 
python-cliff_2.13.0.orig.tar.xz
 741effdcb04aa51cf749a468c0c6f8e1d7b1fd2f3a85cc6ead8f005205651c8b 4240 
python-cliff_2.13.0-1.debian.tar.xz
 dda8ae149b6b74ee655e8d01cf52287b042272a3fb9c1593a50e96a750c9ff8e 945180 
python-cliff-doc_2.13.0-1_all.deb
 af074554801dcdc55bfcddb4413e378ab39c596e6cb91cd5bf6e994056b9a9d9 41512 
python-cliff_2.13.0-1_all.deb
 0fdbeb47d57cef5509a31091fca6742746eeb99ec5adfe11085816f90a93c31c 10312 
python-cliff_2.13.0-1_amd64.buildinfo
 97ed4fe4c1a369fa4a97fec8969abe7bc4be6f7626ac7c1ceb16f23df7fe488c 41604 
python3-cliff_2.13.0-1_all.deb
Files:
 a74556b17cb6499f322a3b128fc1b5da 2869 python optional python-cliff_2.13.0-1.dsc
 644be0ff3a4de5ca718e602d3d5c1355 56540 python optional 
python-cliff_2.13.0.orig.tar.xz
 a2a1edd2142e6de347b9f47fadc70ffa 4240 python optional 
python-cliff_2.13.0-1.debian.tar.xz
 1998902266345186b92b92c442931725 945180 doc optional 
python-cliff-doc_2.13.0-1_all.deb
 5910fe459c833c6e39678a4730f0e419 41512 python optional 
python-cliff_2.13.0-1_all.deb
 cbf38d54f1faa84a5e972b7a24d93c38 10312 python optional 
python-cliff_2.13.0-1_amd64.buildinfo
 8dc750547fa43a826d3382930ef04d71 41604 python optional 
python3-cliff_2.13.0-1_all.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAluXwgkACgkQq1PlA1ho
d6befRAAn/Bb3gqbekq5TTvG+Q0vXX5n8eu07dGREV7mplCsiaUYTLYSLfqdKQCk
kr6+y5yE3qNASS3pP+F9BldJXb+JhoXEbpg93LUebR2V0Vf82Qkytv+GrD3XRf4c
oPZ6RNC2BMCCapvx8Qurct5Ho6KKJMe/YGXUB1m/pHY7a6Sv45GWCWj/P/kAnj/E
PMYvl/LvWIZDLvFMcIUsG6Ft8FrIeTKdOWLODKpRmtwnQynTxHs5ZVqf7X+JvEKP
ic0e1eOM5a445N0NrhRHboW4Dyf5DvVrKMBwQ2vxWBwNxt7o7X9hUR/5+UvvYYAN
vjNxGQHHT9ccqNEsNWxK29e5lOsP4F3+HJQNIYG9hwzWVIwaV/RC0+LsHGnvCZiG
R4i/YRIFsB2wlG1cWuN4lh9fpSmtSLaqWDc5ROU69NsuvbhDiFMr8VHC37S7hPO8
jGNiwxRYnZTl2UcH+GlwtqPuukhF449lOoAyBLXwuADweqznsVbOHsxPLEPw79dv
R0ZcO08FlcQKyQT1zhkyufrI/tu7Ay2QrHi39gC/aPRNLsvO7QvimQq5g4fGEx6a
K00hfsMi39SKReCk0VmHMkwg6sV4hDnLKlfT5eMXgqmf90TfSyBgwyB49Zp+VcUg
yD9vafFxypFRWRJx5GO3T2j3nMmvYJsoWAPOLO939UHG0W1mNnk=
=SuK1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to