Control: tag -1 + confirmed

The package fails to build with Django 1.7:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/«PKGBUILDDIR»'
set -e ; \
python /«PKGBUILDDIR»/rest_framework/runtests/runtests.py
System check identified some issues:

WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
        HINT: Django 1.6 introduced a new default test runner. It looks like 
this project was generated using Django 1.5 or earlier. You sho
uld ensure your tests are all running & behaving as expected. See 
https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for mo
re information.
[...]
............................................................................................................................................
............EEF.............................................................................................................................
...............sssssssssssss................................................................................................................
............................................................................................................................................
.......................................................................
======================================================================
ERROR: test_get_caching (rest_framework.tests.test_renderers.CacheRenderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/«PKGBUILDDIR»/rest_framework/runtests/../../rest_framework/tests/test_renderers.py",
 line 662, in test_get_caching
    cache.set(self.cache_key, resp)
  File "/usr/lib/python2.7/dist-packages/django/core/cache/backends/locmem.py", 
line 67, in set
    pickled = pickle.dumps(value, pickle.HIGHEST_PROTOCOL)
PicklingError: Can't pickle <type 'function'>: attribute lookup 
__builtin__.function failed

======================================================================
ERROR: test_head_caching (rest_framework.tests.test_renderers.CacheRenderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/«PKGBUILDDIR»/rest_framework/runtests/../../rest_framework/tests/test_renderers.py",
 line 652, in test_head_caching
    cache.set(self.cache_key, resp)
  File "/usr/lib/python2.7/dist-packages/django/core/cache/backends/locmem.py", 
line 67, in set
    pickled = pickle.dumps(value, pickle.HIGHEST_PROTOCOL)
PicklingError: Can't pickle <type 'function'>: attribute lookup 
__builtin__.function failed

======================================================================
FAIL: test_obj_pickling (rest_framework.tests.test_renderers.CacheRenderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/«PKGBUILDDIR»/rest_framework/runtests/../../rest_framework/tests/test_renderers.py",
 line 640, in test_obj_pickling
    self.assertEqual(self._get_pickling_errors(resp), {})
AssertionError: {'_closable_objects': None} != {}
- {'_closable_objects': None}
+ {}

----------------------------------------------------------------------
Ran 631 tests in 1.440s

FAILED (failures=1, errors=2, skipped=13)

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Discover the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to