[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1013477: marked as done (python-restless: FTBFS: ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py))



Your message dated Sat, 02 Jul 2022 20:56:46 +0000
with message-id <E1o7kAY-000EXB-CQ@fasolo.debian.org>
and subject line Bug#1013477: fixed in python-restless 2.2.0-2
has caused the Debian Bug report #1013477,
regarding python-restless: FTBFS: ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py)
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 owner@bugs.debian.org
immediately.)


-- 
1013477: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013477
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: python-restless
Version: 2.2.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@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=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lucas@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.

--- End Message ---
--- Begin Message ---
Source: python-restless
Source-Version: 2.2.0-2
Done: Håvard F. Aasen <havard.f.aasen@pfft.no>

We believe that the bug you reported is fixed in the latest version of
python-restless, 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 1013477@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Håvard F. Aasen <havard.f.aasen@pfft.no> (supplier of updated python-restless 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 02 Jul 2022 20:55:37 +0200
Source: python-restless
Architecture: source
Version: 2.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Håvard F. Aasen <havard.f.aasen@pfft.no>
Closes: 1013477
Changes:
 python-restless (2.2.0-2) unstable; urgency=medium
 .
   * QA upload.
   * Add use-path-function-instead-of-url-function.patch Closes: #1013477
   * d/control:
     - Remove 'Built-Using' field for documentation package.
     - Update Standards-Version to 4.6.1
     - Update short description.
   * Drop 0001-fix-test-fail.patch, fixed in version 2.0.2
Checksums-Sha1:
 fe236cd05f924156ceb324b11629c8e0fd3cebf4 2146 python-restless_2.2.0-2.dsc
 3674ddfc6e923e5e07240bcea603e0feda29dbd0 5200 python-restless_2.2.0-2.debian.tar.xz
 8db0569f5c3d82b57b5af1c7beb003f1da8f42ad 8267 python-restless_2.2.0-2_source.buildinfo
Checksums-Sha256:
 11a3f3f29e80912b19181922436cf69abe665a4de8d5aedf30acb4214afb996a 2146 python-restless_2.2.0-2.dsc
 50845ab5f2d46c495790c7688a99d3d245a668a9943e31986ba62d5387b7774d 5200 python-restless_2.2.0-2.debian.tar.xz
 b6e065859e31c6ba27c4ae8de1c12237729affe7fc81ab937297a439a73eef00 8267 python-restless_2.2.0-2_source.buildinfo
Files:
 60de3815978f59c3a53941315515038c 2146 python optional python-restless_2.2.0-2.dsc
 695b23cc24654e3eca4e9cb8ac1df5d5 5200 python optional python-restless_2.2.0-2.debian.tar.xz
 471d8e9b0394d3bcbd72d4247e0eb72b 8267 python optional python-restless_2.2.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmLAqGkACgkQweDZLphv
fH7tQRAAxxbh1LXfQTPZMyaUmX+PmVlhnBcsorDTCxjzyAdpxRSsoz8LLWqDiJWM
mwI6lnJ7W1yytMx9V6MPKgNcI+J0AxVygdR7TvO0M4szP+OE/4eeapxSwbY0I8X5
znjpi5WGQBIzwP/hLa8FDpL7fssryFzYmbWS531Yy7RkyWAizqdE8x5hpHRqID0e
t6GtJCZGUJmCe8r2VDG/O34IBCh4SAK4ZH3zDXExWiUm78R59scLo0o9fb+TvsyU
wfCzBvvGp50qeIaK40tWgsQRoId1R1KPeuSFc7vOiZdCucby6AW/ZUkPzAymKz9F
vlAwBtYNeJtyfcosaU2RgwhIsayKxMyoKh+OTH//zJ9H2DhPMPh2nFk80P7WkeNQ
1Oc+SjuucEBWVlq0pj/e0pyUJZAZoJLZcIvKlEXsdv/9xurJ0xjCXpihoEFV5cYd
KJNAN4QKtBuf6SKsE0ohiQwYCy0wNsq4kp6iR8Wqb8piNGSo83E7y1gDcVYyUWHS
aPn9k6Pa/5yoKmhFUauj7CDF8eAKxKNGlRznQc8dd9Z9fIZ4Ms1gyYXcY0lee1O7
uEqkNYZySrBjUHoJYOmZp7GV4Wk37rbM1w9wH2cj7ez57f6qrJ8h8qXp0kD2FOKe
hQYSS9Y8xFSBguguRFszZOIQt4g9ETuencznpaVlK+aWtpaRqqA=
=vYQi
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: