Your message dated Sun, 11 Aug 2013 06:33:00 +0000
with message-id <e1v8pd2-0004wh...@franck.debian.org>
and subject line Bug#689498: fixed in epsilon 0.6.0+r2713-1
has caused the Debian Bug report #689498,
regarding epsilon: tests fail with Twisted 2.12.0
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.)
--
689498: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689498
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: epsilon
Version: 0.6.0-3
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch quantal
When built with Twisted 2.12.0, epsilon fails its tests as follows:
[ERROR]
Traceback (most recent call last):
File
"/«PKGBUILDDIR»/debian/python-epsilon/usr/lib/python2.7/site-packages/epsilon/test/test_sslverify.py",
line 206, in afterLost
log.flushErrors(SSL.Error)
exceptions.AttributeError: 'module' object has no attribute 'flushErrors'
epsilon.test.test_sslverify.OpenSSLOptions.testFailedCertificateVerification
===============================================================================
[ERROR]
Traceback (most recent call last):
File
"/«PKGBUILDDIR»/debian/python-epsilon/usr/lib/python2.7/site-packages/epsilon/test/test_sslverify.py",
line 184, in afterLost
log.flushErrors(SSL.Error)
exceptions.AttributeError: 'module' object has no attribute 'flushErrors'
epsilon.test.test_sslverify.OpenSSLOptions.testRefusedAnonymousClientConnection
twisted.python.log.flushErrors has been deprecated since Twisted 2.5.0
(http://twistedmatrix.com/trac/changeset/18352), which introduced the
replacement twisted.trial.unittest.TestCase.flushLoggedErrors. Twisted
12.2.0 removed this old deprecated method
(http://twistedmatrix.com/trac/changeset/34813). The following patch
converts to the newer method.
* Stop using log.flushErrors, which was deprecated in Twisted 2.5.0 and
removed in Twisted 12.2.0. Use TestCase.flushLoggedErrors instead.
diff -u epsilon-0.6.0/debian/control epsilon-0.6.0/debian/control
--- epsilon-0.6.0/debian/control
+++ epsilon-0.6.0/debian/control
@@ -4,7 +4,7 @@
Maintainer: Debian Python Modules Team
<python-modules-t...@lists.alioth.debian.org>
Uploaders: Stefano Zacchiroli <z...@debian.org>, Tristan Seligmann
<mithra...@mithrandi.net>, Vincent Bernat <ber...@debian.org>
Build-Depends: debhelper (>= 5), cdbs (>= 0.4.43), python, python-support (>=
0.4), quilt
-Build-Depends-Indep: python-twisted-core, python-openssl, python-nevow,
python-zopeinterface
+Build-Depends-Indep: python-twisted-core (>= 2.5.0), python-openssl,
python-nevow, python-zopeinterface
Standards-Version: 3.8.4
Vcs-Svn: svn://svn.debian.org/python-modules/packages/epsilon/trunk/
Vcs-Browser:
http://svn.debian.org/viewsvn/python-modules/packages/epsilon/trunk/
diff -u epsilon-0.6.0/debian/patches/series epsilon-0.6.0/debian/patches/series
--- epsilon-0.6.0/debian/patches/series
+++ epsilon-0.6.0/debian/patches/series
@@ -4,0 +5 @@
+twisted-2.5.diff
only in patch2:
unchanged:
--- epsilon-0.6.0.orig/debian/patches/twisted-2.5.diff
+++ epsilon-0.6.0/debian/patches/twisted-2.5.diff
@@ -0,0 +1,58 @@
+Index: b/epsilon/test/test_setuphelper.py
+===================================================================
+--- a/epsilon/test/test_setuphelper.py
++++ b/epsilon/test/test_setuphelper.py
+@@ -2,7 +2,6 @@
+ import sys
+
+ from twisted.trial import unittest
+-from twisted.python import log
+ from twisted.python.reflect import namedAny
+ from epsilon.setuphelper import _regeneratePluginCache
+
+@@ -35,11 +34,10 @@
+ for mod in self.removedModules:
+ self.failIf(mod.__name__ in sys.modules, 'Started with %r loaded:
%r' % (mod.__name__, sys.path))
+ _regeneratePluginCache(['axiom', 'xmantissa'])
+- log.flushErrors(ImportError) # This is necessary since there are Axiom
+- # plugins that depend on Mantissa, so
when
+- # Axiom is installed, Mantissa-dependent
+- # powerups are, but Mantissa isn't some
+- # harmless tracebacks are printed.
++ # This is necessary since there are Axiom plugins that depend on
++ # Mantissa, so when Axiom is installed, Mantissa-dependent powerups
++ # are, but Mantissa isn't and some harmless tracebacks are printed.
++ self.flushLoggedErrors(ImportError)
+ for mod in self.removedModules:
+ self.failIf(mod.__name__ in sys.modules, 'Loaded %r: %r' %
(mod.__name__, sys.path))
+
+Index: b/epsilon/test/test_sslverify.py
+===================================================================
+--- a/epsilon/test/test_sslverify.py
++++ b/epsilon/test/test_sslverify.py
+@@ -8,7 +8,6 @@
+
+ from twisted.trial import unittest, util
+ from twisted.internet import protocol, defer, reactor
+-from twisted.python import log
+
+
+ counter = itertools.count().next
+@@ -181,7 +180,7 @@
+ # errors. Twisted 2.1 will do the wrong thing. We're flushing
+ # errors until the buildbot is updated to a reasonable facsimilie
+ # of 2.2.
+- log.flushErrors(SSL.Error)
++ self.flushLoggedErrors(SSL.Error)
+
+ return d.addCallback(afterLost)
+
+@@ -203,7 +202,7 @@
+ # errors. Twisted 2.1 will do the wrong thing. We're flushing
+ # errors until the buildbot is updated to a reasonable facsimilie
+ # of 2.2.
+- log.flushErrors(SSL.Error)
++ self.flushLoggedErrors(SSL.Error)
+
+ return d.addCallback(afterLost)
+
Thanks,
--
Colin Watson [cjwat...@ubuntu.com]
--- End Message ---
--- Begin Message ---
Source: epsilon
Source-Version: 0.6.0+r2713-1
We believe that the bug you reported is fixed in the latest version of
epsilon, 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 689...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Tristan Seligmann <mithra...@debian.org> (supplier of updated epsilon 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: Sun, 11 Aug 2013 08:19:14 +0200
Source: epsilon
Binary: python-epsilon
Architecture: source all
Version: 0.6.0+r2713-1
Distribution: experimental
Urgency: low
Maintainer: Debian Python Modules Team
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Tristan Seligmann <mithra...@debian.org>
Description:
python-epsilon - utility Python modules commonly used by Divmod.org project
Closes: 689498
Changes:
epsilon (0.6.0+r2713-1) experimental; urgency=low
.
[ Stefano Zacchiroli ]
* removing myself from Uploaders
.
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
.
[ Tristan Seligmann ]
* Package bzr snapshot for upload to experimental.
- Replace use of log.flushErrors which was removed. (Closes: #689498)
* Update my email address.
* Drop dont-use-setupclass.diff as epsilon.sslverify has now been removed
upstream.
* Bump Standards-Version.
* Switch build system from cdbs to dh/pybuild.
* Switch source format to 3.0 (quilt).
* Fix watch file.
* Update Homepage.
Checksums-Sha1:
290d330673478596d4aabd092e247b7bb6747099 2157 epsilon_0.6.0+r2713-1.dsc
9f7ee5a2c0aa26aa9b588576b881130b19b54ff7 85981 epsilon_0.6.0+r2713.orig.tar.gz
0c4510a66df98249ea7c2bee9f78629bf343f040 4868
epsilon_0.6.0+r2713-1.debian.tar.gz
6f722b2fb14c3ac7ea331899347cabfbc7a0cd5e 74718
python-epsilon_0.6.0+r2713-1_all.deb
Checksums-Sha256:
b9b27c092c1b29e651cfa45ac44986691714692d6c67c4317e2fc51b23431ef0 2157
epsilon_0.6.0+r2713-1.dsc
e4649819088842ef8af264538b3db37a042103a545bd68dcd8ea5fdd23efb9e1 85981
epsilon_0.6.0+r2713.orig.tar.gz
2f5a9ea749b884b83a5089aedb63158612c76b276d7dde9ff646afadcefb8adb 4868
epsilon_0.6.0+r2713-1.debian.tar.gz
e748e4035c33addaf73d77bf093afd9ba9ea82b0704ff73a126f01c3e08d00b6 74718
python-epsilon_0.6.0+r2713-1_all.deb
Files:
b986119cbdceada3a4ba3c8eebea1196 2157 python optional epsilon_0.6.0+r2713-1.dsc
de429b3efa126459f1a4dfdd040f9177 85981 python optional
epsilon_0.6.0+r2713.orig.tar.gz
b0bb6cea7473e0692cbabf5440a7b919 4868 python optional
epsilon_0.6.0+r2713-1.debian.tar.gz
33daa4b12322a5cb36ece4c3487271b2 74718 python optional
python-epsilon_0.6.0+r2713-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
iQIcBAEBCgAGBQJSBy07AAoJEFjA+xzeO3YAHBEP/RwhVofRSVrKYXhZgDzk5c48
tzNikIR/flxqGtkLTy0PhQwWHfOc/bK6bJtWvMS8ANOMQnHfnBrdSxwC/QpPno1L
qPtu+XPeHkywkA7a69nutQciU1JHD5Gc9LjIuuZQ/eQzyx85tL9HYvDxSf++zTBp
fqry3hZCGtwvU2cOgdpO/WayTXO8yeJMD316kGJk0eVpYm0oCCKKgxAVT9z3L6+3
BfhOL/uXBUjjt0U2U9IFJG/mQ1TrCuNWOQWBjyURcskac/WW5vzIiGK5/49oJwvm
f0zZUwiLP/umFuta5jYacOnzG3Ff0yEOMzl2Sz4fcYR5jH0uKHjsjHxfApRDRjAS
SIaFmw13m8/ssiVfJRNKYIpmeSrpBUXCKFOfrb11RBuEp7HyV33iuz4eTARriNRD
bD3LXMxqRQo1SJyxVbWCkXgYT3NkfeBPZVHyDIQbQt14aFE2ALMeJOVD3uOXjLVQ
7za9MfZ0TQ0fIU572f7lfI07FE91TMYjWixyaouYHLwWRy/41HG5v41BomqlUIJR
24wqgkxSd6Uk2fqjxsh4qxVDlXCmRWVCb4qSugm46CnYt6BXFUAnFVL44cjoCw3f
2m4UdD1QICRQ6ZcqQJzkDoOMY+I2/8zbFSNgU9NO5xhTHllwDoMCpHk7Bn9K73zP
KHjdxjTrl95cMzug7eG6
=Q/jr
-----END PGP SIGNATURE-----
--- End Message ---