Your message dated Sun, 28 Aug 2016 13:13:35 +0200
with message-id <[email protected]>
and subject line Re: python-argh: diff for NMU version 0.26.1-1.2
has caused the Debian Bug report #834173,
regarding python-argh: diff for NMU version 0.26.1-1.2
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.)
--
834173: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834173
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-argh
Version: 0.26.1-1.1
Severity: normal
Tags: patch pending
Dear maintainer,
I've prepared an NMU for python-argh (versioned as 0.26.1-1.2) and
submitted an RFS for it to be uploaded to DELAYED/10. Please feel free
to tell me if I should delay it longer.
Regards.
--
Sean Whitton
diff -Nru python-argh-0.26.1/debian/changelog python-argh-0.26.1/debian/changelog
--- python-argh-0.26.1/debian/changelog 2016-08-11 11:58:52.000000000 -0700
+++ python-argh-0.26.1/debian/changelog 2016-08-12 10:58:57.000000000 -0700
@@ -1,3 +1,14 @@
+python-argh (0.26.1-1.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Drop parts of 0001-fix-unit-tests.patch touching test_interaction.py.
+ * Fix the Unicode encoding test by setting LC_ALL in d/rules.
+ This fix is more general as the LANG var can be overridden by LC_*
+ vars (see locale(7)). Thanks to Jakub Wilk for pointing this out and
+ suggesting the improved fix.
+
+ -- Sean Whitton <[email protected]> Fri, 12 Aug 2016 10:58:57 -0700
+
python-argh (0.26.1-1.1) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru python-argh-0.26.1/debian/patches/0001-fix-unit-tests.patch python-argh-0.26.1/debian/patches/0001-fix-unit-tests.patch
--- python-argh-0.26.1/debian/patches/0001-fix-unit-tests.patch 2016-08-11 11:54:21.000000000 -0700
+++ python-argh-0.26.1/debian/patches/0001-fix-unit-tests.patch 2016-08-12 10:51:30.000000000 -0700
@@ -1,12 +1,11 @@
From: Marco Nenciarini <[email protected]>
Date: Mon, 16 Feb 2015 20:22:58 +0100
Subject: fix unit tests
-Last-Update: 2016-08-11
+Last-Update: 2016-08-12
---
test/test_integration.py | 3 ++-
- test/test_interaction.py | 5 +++++
- 2 files changed, 7 insertions(+), 1 deletion(-)
+ 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/test_integration.py b/test/test_integration.py
index 7229a0a..e027d8e 100644
@@ -26,28 +25,3 @@
kwargs={'skip_unknown_args': True}) == \
- R(out='usage: py.test [-h] [-f FOO]\n\n', err='')
+ R(out='usage: %s [-h] [-f FOO]\n\n' % os.path.basename(sys.argv[0]), err='')
-diff --git a/test/test_interaction.py b/test/test_interaction.py
-index 568cf75..e3b5b1d 100644
---- a/test/test_interaction.py
-+++ b/test/test_interaction.py
-@@ -3,8 +3,10 @@
- Interaction Tests
- ~~~~~~~~~~~~~~~~~
- """
-+import os
- import sys
- import mock
-+import pytest
-
- import argh
-
-@@ -54,6 +56,9 @@ def test_prompt():
- assert prompts[-1] == 'do smth? (y/N)'
-
-
[email protected](sys.version_info <= (3,0)
-+ and ('LANG' not in os.environ or os.environ['LANG'] == 'C'),
-+ reason='It fails on buildd')
- def test_encoding():
- "Unicode is accepted as prompt message"
- raw_input_mock = mock.MagicMock()
diff -Nru python-argh-0.26.1/debian/rules python-argh-0.26.1/debian/rules
--- python-argh-0.26.1/debian/rules 2016-08-11 07:23:38.000000000 -0700
+++ python-argh-0.26.1/debian/rules 2016-08-12 10:49:32.000000000 -0700
@@ -5,5 +5,9 @@
#export DH_VERBOSE=1
export PYBUILD_NAME=argh
+# ensure the encoding test in test_interaction.py runs (see
+# https://github.com/neithere/argh/issues/85)
+export LC_ALL=C.UTF-8
+
%:
dh $@ --with python2,python3 --buildsystem=pybuild
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Version: python-argh_0.26.1-1.2
On Fri, 12 Aug 2016 11:05:01 -0700 Sean Whitton <[email protected]>
wrote:
> Package: python-argh
> Version: 0.26.1-1.1
> Severity: normal
> Tags: patch pending
>
> Dear maintainer,
>
> I've prepared an NMU for python-argh (versioned as 0.26.1-1.2) and
> submitted an RFS for it to be uploaded to DELAYED/10. Please feel free
> to tell me if I should delay it longer.
>
> Regards.
>
> --
> Sean Whitton
signature.asc
Description: OpenPGP digital signature
--- End Message ---