Your message dated Mon, 16 Oct 2017 12:11:01 +0000
with message-id <e1e44ex-0003cu...@fasolo.debian.org>
and subject line Bug#862805: fixed in protobuf 3.0.0-9.1
has caused the Debian Bug report #862805,
regarding protobuf: tests fail with Python 3.6
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.)


-- 
862805: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862805
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: protobuf
Version: 2.6.1-1.3
Severity: minor
Tags: patch
User: debian-pyt...@lists.debian.org
Usertags: python3.6

Dear Maintainer,

I don't think upstream really supports Python 3.6 yet, but it's a supported
version in Ubuntu now so I had to patch it :-). Attaching the patch in case
it's useful when Debian gets to Python 3.6.

Cheers,
mwh

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

Kernel: Linux 4.4.0-75-generic (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru protobuf-3.0.0/debian/changelog protobuf-3.0.0/debian/changelog
--- protobuf-3.0.0/debian/changelog	2017-05-12 12:10:07.000000000 +1200
+++ protobuf-3.0.0/debian/changelog	2017-05-15 11:43:03.000000000 +1200
@@ -1,3 +1,9 @@
+protobuf (3.0.0-9ubuntu4) artful; urgency=medium
+
+  * Fix build with Python 3.6. 
+
+ -- Michael Hudson-Doyle <michael.hud...@ubuntu.com>  Mon, 15 May 2017 11:42:39 +1200
+
 protobuf (3.0.0-9ubuntu3) artful; urgency=medium
 
   * No change rebuild to add Python 3.6 support.
diff -Nru protobuf-3.0.0/debian/patches/python36.patch protobuf-3.0.0/debian/patches/python36.patch
--- protobuf-3.0.0/debian/patches/python36.patch	1970-01-01 12:00:00.000000000 +1200
+++ protobuf-3.0.0/debian/patches/python36.patch	2017-05-15 11:40:44.000000000 +1200
@@ -0,0 +1,29 @@
+Description: Fix two tests with Python 3.6
+Author: Michael Hudson-Doyle <michael.hud...@ubuntu.com>
+Origin: vendor
+Bug: https://github.com/google/protobuf/issues/3037
+Last-Update: 2017-05-12
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/python/google/protobuf/internal/json_format_test.py
++++ b/python/google/protobuf/internal/json_format_test.py
+@@ -753,7 +753,7 @@
+     text = '{"value": "0000-01-01T00:00:00Z"}'
+     self.assertRaisesRegexp(
+         json_format.ParseError,
+-        'Failed to parse value field: year is out of range.',
++        'Failed to parse value field: year (0 )?is out of range.',
+         json_format.Parse, text, message)
+     # Time bigger than maxinum time.
+     message.value.seconds = 253402300800
+--- a/python/google/protobuf/internal/well_known_types_test.py
++++ b/python/google/protobuf/internal/well_known_types_test.py
+@@ -284,7 +284,7 @@
+         '1972-01-01T01:00:00.01+08',)
+     self.assertRaisesRegexp(
+         ValueError,
+-        'year is out of range',
++        'year (0 )?is out of range',
+         message.FromJsonString,
+         '0000-01-01T00:00:00Z')
+     message.seconds = 253402300800
diff -Nru protobuf-3.0.0/debian/patches/series protobuf-3.0.0/debian/patches/series
--- protobuf-3.0.0/debian/patches/series	2017-03-16 23:10:45.000000000 +1300
+++ protobuf-3.0.0/debian/patches/series	2017-05-12 15:40:22.000000000 +1200
@@ -7,3 +7,4 @@
 sparc64.patch
 python3_long_fix.patch
 Hide-unnecessary-exported-library-symbols.patch
+python36.patch

--- End Message ---
--- Begin Message ---
Source: protobuf
Source-Version: 3.0.0-9.1

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

