Source: tilecache
Version: 2.03-1.2
Severity: important
User: [email protected]
Usertags: python2.6

Hello,

When rebuilt in an environment with Python 2.6 as the default version, your package failed to build from source. Here are the relevant parts of the build log:

| python ./setup.py test
| running test
| running egg_info
| creating TileCache.egg-info
| writing TileCache.egg-info/PKG-INFO
| writing top-level names to TileCache.egg-info/top_level.txt
| writing dependency_links to TileCache.egg-info/dependency_links.txt
| writing manifest file 'TileCache.egg-info/SOURCES.txt'
| reading manifest file 'TileCache.egg-info/SOURCES.txt'
| writing manifest file 'TileCache.egg-info/SOURCES.txt'
| running build_ext
| Doctest: Service.txt ... FAIL
| Doctest: HACKING.txt ... ok
| Doctest: HACKING.swarm.txt ... 
/build/user-tilecache_2.03-1.2-amd64-JoWJD9/tilecache-2.03/TileCache/Swarm.py:4:
 DeprecationWarning: the sha module is deprecated; use the hashlib module 
instead
|   from sha import sha
| ok
|
| ======================================================================
| FAIL: Doctest: Service.txt
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.6/doctest.py", line 2145, in runTest
|     raise self.failureException(self.format_failure(new.getvalue()))
| AssertionError: Failed doctest test for Service.txt
|   File 
"/build/user-tilecache_2.03-1.2-amd64-JoWJD9/tilecache-2.03/tests/Service.txt", 
line 0
|
| ----------------------------------------------------------------------
| File 
"/build/user-tilecache_2.03-1.2-amd64-JoWJD9/tilecache-2.03/tests/Service.txt", 
line 5, in Service.txt
| Failed example:
|     dir(TileCache.Service)
| Expected:
|     ['__class__', '__delattr__', '__doc__', '__getattribute__', '__hash__', 
'__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', 
'__setattr__', '__slots__', '__str__', '_load', '_loadFromSection', 'cache', 
'config', 'dispatchRequest', 'expireTile', 'files', 'generate_crossdomain_xml', 
'layers', 'load', 'loadFromSection', 'metadata', 'renderTile', 
'tilecache_options']
| Got:
|     ['__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', 
'__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', 
'__repr__', '__setattr__', '__sizeof__', '__slots__', '__str__', 
'__subclasshook__', '_load', '_loadFromSection', 'cache', 'config', 
'dispatchRequest', 'expireTile', 'files', 'generate_crossdomain_xml', 'layers', 
'load', 'loadFromSection', 'metadata', 'renderTile', 'tilecache_options']
|
|
| ----------------------------------------------------------------------
| Ran 3 tests in 0.039s
|
| FAILED (failures=1)

If you need help with fixing this bug, don't hesitate to ask on #debian-python or [email protected].

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply via email to