Your message dated Tue, 15 May 2018 09:33:06 +0000
with message-id <[email protected]>
and subject line Bug#898656: fixed in python-stestr 1.1.0-2
has caused the Debian Bug report #898656,
regarding python-stestr updates from ubuntu
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.)


-- 
898656: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898656
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-stestr
Version: 1.1.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/rules: Continue to run tests as we did in the past.
  - d/p/argparse-empty-array.patch: Deal with [] instead of 'None'
    when list is called with no additional parameters.


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-stestr-1.1.0/debian/patches/argparse-empty-array.patch 
python-stestr-1.1.0/debian/patches/argparse-empty-array.patch
--- python-stestr-1.1.0/debian/patches/argparse-empty-array.patch       
1969-12-31 19:00:00.000000000 -0500
+++ python-stestr-1.1.0/debian/patches/argparse-empty-array.patch       
2018-05-14 13:52:24.000000000 -0400
@@ -0,0 +1,18 @@
+Description: Deal with [] instead of 'None'
+ argparse returns an empty array for any unknown arguments; detect
+ this situation and default filters to None in this instance as
+ already performed in the 'run' cli module.
+Author: James Page <[email protected]>
+Forwarded: https://github.com/mtreinish/stestr/pull/129
+
+--- a/stestr/commands/list.py
++++ b/stestr/commands/list.py
+@@ -48,7 +48,7 @@ def set_cli_opts(parser):
+ 
+ def run(arguments):
+     args = arguments[0]
+-    filters = arguments[1]
++    filters = arguments[1] or None
+     return list_command(config=args.config, repo_type=args.repo_type,
+                         repo_url=args.repo_url, group_regex=args.group_regex,
+                         test_path=args.test_path, top_dir=args.top_dir,
diff -Nru python-stestr-1.1.0/debian/patches/series 
python-stestr-1.1.0/debian/patches/series
--- python-stestr-1.1.0/debian/patches/series   2018-03-03 13:24:52.000000000 
-0500
+++ python-stestr-1.1.0/debian/patches/series   2018-05-14 13:52:24.000000000 
-0400
@@ -1 +1,2 @@
 remove-privacy-breach-in-README.rst.patch
+argparse-empty-array.patch
diff -Nru python-stestr-1.1.0/debian/rules python-stestr-1.1.0/debian/rules
--- python-stestr-1.1.0/debian/rules    2018-03-03 13:24:52.000000000 -0500
+++ python-stestr-1.1.0/debian/rules    2018-05-14 13:52:24.000000000 -0400
@@ -7,27 +7,25 @@
        dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
 
 export PATH:=$(PATH):$(CURDIR)/debian/bin
+export HOME:=/tmp
 
 override_dh_auto_install:
        pkgos-dh_auto_install
 
-ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
-       cp debian/bin/pythonX-stestr debian/bin/stestr ;
-       sed -i s/z/2.7/ debian/bin/stestr ;
-       
PYTHONPATH=$(CURDIR)/debian/python-stestr/usr/lib/python2.7/dist-packages 
PYTHON=python2.7 stestr init ;
-       HOME=$(CURDIR) 
PYTHONPATH=$(CURDIR)/debian/python-stestr/usr/lib/python2.7/dist-packages 
PYTHON=python2.7 stestr run --subunit 
'stestr\.tests\.(?!(.*repository\.test_file\.TestFileRepository\.test_get_test_run_unexpected_ioerror_errno.*))'
 | subunit2pyunit ;
-       set -x ; set -e ; for i in $(PYTHON3S); do \
-               cp debian/bin/pythonX-stestr debian/bin/stestr ; \
-               sed -i s/z/$$i/ debian/bin/stestr ; \
-               
PYTHONPATH=$(CURDIR)/debian/python3-stestr/usr/lib/python3/dist-packages 
PYTHON=python$$i stestr init ; \
-               HOME=$(CURDIR) 
PYTHONPATH=$(CURDIR)/debian/python3-stestr/usr/lib/python3/dist-packages 
PYTHON=python$$i stestr run --subunit 
'stestr\.tests\.(?!(.*repository\.test_file\.TestFileRepository\.test_get_test_run_unexpected_ioerror_errno.*))'
 | subunit2pyunit ; \
-       done
-endif
-
 override_dh_python3:
        dh_python3 --shebang=/usr/bin/python3
 
 override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+       set -x ; set -e ; for pyvers in $(PYTHONS) $(PYTHON3S); do \
+               PYMAJOR=`echo $$pyvers | cut -d'.' -f1` ; \
+               echo "===> Testing with python$$pyvers (python$$PYMAJOR)" ; \
+               cp debian/bin/pythonX-stestr debian/bin/stestr ; \
+               sed -i s/z/$$pyvers/ debian/bin/stestr ; \
+               PYTHONPATH=$(CURDIR) PYTHON=python$$pyvers python$$pyvers -m 
stestr.cli init ; \
+               PYTHONPATH=$(CURDIR) PYTHON=python$$pyvers python$$pyvers -m 
stestr.cli run --subunit | subunit2pyunit ; \
+       done
+endif
 
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))

--- End Message ---
--- Begin Message ---
Source: python-stestr
Source-Version: 1.1.0-2