Debian distribution maintenance software
pp.
Mattia Rizzolo <mat...@debian.org> (supplier of updated protobuf 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: SHA512

Format: 1.8
Date: Mon, 16 Oct 2017 13:34:16 +0200
Source: protobuf
Binary: libprotobuf10 libprotobuf-lite10 libprotobuf-dev libprotoc10 
libprotoc-dev protobuf-compiler python-protobuf python3-protobuf 
libprotobuf-java
Architecture: source
Version: 3.0.0-9.1
Distribution: unstable
Urgency: medium
Maintainer: Debian protobuf maintainers 
<pkg-protobuf-de...@lists.alioth.debian.org>
Changed-By: Mattia Rizzolo <mat...@debian.org>
Description:
 libprotobuf-dev - protocol buffers C++ library (development files)
 libprotobuf-java - Java bindings for protocol buffers
 libprotobuf-lite10 - protocol buffers C++ library (lite version)
 libprotobuf10 - protocol buffers C++ library
 libprotoc-dev - protocol buffers compiler library (development files)
 libprotoc10 - protocol buffers compiler library
 protobuf-compiler - compiler for protocol buffer definition files
 python-protobuf - Python bindings for protocol buffers
 python3-protobuf - Python 3 bindings for protocol buffers
Closes: 846343 862805
Changes:
 protobuf (3.0.0-9.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Mattia Rizzolo ]
   * Apply patch from Ubuntu to fix tests with Python 3.6.  Closes: #862805
   * Add missing Build-Depends on python-six.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS:
     + Remove unneeded versioned Build-Depends on g++ (satisfied in oldstable).
     + Remove unused Build-Depends on python-google-apputils.
     + Build-Depend on python(3)-all-dev instead of python(3)-all +
       libpython(3)-all-dev.
     + Run generate_descriptor_proto.sh on a native build before performing
       the actual cross build.
     + Save the native protoc in debian/native_protoc/ and pass it to the
       cross build via --with-protoc.
     + Set up environment variables for cross building python extensions.
     + Fix the loops used for the python(3) builds install and tests, to
       actually build for all python versions and tests them all.
     + Closes: #846343
Checksums-Sha1:
 46bbd938681edd591c5e3c338415975b02dd74c8 2988 protobuf_3.0.0-9.1.dsc
 7a8a33f56c0036f2c7471ca6a12ed4b5286d9226 23940 protobuf_3.0.0-9.1.debian.tar.xz
 c7073d22ad0d51d95e099f7ba9ac772c803e81b1 16650 
protobuf_3.0.0-9.1_amd64.buildinfo
Checksums-Sha256:
 f12b02cfd3c5c84e162887141468061712d7d58092b08da8a84a1f8e5629fb2b 2988 
protobuf_3.0.0-9.1.dsc
 fc1d223036f2ef305e130adb5ed6c6731d24657f4fcfefe3956328b3b3e53d66 23940 
protobuf_3.0.0-9.1.debian.tar.xz
 e00d3e8e6541fcac9d1fb43e2ad989b0d246e58ed1ba762b23e8790bcd12d110 16650 
protobuf_3.0.0-9.1_amd64.buildinfo
Files:
 94ad457b4ec6c5aba4ee824edd4f7b18 2988 devel optional protobuf_3.0.0-9.1.dsc
 2c6b8e699624de0b461f9e8762a7e684 23940 devel optional 
protobuf_3.0.0-9.1.debian.tar.xz
 e5a8b7998eedbb4469ce69cced0ac1f3 16650 devel optional 
protobuf_3.0.0-9.1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlnkmrYACgkQCBa54Yx2
K61Nyg/+N0q6iGcD0/RPD3y9Tl30Ow8Cg501MLZMm+luODPuHAy3Irvi0a7D9eDT
/+xy7A7CZ1D6tzw/66o4qX6EmrEYj/TrtySPNsJ77oRpEtPYYG76iBbfyWdYtPkj
Q2sPNcCogmTbGufqvY/RqVJfuh2PMt1xsghv6yPZGvX8McRQiXqCV6c+PWLHlicN
3c69NHwil7NTvg23wc9Z6F5j7OHPVF8hujudBDo9xfmpYV9887+YiNlHorUFK0y4
lcvoqkYWtVd3AprFuIa/7FUKiSM5Ojktc9dTmoUzi60HO0A0JJul3aC438M41fcM
lC/ZYHNfZk3LJmNcwDU2TqSPVe58bOuQCs4pT08SJnryCjjwM5FhQsaeAiFGjFRV
oJxINSAt6+C5VZv8aVw/yGPk5fNYAAMVh9nMNLLW6eygZ7CCLBJBX4k29O1tdKQf
NRHCyzvVhyOaGJXKPbj2ezlrbMWQmnG/lLNS16bDGoHCXt8ihFUwd3G8V3QfvU2b
s9Tw1pke1IlZWk4YfT6biaIoW6a0sKxrfHAnBHJ1OgxDNcmwoMwSGEYm2bcGYbp4
aGdvUS60W/MOmaYQR0RtZhjAdBXQ41hyUV+NLECQ7h1uSCVm/YCIYzcrZ8u6n8dF
JyX1sQaMr+xG/glzpxZbIxO8p1aHU3s0iQYesBb3cpbj56kXW7s=
=bLZ/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to