[Python-modules-team] Bug#865588: djangorestframework FTBFS with Django 1.11: ERROR collecting tests/test_fields.py

Adrian Bunk bunk at debian.org
Thu Jun 22 23:29:48 UTC 2017


Source: djangorestframework
Version: 3.4.0-2
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/djangorestframework.html

...
dh_auto_test
dh_auto_test: Compatibility levels before 9 are deprecated (level 8 in use)
I: pybuild base:184: python2.7 /build/1st/djangorestframework-3.4.0/runtests.py --nolint
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.0.6, py-1.4.34, pluggy-0.4.0
rootdir: /build/1st/djangorestframework-3.4.0, inifile: tox.ini
plugins: django-2.9.1
collected 599 items / 1 errors

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_fields.py _____________________
tests/test_fields.py:992: in <module>
    class TestDateTimeField(FieldValues):
tests/test_fields.py:997: in TestDateTimeField
    '2001-01-01 13:00': datetime.datetime(2001, 1, 1, 13, 00, tzinfo=timezone.UTC()),
E   AttributeError: 'module' object has no attribute 'UTC'
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 2.06 seconds ============================
E: pybuild pybuild:283: test: plugin custom failed with: exit code=2: python2.7 /build/1st/djangorestframework-3.4.0/runtests.py --nolint
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned exit code 13
debian/rules:19: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25



More information about the Python-modules-team mailing list