Your message dated Sat, 05 Aug 2017 11:19:08 +0000
with message-id <e1ddx6q-000hbo...@fasolo.debian.org>
and subject line Bug#870586: fixed in behave 1.2.5-2
has caused the Debian Bug report #870586,
regarding behave: FTBFS with Python 3.6 (ValueError: cannot use LOCALE flag 
with a str pattern)
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 ow...@bugs.debian.org
immediately.)


-- 
870586: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870586
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: behave
Version: 1.2.5-1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch

Dear Maintainer,

Currently, behave fails to build from source in unstable due to the
tests failing with Python 3.6.

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

  * debian/patches/0002-Python-3.6-compatibility.patch: Apply patch from
    upstream to provide compatibility with Python 3.6 and fix FTBFS.

Thanks for considering the patch.

Logan Rosen

-- System Information:
Debian Release: stretch/sid
  APT prefers zesty-updates
  APT policy: (500, 'zesty-updates'), (500, 'zesty-security'), (500, 'zesty'), 
(100, 'zesty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.10.0-28-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru behave-1.2.5/debian/patches/0002-Python-3.6-compatibility.patch 
behave-1.2.5/debian/patches/0002-Python-3.6-compatibility.patch
--- behave-1.2.5/debian/patches/0002-Python-3.6-compatibility.patch     
1969-12-31 16:00:00.000000000 -0800
+++ behave-1.2.5/debian/patches/0002-Python-3.6-compatibility.patch     
2017-08-02 21:50:23.000000000 -0700
@@ -0,0 +1,23 @@
+From f52cc2f59df8e21a5caf21b268bbd9ca6fa3e1e1 Mon Sep 17 00:00:00 2001
+From: jenisys <jeni...@users.noreply.github.com>
+Date: Sat, 1 Oct 2016 12:42:11 +0200
+Subject: [PATCH] PREPARE for Python 3.6: re.LOCALE was removed
+
+---
+ behave/configuration.py | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+--- a/behave/configuration.py
++++ b/behave/configuration.py
+@@ -661,8 +661,10 @@
+         :param names: List of name parts or regular expressions (as text).
+         :return: Compiled regular expression to use.
+         """
++        # -- NOTE: re.LOCALE is removed in Python 3.6 (deprecated in Python 
3.5)
++        # flags = (re.UNICODE | re.LOCALE)
+         pattern = u"|".join(names)
+-        return re.compile(pattern, flags=(re.UNICODE | re.LOCALE))
++        return re.compile(pattern, flags=re.UNICODE)
+ 
+     def exclude(self, filename):
+         if isinstance(filename, FileLocation):
diff -Nru behave-1.2.5/debian/patches/series behave-1.2.5/debian/patches/series
--- behave-1.2.5/debian/patches/series  2017-06-12 22:01:28.000000000 -0700
+++ behave-1.2.5/debian/patches/series  2017-08-02 21:50:17.000000000 -0700
@@ -1 +1,2 @@
 0001-docs-disable-use-of-sphincontrib.cheeseshop.patch
+0002-Python-3.6-compatibility.patch

--- End Message ---
--- Begin Message ---
Source: behave
Source-Version: 1.2.5-2

We believe that the bug you reported is fixed in the latest version of
behave, 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 870...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Bernat <ber...@debian.org> (supplier of updated behave 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 05 Aug 2017 12:40:02 +0200
Source: behave
Binary: python-behave python3-behave python-behave-doc
Architecture: source all
Version: 1.2.5-2
Distribution: unstable
Urgency: medium
Maintainer: Vincent Bernat <ber...@debian.org>
Changed-By: Vincent Bernat <ber...@debian.org>
Description:
 python-behave - behaviour-driven development for Python 2
 python-behave-doc - behaviour-driven development, documentation
 python3-behave - behaviour-driven development for Python 3
Closes: 870586
Changes:
 behave (1.2.5-2) unstable; urgency=medium
 .
   * debian/patches/0002-Python-3.6-compatibility.patch: Apply patch from
     upstream to provide compatibility with Python 3.6 and fix
     FTBFS. Thanks to Logan Rosen for the patch. Closes: #870586.
Checksums-Sha1:
 33c0da3e3f06d8041dc175c0c01c2c75bb913996 2363 behave_1.2.5-2.dsc
 20e502df677b6cb07800c9b68ae3c93192a5d2bb 4428 behave_1.2.5-2.debian.tar.xz
 82ea12f32768cc28f93d46da22f31d687ceba937 8261 behave_1.2.5-2_amd64.buildinfo
 6fd95c045b644619e16fc27448e900ac757676a6 180988 
python-behave-doc_1.2.5-2_all.deb
 6d5c7c6f50d7a646b424daf0ba2b287932b888fa 84688 python-behave_1.2.5-2_all.deb
 bf6f4fdba170071ef14032a9e5ed848ca2c146bd 84706 python3-behave_1.2.5-2_all.deb
Checksums-Sha256:
 849cffa3f3fa75fb3814f36843c342e01290e433df1b3ef6e380d33e7d5d78b2 2363 
behave_1.2.5-2.dsc
 075a24ddb4dc2a85462efda73215995dc415e7324472d6dd88c324b29ecbb482 4428 
behave_1.2.5-2.debian.tar.xz
 f2c85ad43b72a38b516862b4e603e2d5dfa8223da8ce3e8367cd23b9cb979b82 8261 
behave_1.2.5-2_amd64.buildinfo
 4074725c53f425099ba11fd468b134d32617875cb1999bd945aaa608427cccb4 180988 
python-behave-doc_1.2.5-2_all.deb
 d2e3ccdd0dc2541deaad6096f3e5d17cd55abd5d128eb9d748e80575ef289629 84688 
python-behave_1.2.5-2_all.deb
 2d2b01af2c26247dec0079ba3d3cdd92c57ec8a32810712c939569252e7418f6 84706 
python3-behave_1.2.5-2_all.deb
Files:
 690cac9b2f19a86d9f896a6a0aa58220 2363 python optional behave_1.2.5-2.dsc
 6b64b53e0d67c8aa3062e24e94eebf7f 4428 python optional 
behave_1.2.5-2.debian.tar.xz
 88485d1f769c8aad8b87c6374c306462 8261 python optional 
behave_1.2.5-2_amd64.buildinfo
 7c87fdc55b84b43db00f302daadd658b 180988 doc extra 
python-behave-doc_1.2.5-2_all.deb
 a5f83330ee4dd2ac4732d81e3a5cd305 84688 python optional 
python-behave_1.2.5-2_all.deb
 4753bbc566a1cd973508f8fdc349529e 84706 python optional 
python3-behave_1.2.5-2_all.deb

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

iQJEBAEBCAAuFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAlmFpzgQHGJlcm5hdEBs
dWZmeS5jeAAKCRCVpC/oNTUl+fUSD/4o4YxEtBfl1pyZnr9+RLeHDsfQLMMYrXPN
DyC2toUe7NXJvFbpmRdmODI+6sScgGfUBrWqnBy3VbcYVObpQyUNBrubZfTMQXAZ
SMbgfAtHN3RjeTsCSus++DWWmaX0Yy+UhCvoQDc/Hvg9pJsIKNbPMFDmzy67LFnY
EtnaKuv5/oV8mBvWnO75yk5T/6oJg3FzT8N6am8AZYuaYSf7ayHokWrn34JvC+7P
RGBIDZcKu2Bdsau4OW2LITkdidDB8SAtMkV99UiEmHZGY9TJ7exuPr/aJ+8gVM1t
h3IOamOZLqskv2mKOBagaYnjY2qT7sSSI8RIVRU6CDgJCWym1k3tuLLHfXQhvlYh
cTv4CpRGTUZEM/dkKZ63TUuGh4Dz4NarkxVaGiqkSdJiy8igrgklIyHHrkxPsCDp
RClOWv0vZ7vRYiY1ZQhPOme4Wcm6o24kUvr+6yaJ46650fpszkHBjGDxeceUrKQZ
0Awsg7NQlNpZd5pFcs/Z6grvBHqombquO9wkedzuUs/Tv0iCcKLUHrche+Sj7SJC
oaZzqG2wTvzcIK+WbMoC9OkJ0bfbCdtPwNtwocjg0AHmU4IRAkWsO4RsC5rxG45n
FuXxI3rSaPt/AS8xy2RTUMFhLLwYj+gIC1JDu6fZ4SLOdG586/ceJuwGd1hgXgvY
P3edjIlVyw==
=CWtC
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to