We believe that the bug you reported is fixed in the latest version of
python-stestr, 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-stestr 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, 15 May 2018 10:37:29 +0200
Source: python-stestr
Binary: python-stestr python-stestr-doc python3-stestr
Architecture: source all
Version: 1.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: PKG OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
 python-stestr - test runner similar to testrepository - Python 2.7
 python-stestr-doc - test runner similar to testrepository - doc
 python3-stestr - test runner similar to testrepository - Python 3.x
Closes: 898656
Changes:
 python-stestr (1.1.0-2) unstable; urgency=medium
 .
   * Apply patch from Ubuntu (Closes: #898656):
     - d/p/argparse-empty-array.patch: Deal with [] instead of 'None'
     when list is called with no additional parameters.
Checksums-Sha1:
 384801411d5dace914ced8c3b8a4aded479e4907 2618 python-stestr_1.1.0-2.dsc
 c7b76a5f11c966b86bb1285746c2ff2dceeeb4cc 4272 
python-stestr_1.1.0-2.debian.tar.xz
 525bea0a90845a1fa7b88ec2eaaeb7a56329d566 37628 
python-stestr-doc_1.1.0-2_all.deb
 a63e63a3c2337c867ced209bd8e8f6ceaa50be91 44552 python-stestr_1.1.0-2_all.deb
 d1341b9fcf3264938aeefce1b5f8773d9afae6fa 12827 
python-stestr_1.1.0-2_amd64.buildinfo
 e7ce24ef9452834f9e6bf5579e6b13f192ed57da 44616 python3-stestr_1.1.0-2_all.deb
Checksums-Sha256:
 7cea544e9ec980960f16728dd12f2ff5feaf7244161a331b22d61b6e106a6e11 2618 
python-stestr_1.1.0-2.dsc
 ec21483fe5f92dd8df755c3b2371a352470191fefe4aa599914b1972bac9a37d 4272 
python-stestr_1.1.0-2.debian.tar.xz
 e11f9ba004d7247beb9288df8b5f1ce4f51d9e127bc5d2351579d24e0ee9fe4a 37628 
python-stestr-doc_1.1.0-2_all.deb
 a313bd71040a32eb6f42fa07b80cafaaf8c385b41af02f209d02a1e4f3e76249 44552 
python-stestr_1.1.0-2_all.deb
 f7a39e0bf1a60fca44fcc8b32662708f19e8b1063fce6320a4d7dd57c259c9f8 12827 
python-stestr_1.1.0-2_amd64.buildinfo
 863d4cfc7202295764fce424cf8f6f6f000084ff2fdbdbd28bdd4694fb5bcfa9 44616 
python3-stestr_1.1.0-2_all.deb
Files:
 6ff7da987281562e10ba507a00f9a1d0 2618 python optional python-stestr_1.1.0-2.dsc
 c443b5ddb07df01781b3ad9949298b93 4272 python optional 
python-stestr_1.1.0-2.debian.tar.xz
 9a727dc47654667f2f6ddf60ab7aad6b 37628 doc optional 
python-stestr-doc_1.1.0-2_all.deb
 c14201b15525f32381413b8e24b9b70b 44552 python optional 
python-stestr_1.1.0-2_all.deb
 19812ad439919487908b4c46cf1d327a 12827 python optional 
python-stestr_1.1.0-2_amd64.buildinfo
 9aab277336045764d15708c55bf89aa2 44616 python optional 
python3-stestr_1.1.0-2_all.deb

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

iQIzBAEBCAAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAlr6nioACgkQq1PlA1ho
d6YVUQ/9GF1pV1ljvO27jybHvOeEQOwm2YFuO5CEU0ELYML81gupcBxyFnzFX3qc
qzaSsKHyPydlBwVm2uHa9pjd8E4JdokStKMXEMdFDx7TzN8FOX11vz/0gr7G5yik
Jk98WrUurZZ2hzhyV2eZnvscWBw9XU6nq+iLHha02psvMUj7f472MOrRroabQN6l
KUATp958crWeYX/I7mUQwgnVV0eYgm/Xxvt0G2xNP09liX16ioPJmRGGDprhG7j5
ZCL15+ERloAiBqEqo/ol7H5jdW1X50sQVc8dogPiW7/bKreCJFNXV978JxG25ltN
Bd+WQoQ35915Gp8XNmoYPTbanv1MYwgPA+4NOJdJkijC4s9P8DtTgXVpX6OPgjGl
cCwwmeYknePBHjYFORWYIEKBZjQByfse9++ySbJ9egW3DGcSNAhOKe0QL/HOIh84
Yrah5W7PhuxMgXhcbTfcDBc4YjnLuvmFC7GH9uNmBRgUrll0ypuR7uAaEnDEZEpm
ullze1oCoTKmDlEmXGUz3mdcHMXwjfq9ROKOnp0DCCRef/bcFaDWoRy+Gvv+pvjp
EMcw/YXFzlAbUnqXznb1Zglu4xCVG6WEFeQZHKYTBUqClE0WAQckV4m5dPRuGG9O
VOPo/sPx6lOXYu+Ilmdvuf6OTeTxj7Jw78Mkphd6sSK717FC2CU=
=KzEN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to