Source: python-restless Version: 2.2.0-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220624 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_build > I: pybuild base:239: /usr/bin/python3.9 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/fl.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/exceptions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/resources.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/pyr.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/serializers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/tnd.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/dj.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/constants.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/data.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/preparers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > copying restless/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless > I: pybuild base:239: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/fl.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/exceptions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/resources.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/pyr.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/serializers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/tnd.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/dj.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/constants.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/data.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/preparers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > copying restless/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless > PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml docs/ > build/html > Running Sphinx v4.5.0 > making output directory... done > WARNING: html_static_path entry '_static' does not exist > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 26 source files that are out of date > updating environment: [new config] 26 added, 0 changed, 0 removed > reading sources... [ 3%] contributing > reading sources... [ 7%] cookbook > reading sources... [ 11%] extending > reading sources... [ 15%] index > reading sources... [ 19%] philosophy > reading sources... [ 23%] reference/constants > reading sources... [ 26%] reference/data > reading sources... [ 30%] reference/exceptions > reading sources... [ 34%] reference/preparers > reading sources... [ 38%] reference/resources > reading sources... [ 42%] reference/serializers > reading sources... [ 46%] reference/utils > reading sources... [ 50%] releasenotes/v1.0.0 > reading sources... [ 53%] releasenotes/v1.1.0 > reading sources... [ 57%] releasenotes/v1.2.0 > reading sources... [ 61%] releasenotes/v1.3.0 > reading sources... [ 65%] releasenotes/v1.4.0 > reading sources... [ 69%] releasenotes/v2.0.0 > reading sources... [ 73%] releasenotes/v2.0.1 > reading sources... [ 76%] releasenotes/v2.0.2 > reading sources... [ 80%] releasenotes/v2.0.3 > reading sources... [ 84%] releasenotes/v2.1.0 > reading sources... [ 88%] releasenotes/v2.1.1 > reading sources... [ 92%] releasenotes/v2.2.0 > reading sources... [ 96%] security > reading sources... [100%] tutorial > > WARNING: autodoc: failed to import module 'dj' from module 'restless'; the > following exception was raised: > cannot import name 'url' from 'django.conf.urls' > (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) > WARNING: autodoc: failed to import module 'it' from module 'restless'; the > following exception was raised: > No module named 'restless.it' > /<<PKGBUILDDIR>>/docs/releasenotes/v2.0.0.rst:64: WARNING: Inline literal > start-string without end-string. > /<<PKGBUILDDIR>>/docs/releasenotes/v2.1.1.rst:8: WARNING: Title underline too > short. > > Bug Fixes > ------- > /<<PKGBUILDDIR>>/docs/tutorial.rst:66: ERROR: Unknown target name: "tornado". > looking for now-outdated files... none found > pickling environment... done > checking consistency... /<<PKGBUILDDIR>>/docs/releasenotes/v2.1.0.rst: > WARNING: document isn't included in any toctree > /<<PKGBUILDDIR>>/docs/releasenotes/v2.1.1.rst: WARNING: document isn't > included in any toctree > /<<PKGBUILDDIR>>/docs/releasenotes/v2.2.0.rst: WARNING: document isn't > included in any toctree > done > preparing documents... done > writing output... [ 3%] contributing > writing output... [ 7%] cookbook > writing output... [ 11%] extending > writing output... [ 15%] index > writing output... [ 19%] philosophy > writing output... [ 23%] reference/constants > writing output... [ 26%] reference/data > writing output... [ 30%] reference/exceptions > writing output... [ 34%] reference/preparers > writing output... [ 38%] reference/resources > writing output... [ 42%] reference/serializers > writing output... [ 46%] reference/utils > writing output... [ 50%] releasenotes/v1.0.0 > writing output... [ 53%] releasenotes/v1.1.0 > writing output... [ 57%] releasenotes/v1.2.0 > writing output... [ 61%] releasenotes/v1.3.0 > writing output... [ 65%] releasenotes/v1.4.0 > writing output... [ 69%] releasenotes/v2.0.0 > writing output... [ 73%] releasenotes/v2.0.1 > writing output... [ 76%] releasenotes/v2.0.2 > writing output... [ 80%] releasenotes/v2.0.3 > writing output... [ 84%] releasenotes/v2.1.0 > writing output... [ 88%] releasenotes/v2.1.1 > writing output... [ 92%] releasenotes/v2.2.0 > writing output... [ 96%] security > writing output... [100%] tutorial > > generating indices... genindex py-modindex done > writing additional pages... search done > copying static files... done > copying extra files... done > dumping search index in English (code: en)... done > dumping object inventory... done > build succeeded, 9 warnings. > > The HTML pages are in build/html. > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:239: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build; python3.9 -m unittest > discover -v > tests.test_dj (unittest.loader._FailedTest) ... ERROR > test_add_url_rules (tests.test_fl.FlaskResourceTestCase) ... ok > test_as_detail (tests.test_fl.FlaskResourceTestCase) ... ok > test_as_list (tests.test_fl.FlaskResourceTestCase) ... ok > test_build_response (tests.test_fl.FlaskResourceTestCase) ... ok > test_is_debug (tests.test_fl.FlaskResourceTestCase) ... ok > test_complex_miss (tests.test_preparers.LookupDataTestCase) ... ok > test_dict_callable (tests.test_preparers.LookupDataTestCase) ... ok > test_dict_miss (tests.test_preparers.LookupDataTestCase) ... ok > test_dict_nested (tests.test_preparers.LookupDataTestCase) ... ok > test_dict_nullable_fk (tests.test_preparers.LookupDataTestCase) ... ok > test_dict_simple (tests.test_preparers.LookupDataTestCase) ... ok > test_empty_lookup (tests.test_preparers.LookupDataTestCase) ... ok > test_obj_callable (tests.test_preparers.LookupDataTestCase) ... ok > test_obj_miss (tests.test_preparers.LookupDataTestCase) ... ok > test_obj_nested (tests.test_preparers.LookupDataTestCase) ... ok > test_obj_nullable_fk (tests.test_preparers.LookupDataTestCase) ... ok > test_obj_simple (tests.test_preparers.LookupDataTestCase) ... ok > test_prepare_collection_subpreparer (tests.test_preparers.LookupDataTestCase) > ... ok > test_prepare_simple (tests.test_preparers.LookupDataTestCase) ... ok > test_prepare_subpreparer (tests.test_preparers.LookupDataTestCase) ... ok > test_prepare_subsubpreparer (tests.test_preparers.LookupDataTestCase) ... ok > test_add_views (tests.test_pyr.PyramidResourceTestCase) ... ok > test_as_detail (tests.test_pyr.PyramidResourceTestCase) ... ok > test_as_list (tests.test_pyr.PyramidResourceTestCase) ... ok > test_create (tests.test_pyr.PyramidResourceTestCase) ... ok > test_handle_not_authenticated (tests.test_pyr.PyramidResourceTestCase) ... ok > test_bubble_exceptions (tests.test_resources.ResourceTestCase) ... ok > test_build_error (tests.test_resources.ResourceTestCase) ... ok > test_build_response (tests.test_resources.ResourceTestCase) ... ok > test_create (tests.test_resources.ResourceTestCase) ... ok > test_create_detail (tests.test_resources.ResourceTestCase) ... ok > test_delete (tests.test_resources.ResourceTestCase) ... ok > test_delete_list (tests.test_resources.ResourceTestCase) ... ok > test_deserialize (tests.test_resources.ResourceTestCase) ... ok > test_deserialize_detail (tests.test_resources.ResourceTestCase) ... ok > test_deserialize_list (tests.test_resources.ResourceTestCase) ... ok > test_detail (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_create (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_create_detail (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_delete (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_delete_list (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_detail (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_list (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_update (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_update_list (tests.test_resources.ResourceTestCase) ... ok > test_init (tests.test_resources.ResourceTestCase) ... ok > test_is_authenticated (tests.test_resources.ResourceTestCase) ... ok > test_is_debug (tests.test_resources.ResourceTestCase) ... ok > test_list (tests.test_resources.ResourceTestCase) ... ok > test_prepare (tests.test_resources.ResourceTestCase) ... ok > test_request_body (tests.test_resources.ResourceTestCase) ... ok > test_request_method (tests.test_resources.ResourceTestCase) ... ok > test_serialize (tests.test_resources.ResourceTestCase) ... ok > test_serialize_detail (tests.test_resources.ResourceTestCase) ... ok > test_serialize_list (tests.test_resources.ResourceTestCase) ... ok > test_update (tests.test_resources.ResourceTestCase) ... ok > test_update_list (tests.test_resources.ResourceTestCase) ... ok > test_wrap_list_response (tests.test_resources.ResourceTestCase) ... ok > test_deserialize (tests.test_serializers.JSONSerializerTestCase) ... ok > test_deserialize_invalid (tests.test_serializers.JSONSerializerTestCase) ... > ok > test_serialize (tests.test_serializers.JSONSerializerTestCase) ... ok > test_basic_resource_detail (tests.test_tnd.FuncTrimTestCase) ... ok > test_basic_resource_list (tests.test_tnd.FuncTrimTestCase) ... ok > test_empty_resource (tests.test_tnd.FuncTrimTestCase) ... ok > test_inheritance_resource_detail (tests.test_tnd.FuncTrimTestCase) ... ok > test_body (tests.test_tnd.InternalTestCase) ... ok > test_class (tests.test_tnd.InternalTestCase) > test the generated tornado.web.RequestHandler ... ok > test_is_debug (tests.test_tnd.InternalTestCase) ... ok > test_method (tests.test_tnd.InternalTestCase) ... ok > test_var (tests.test_tnd.InternalTestCase) > make sure variable from tornado is correctly passed. ... ok > test_as_detail (tests.test_tnd.TndAsyncResourceTestCase) ... > /usr/lib/python3/dist-packages/tornado/simple_httpclient.py:233: > ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_INET, > type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> > def _on_timeout(self, key: object, info: Optional[str] = None) -> None: > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3/dist-packages/tornado/simple_httpclient.py:233: > ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, > type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> > def _on_timeout(self, key: object, info: Optional[str] = None) -> None: > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3/dist-packages/tornado/simple_httpclient.py:233: > ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, > type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> > def _on_timeout(self, key: object, info: Optional[str] = None) -> None: > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3/dist-packages/tornado/simple_httpclient.py:233: > ResourceWarning: unclosed <socket.socket fd=9, family=AddressFamily.AF_INET, > type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> > def _on_timeout(self, key: object, info: Optional[str] = None) -> None: > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3/dist-packages/tornado/simple_httpclient.py:233: > ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, > type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> > def _on_timeout(self, key: object, info: Optional[str] = None) -> None: > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3/dist-packages/tornado/simple_httpclient.py:233: > ResourceWarning: unclosed <socket.socket fd=11, family=AddressFamily.AF_INET, > type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> > def _on_timeout(self, key: object, info: Optional[str] = None) -> None: > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3/dist-packages/tornado/simple_httpclient.py:233: > ResourceWarning: unclosed <socket.socket fd=12, family=AddressFamily.AF_INET, > type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> > def _on_timeout(self, key: object, info: Optional[str] = None) -> None: > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3/dist-packages/tornado/simple_httpclient.py:233: > ResourceWarning: unclosed <socket.socket fd=13, family=AddressFamily.AF_INET, > type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> > def _on_timeout(self, key: object, info: Optional[str] = None) -> None: > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3/dist-packages/tornado/simple_httpclient.py:233: > ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, > type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> > def _on_timeout(self, key: object, info: Optional[str] = None) -> None: > ResourceWarning: Enable tracemalloc to get the object allocation traceback > ok > test_as_list (tests.test_tnd.TndAsyncResourceTestCase) ... ok > test_as_detail (tests.test_tnd.TndResourceTestCase) ... ok > test_as_list (tests.test_tnd.TndResourceTestCase) ... ok > test_not_authenticated (tests.test_tnd.TndResourceTestCase) ... > WARNING:tornado.access:401 POST /fake (127.0.0.1) 2.72ms > ok > test_format_traceback (tests.test_utils.FormatTracebackTestCase) ... ok > > ====================================================================== > ERROR: tests.test_dj (unittest.loader._FailedTest) > ---------------------------------------------------------------------- > ImportError: Failed to import test module: tests.test_dj > Traceback (most recent call last): > File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path > module = self._get_module_from_name(name) > File "/usr/lib/python3.9/unittest/loader.py", line 377, in > _get_module_from_name > __import__(name) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/tests/test_dj.py", > line 20, in <module> > from restless.dj import DjangoResource > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build/restless/dj.py", line > 4, in <module> > from django.conf.urls import url > ImportError: cannot import name 'url' from 'django.conf.urls' > (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) > > > ---------------------------------------------------------------------- > Ran 77 tests in 0.062s > > FAILED (errors=1) > E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_restless/build; python3.9 -m unittest > discover -v > I: pybuild base:239: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build; python3.10 -m > unittest discover -v > tests.test_dj (unittest.loader._FailedTest) ... ERROR > test_add_url_rules (tests.test_fl.FlaskResourceTestCase) ... ok > test_as_detail (tests.test_fl.FlaskResourceTestCase) ... ok > test_as_list (tests.test_fl.FlaskResourceTestCase) ... ok > test_build_response (tests.test_fl.FlaskResourceTestCase) ... ok > test_is_debug (tests.test_fl.FlaskResourceTestCase) ... ok > test_complex_miss (tests.test_preparers.LookupDataTestCase) ... ok > test_dict_callable (tests.test_preparers.LookupDataTestCase) ... ok > test_dict_miss (tests.test_preparers.LookupDataTestCase) ... ok > test_dict_nested (tests.test_preparers.LookupDataTestCase) ... ok > test_dict_nullable_fk (tests.test_preparers.LookupDataTestCase) ... ok > test_dict_simple (tests.test_preparers.LookupDataTestCase) ... ok > test_empty_lookup (tests.test_preparers.LookupDataTestCase) ... ok > test_obj_callable (tests.test_preparers.LookupDataTestCase) ... ok > test_obj_miss (tests.test_preparers.LookupDataTestCase) ... ok > test_obj_nested (tests.test_preparers.LookupDataTestCase) ... ok > test_obj_nullable_fk (tests.test_preparers.LookupDataTestCase) ... ok > test_obj_simple (tests.test_preparers.LookupDataTestCase) ... ok > test_prepare_collection_subpreparer (tests.test_preparers.LookupDataTestCase) > ... ok > test_prepare_simple (tests.test_preparers.LookupDataTestCase) ... ok > test_prepare_subpreparer (tests.test_preparers.LookupDataTestCase) ... ok > test_prepare_subsubpreparer (tests.test_preparers.LookupDataTestCase) ... ok > test_add_views (tests.test_pyr.PyramidResourceTestCase) ... ok > test_as_detail (tests.test_pyr.PyramidResourceTestCase) ... ok > test_as_list (tests.test_pyr.PyramidResourceTestCase) ... ok > test_create (tests.test_pyr.PyramidResourceTestCase) ... ok > test_handle_not_authenticated (tests.test_pyr.PyramidResourceTestCase) ... ok > test_bubble_exceptions (tests.test_resources.ResourceTestCase) ... ok > test_build_error (tests.test_resources.ResourceTestCase) ... ok > test_build_response (tests.test_resources.ResourceTestCase) ... ok > test_create (tests.test_resources.ResourceTestCase) ... ok > test_create_detail (tests.test_resources.ResourceTestCase) ... ok > test_delete (tests.test_resources.ResourceTestCase) ... ok > test_delete_list (tests.test_resources.ResourceTestCase) ... ok > test_deserialize (tests.test_resources.ResourceTestCase) ... ok > test_deserialize_detail (tests.test_resources.ResourceTestCase) ... ok > test_deserialize_list (tests.test_resources.ResourceTestCase) ... ok > test_detail (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_create (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_create_detail (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_delete (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_delete_list (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_detail (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_list (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_update (tests.test_resources.ResourceTestCase) ... ok > test_endpoint_update_list (tests.test_resources.ResourceTestCase) ... ok > test_init (tests.test_resources.ResourceTestCase) ... ok > test_is_authenticated (tests.test_resources.ResourceTestCase) ... ok > test_is_debug (tests.test_resources.ResourceTestCase) ... ok > test_list (tests.test_resources.ResourceTestCase) ... ok > test_prepare (tests.test_resources.ResourceTestCase) ... ok > test_request_body (tests.test_resources.ResourceTestCase) ... ok > test_request_method (tests.test_resources.ResourceTestCase) ... ok > test_serialize (tests.test_resources.ResourceTestCase) ... ok > test_serialize_detail (tests.test_resources.ResourceTestCase) ... ok > test_serialize_list (tests.test_resources.ResourceTestCase) ... ok > test_update (tests.test_resources.ResourceTestCase) ... ok > test_update_list (tests.test_resources.ResourceTestCase) ... ok > test_wrap_list_response (tests.test_resources.ResourceTestCase) ... ok > test_deserialize (tests.test_serializers.JSONSerializerTestCase) ... ok > test_deserialize_invalid (tests.test_serializers.JSONSerializerTestCase) ... > ok > test_serialize (tests.test_serializers.JSONSerializerTestCase) ... ok > test_basic_resource_detail (tests.test_tnd.FuncTrimTestCase) ... > /usr/lib/python3/dist-packages/tornado/ioloop.py:263: DeprecationWarning: > There is no current event loop > loop = asyncio.get_event_loop() > /usr/lib/python3/dist-packages/tornado/http1connection.py:145: > DeprecationWarning: There is no current event loop > self._finish_future = Future() # type: Future[None] > ok > test_basic_resource_list (tests.test_tnd.FuncTrimTestCase) ... ok > test_empty_resource (tests.test_tnd.FuncTrimTestCase) ... ok > test_inheritance_resource_detail (tests.test_tnd.FuncTrimTestCase) ... ok > test_body (tests.test_tnd.InternalTestCase) ... ok > test_class (tests.test_tnd.InternalTestCase) > test the generated tornado.web.RequestHandler ... ok > test_is_debug (tests.test_tnd.InternalTestCase) ... ok > test_method (tests.test_tnd.InternalTestCase) ... ok > test_var (tests.test_tnd.InternalTestCase) > make sure variable from tornado is correctly passed. ... ok > test_as_detail (tests.test_tnd.TndAsyncResourceTestCase) ... > /usr/lib/python3/dist-packages/tornado/platform/asyncio.py:326: > DeprecationWarning: There is no current event loop > self.old_asyncio = asyncio.get_event_loop() > /usr/lib/python3.10/typing.py:1019: ResourceWarning: unclosed <socket.socket > fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, > laddr=('0.0.0.0', 0)> > super().__init__(origin, inst=inst, name=name) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3.10/typing.py:1019: ResourceWarning: unclosed <socket.socket > fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, > laddr=('0.0.0.0', 0)> > super().__init__(origin, inst=inst, name=name) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3.10/typing.py:1019: ResourceWarning: unclosed <socket.socket > fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, > laddr=('0.0.0.0', 0)> > super().__init__(origin, inst=inst, name=name) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3.10/typing.py:1019: ResourceWarning: unclosed <socket.socket > fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, > laddr=('0.0.0.0', 0)> > super().__init__(origin, inst=inst, name=name) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3.10/typing.py:1019: ResourceWarning: unclosed <socket.socket > fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, > laddr=('0.0.0.0', 0)> > super().__init__(origin, inst=inst, name=name) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3.10/typing.py:1019: ResourceWarning: unclosed <socket.socket > fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, > laddr=('0.0.0.0', 0)> > super().__init__(origin, inst=inst, name=name) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3.10/typing.py:1019: ResourceWarning: unclosed <socket.socket > fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, > laddr=('0.0.0.0', 0)> > super().__init__(origin, inst=inst, name=name) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3.10/typing.py:1019: ResourceWarning: unclosed <socket.socket > fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, > laddr=('0.0.0.0', 0)> > super().__init__(origin, inst=inst, name=name) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3.10/typing.py:1019: ResourceWarning: unclosed <socket.socket > fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, > laddr=('0.0.0.0', 0)> > super().__init__(origin, inst=inst, name=name) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > /usr/lib/python3/dist-packages/tornado/platform/asyncio.py:193: > DeprecationWarning: There is no current event loop > old_loop = asyncio.get_event_loop() > ok > test_as_list (tests.test_tnd.TndAsyncResourceTestCase) ... ok > test_as_detail (tests.test_tnd.TndResourceTestCase) ... ok > test_as_list (tests.test_tnd.TndResourceTestCase) ... ok > test_not_authenticated (tests.test_tnd.TndResourceTestCase) ... > WARNING:tornado.access:401 POST /fake (127.0.0.1) 2.45ms > ok > test_format_traceback (tests.test_utils.FormatTracebackTestCase) ... ok > > ====================================================================== > ERROR: tests.test_dj (unittest.loader._FailedTest) > ---------------------------------------------------------------------- > ImportError: Failed to import test module: tests.test_dj > Traceback (most recent call last): > File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path > module = self._get_module_from_name(name) > File "/usr/lib/python3.10/unittest/loader.py", line 377, in > _get_module_from_name > __import__(name) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/tests/test_dj.py", > line 20, in <module> > from restless.dj import DjangoResource > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build/restless/dj.py", line > 4, in <module> > from django.conf.urls import url > ImportError: cannot import name 'url' from 'django.conf.urls' > (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) > > > ---------------------------------------------------------------------- > Ran 77 tests in 0.058s > > FAILED (errors=1) > E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_restless/build; python3.10 -m > unittest discover -v > dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.10" returned > exit code 13 The full build log is available from: http://qa-logs.debian.net/2022/06/24/python-restless_2.2.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.