Your message dated Mon, 15 Sep 2014 13:34:19 +0000
with message-id <[email protected]>
and subject line Bug#761634: fixed in python-oslo.serialization 0.1.0-2
has caused the Debian Bug report #761634,
regarding python-oslo.serialization: FTBFS within built-in datetime module
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.)


-- 
761634: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761634
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-oslo.serialization
Version: 0.1.0-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu utopic ubuntu-patch

Dear Maintainer,

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

  * d/p/datetime-builtin.patch: Ensure tests understand the concept of
    a built-in datetime module, fixing FTBFS (LP: #1369460).

The tests don't currently support a built-in datetime module; I've submitted
this patch upstream as well (see patch headers).

Thanks for considering the patch.


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

Kernel: Linux 3.16.0-14-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== added file 'debian/patches/datetime-builtin.patch'
--- debian/patches/datetime-builtin.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/datetime-builtin.patch	2014-09-15 09:10:19 +0000
@@ -0,0 +1,19 @@
+Description: Deal with built-in datetime
+ Some python distributions (>= Ubuntu 14.10) return (built-in) for
+ the datetime module - support this as an acceptable result.
+Author: James Page <[email protected]>
+Forwarded: https://review.openstack.org/121476
+Bug: https://bugs.launchpad.net/oslo.serialization/+bug/1369460
+
+--- a/tests/test_jsonutils.py
++++ b/tests/test_jsonutils.py
+@@ -221,7 +221,8 @@ class ToPrimitiveTestCase(test_base.Base
+         x = [datetime, foo, dir]
+         ret = jsonutils.to_primitive(x)
+         self.assertEqual(len(ret), 3)
+-        self.assertTrue(ret[0].startswith(six.u("<module 'datetime' from ")))
++        self.assertTrue(ret[0].startswith(six.u("<module 'datetime' from ")) or
++                        ret[0].startswith(six.u("<module 'datetime' (built-in)")))
+         if six.PY3:
+             self.assertTrue(ret[1].startswith(
+                 '<function ToPrimitiveTestCase.test_nasties.<locals>.foo at 0x'

=== modified file 'debian/patches/series'
--- debian/patches/series	2014-09-05 11:16:12 +0000
+++ debian/patches/series	2014-09-15 08:58:25 +0000
@@ -1 +1,2 @@
 fix-python3.2-unicode.patch
+datetime-builtin.patch

--- End Message ---
--- Begin Message ---
Source: python-oslo.serialization
Source-Version: 0.1.0-2

We believe that the bug you reported is fixed in the latest version of
python-oslo.serialization, 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-oslo.serialization 
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: Mon, 15 Sep 2014 21:04:56 +0800
Source: python-oslo.serialization
Binary: python-oslo.serialization python3-oslo.serialization 
python-oslo.serialization-doc
Architecture: source all
Version: 0.1.0-2
Distribution: experimental
Urgency: medium
Maintainer: PKG OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
 python-oslo.serialization - utilities for serialization , especially JSON - 
Python 2.x
 python-oslo.serialization-doc - utilities for serialization , especially JSON 
- doc
 python3-oslo.serialization - utilities for serialization , especially JSON - 
Python 3.x
Closes: 761634
Changes:
 python-oslo.serialization (0.1.0-2) experimental; urgency=medium
 .
   * Added Ubuntu patch: Deal with built-in datetime. Thanks to James page for
     the bug report and patch (Closes: #761634).
Checksums-Sha1:
 ea741bce6da6ace3b5927ddad4c06faba39ffb20 2817 
python-oslo.serialization_0.1.0-2.dsc
 20c7fbca65a87ef38bfd41488a9b9484e06446ce 4260 
python-oslo.serialization_0.1.0-2.debian.tar.xz
 2d21ba555cbada1a1b86c36385afe0c5ba09d2ba 6002 
python-oslo.serialization_0.1.0-2_all.deb
 1fd5b0dee9c9257b9f81da12c82e9129435e2e39 5876 
python3-oslo.serialization_0.1.0-2_all.deb
 ff8203a0eb8f33f18981a74d0c2ed5c7c07ea5eb 27516 
python-oslo.serialization-doc_0.1.0-2_all.deb
Checksums-Sha256:
 179668b18e629e72afbc68ba95dbe5f0c9f912e13bcca7ca5eaa6ad37270fb1d 2817 
python-oslo.serialization_0.1.0-2.dsc
 32d4489f71237c95546e1279d7a340c8a8880649ec04d65016ab4c1a5bc31108 4260 
python-oslo.serialization_0.1.0-2.debian.tar.xz
 129dcc5f827a1a9ded3f181376ecb845291e2b98fc30a12f4cbc4818850b6754 6002 
python-oslo.serialization_0.1.0-2_all.deb
 39d7e44d7b16cee0d934a702dc4e5c57332da717b022fc7055cdbcee9fe2ff36 5876 
python3-oslo.serialization_0.1.0-2_all.deb
 66e0435f01167325a59c8122dfa5a4d303add30c485dfd78f1cd2b68bfeb481c 27516 
python-oslo.serialization-doc_0.1.0-2_all.deb
Files:
 549784ea5e58b38017fd1150f544c644 6002 python optional 
python-oslo.serialization_0.1.0-2_all.deb
 3bf1d05f6b75d3ee9a8d6b66e1198d08 5876 python optional 
python3-oslo.serialization_0.1.0-2_all.deb
 94be087199290e564dff73c5cf191e21 27516 doc optional 
python-oslo.serialization-doc_0.1.0-2_all.deb
 b4f5dadc32cfef130ecfe3f74e17caa6 2817 python optional 
python-oslo.serialization_0.1.0-2.dsc
 3ea065fd4e1e6cc734c58f79d879c404 4260 python optional 
python-oslo.serialization_0.1.0-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUFueLAAoJENQWrRWsa0P+UJ0P/Re/7Z4zgM0t2gYFpQ+fsCqL
d73NksLJidVdfgImHFVTfO+i4dwCJeF81+q4XKuj0Qz9RNJJwUpdoaU2eAYfNGMp
HcvzZKETT/V3FiCG4yvZpiBDs+hSybXhH0H/u6Rbu8OW3QrrRsgS1yw4/xDEkhLs
GgzhIASw3cAeeOTlL+I7Jip9omdf6W4RNIjYsUaIvUQrtS/YNTDnGXfeEyscR9ar
3Bmds5Q62Bu7Ga1I02XR8N/d2s0mpYZJ3GVOdKSECDDtyli3saPCzJ/oWfDQE0U7
4ayVBMrOgM/8U+/SKEilTT/2EmWY514rXa7AySLEBz4CPJtbJur3RKfmFEYUt7+x
LO4Ws3n5uQLDHIrP0GBI3j+Gh0CFeiZAnSPy+JjGpxf7PvMs4u4W/PMZW1risPNR
abiZxXwGaqr6Iu5w9GTSydMJd46Y3tfPrz5bJgEZ1Tf1XoM+P83sW8bj7p9JbPtq
dFOwZUD/EvmeY7kHjS2A/+1WgdLZebUxzjXkyDQw4FJgTlVPuKB7I0zExcocgyBw
zOH4yVhawBQ9ZlEsd5/JRrpNLSCgi14f2q/kXAjkWAQ3MOFd8luoF2G1PgZtXsX9
Rrn8rcoVxNCWNBDNaeBCEwrLKH0A1satgRpMQjCSFzvXV/jYQCClZKvcTO9EhOl0
wB/Vy5Hnz9OgXusyNuoY
=PdGu
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to