Source: jsonpickle Version: 0.9.5-2 Severity: serious Hello, looks like some Python3 updates made the package FTBFS in sid, due to testsuite errors...
log following: I: Running cd /build/jsonpickle-0.9.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -rfakeroot dpkg-buildpackage: info: source package jsonpickle dpkg-buildpackage: info: source version 0.9.5-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Sandro Tosi <mo...@debian.org> dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --with python3,sphinxdoc --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:217: python3.8 setup.py clean running clean removing '/build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build' (and everything under it) 'build/bdist.linux-amd64' does not exist -- can't clean it 'build/scripts-3.8' does not exist -- can't clean it I: pybuild base:217: python3.7 setup.py clean running clean removing '/build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build' (and everything under it) 'build/bdist.linux-amd64' does not exist -- can't clean it 'build/scripts-3.7' does not exist -- can't clean it dh_clean -O--buildsystem=pybuild dpkg-source -b . dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building jsonpickle using existing ./jsonpickle_0.9.5.orig.tar.gz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: building jsonpickle in jsonpickle_0.9.5-2.debian.tar.xz dpkg-source: info: building jsonpickle in jsonpickle_0.9.5-2.dsc debian/rules build dh build --with python3,sphinxdoc --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:217: python3.8 setup.py config running config I: pybuild base:217: python3.7 setup.py config running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python3.8 setup.py build running build running build_py creating /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle copying jsonpickle/tags.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle copying jsonpickle/handlers.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle copying jsonpickle/unpickler.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle copying jsonpickle/compat.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle copying jsonpickle/pickler.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle copying jsonpickle/version.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle copying jsonpickle/__init__.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle copying jsonpickle/backend.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle copying jsonpickle/util.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle creating /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle/ext copying jsonpickle/ext/numpy.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle/ext copying jsonpickle/ext/__init__.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build/jsonpickle/ext I: pybuild base:217: /usr/bin/python3 setup.py build running build running build_py creating /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle copying jsonpickle/tags.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle copying jsonpickle/handlers.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle copying jsonpickle/unpickler.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle copying jsonpickle/compat.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle copying jsonpickle/pickler.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle copying jsonpickle/version.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle copying jsonpickle/__init__.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle copying jsonpickle/backend.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle copying jsonpickle/util.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle creating /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle/ext copying jsonpickle/ext/numpy.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle/ext copying jsonpickle/ext/__init__.py -> /build/jsonpickle-0.9.5/.pybuild/cpython3_3.7/build/jsonpickle/ext debian/rules override_dh_auto_test make[1]: Entering directory '/build/jsonpickle-0.9.5' PYBUILD_SYSTEM=custom \ PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} {interpreter} tests/runtests.py" dh_auto_test I: pybuild base:217: PYTHONPATH=/build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build python3.8 tests/runtests.py /build/jsonpickle-0.9.5/tests/backend_test.py:103: UserWarning: demjson module not available for testing, consider installing warn(module + ' module not available for testing, ' /build/jsonpickle-0.9.5/tests/backend_test.py:103: UserWarning: yajl module not available for testing, consider installing warn(module + ' module not available for testing, ' test_has_method (util_test.UtilTestCase) ... ok test_is_dicitonary_sequences (util_test.UtilTestCase) ... ok test_is_dictionary_dict (util_test.UtilTestCase) ... ok test_is_dictionary_primitive (util_test.UtilTestCase) ... ok test_is_dictionary_subclass_dict (util_test.UtilTestCase) ... ok test_is_dictionary_subclass_subclass (util_test.UtilTestCase) ... ok test_is_dictionary_tuple (util_test.UtilTestCase) ... ok test_is_function_builtins (util_test.UtilTestCase) ... ok test_is_function_instance_method (util_test.UtilTestCase) ... ok test_is_function_lambda (util_test.UtilTestCase) ... ok test_is_list_dict (util_test.UtilTestCase) ... ok test_is_list_list (util_test.UtilTestCase) ... ok test_is_list_other (util_test.UtilTestCase) ... ok test_is_list_set (util_test.UtilTestCase) ... ok test_is_list_tuple (util_test.UtilTestCase) ... ok test_is_noncomplex_other (util_test.UtilTestCase) ... ok test_is_noncomplex_time_struct (util_test.UtilTestCase) ... ok test_is_primitive_None (util_test.UtilTestCase) ... ok test_is_primitive_bool (util_test.UtilTestCase) ... ok test_is_primitive_bytes (util_test.UtilTestCase) ... ok test_is_primitive_dict (util_test.UtilTestCase) ... ok test_is_primitive_float (util_test.UtilTestCase) ... ok test_is_primitive_int (util_test.UtilTestCase) ... ok test_is_primitive_list (util_test.UtilTestCase) ... ok test_is_primitive_long (util_test.UtilTestCase) ... ok test_is_primitive_object (util_test.UtilTestCase) ... ok test_is_primitive_set (util_test.UtilTestCase) ... ok test_is_primitive_tuple (util_test.UtilTestCase) ... ok test_is_primitive_unicode (util_test.UtilTestCase) ... ok test_is_sequence_subclass_list (util_test.UtilTestCase) ... ok test_is_sequence_subclass_subclass (util_test.UtilTestCase) ... ok test_is_sequence_various (util_test.UtilTestCase) ... ok test_itemgetter (util_test.UtilTestCase) ... ok importable_name (jsonpickle.util) Doctest: jsonpickle.util.importable_name ... ok is_bytes (jsonpickle.util) Doctest: jsonpickle.util.is_bytes ... ok is_dictionary (jsonpickle.util) Doctest: jsonpickle.util.is_dictionary ... ok is_dictionary_subclass (jsonpickle.util) Doctest: jsonpickle.util.is_dictionary_subclass ... ok is_function (jsonpickle.util) Doctest: jsonpickle.util.is_function ... ok is_installed (jsonpickle.util) Doctest: jsonpickle.util.is_installed ... ok is_list (jsonpickle.util) Doctest: jsonpickle.util.is_list ... ok is_module (jsonpickle.util) Doctest: jsonpickle.util.is_module ... ok is_module_function (jsonpickle.util) Doctest: jsonpickle.util.is_module_function ... ok is_object (jsonpickle.util) Doctest: jsonpickle.util.is_object ... ok is_picklable (jsonpickle.util) Doctest: jsonpickle.util.is_picklable ... ok is_primitive (jsonpickle.util) Doctest: jsonpickle.util.is_primitive ... ok is_sequence (jsonpickle.util) Doctest: jsonpickle.util.is_sequence ... ok is_sequence_subclass (jsonpickle.util) Doctest: jsonpickle.util.is_sequence_subclass ... ok is_set (jsonpickle.util) Doctest: jsonpickle.util.is_set ... ok is_tuple (jsonpickle.util) Doctest: jsonpickle.util.is_tuple ... ok is_type (jsonpickle.util) Doctest: jsonpickle.util.is_type ... ok test_base_handler (handler_test.HandlerTestCase) ... ok test_custom_handler (handler_test.HandlerTestCase) Ensure that the custom handler is indeed used ... ok test_decorated_register (handler_test.HandlerTestCase) ... ok test_invalid_class (handler_test.HandlerTestCase) ... ok test_references (handler_test.HandlerTestCase) ... ok test_None_dict_key (backend_test.JsonTestCase) Ensure that backends produce the same result for None dict keys ... ok test_backend (backend_test.JsonTestCase) ... ok test_None_dict_key (backend_test.UJsonTestCase) Ensure that backends produce the same result for None dict keys ... skipped 'ujson not available; please install' test_backend (backend_test.UJsonTestCase) ... skipped 'ujson not available; please install' test_None_dict_key (backend_test.SimpleJsonTestCase) Ensure that backends produce the same result for None dict keys ... ok test_backend (backend_test.SimpleJsonTestCase) ... ok test_None_dict_key_default (jsonpickle_test.JSONPickleTestCase) ... ok test_None_dict_key_with_keys_enabled (jsonpickle_test.JSONPickleTestCase) ... ok test_decode (jsonpickle_test.JSONPickleTestCase) ... ok test_encode (jsonpickle_test.JSONPickleTestCase) ... ok test_encode_notunpicklable (jsonpickle_test.JSONPickleTestCase) ... ok test_int_dict_keys_defaults (jsonpickle_test.JSONPickleTestCase) ... ok test_int_dict_keys_with_keys_enabled (jsonpickle_test.JSONPickleTestCase) ... ok test_json (jsonpickle_test.JSONPickleTestCase) ... ok test_list_item_reference (jsonpickle_test.JSONPickleTestCase) ... ok test_list_of_objects (jsonpickle_test.JSONPickleTestCase) Test that objects in lists are referenced correctly ... ok test_load_backend (jsonpickle_test.JSONPickleTestCase) Test that we can call jsonpickle.load_backend() ... ok test_load_backend_handles_bad_encode (jsonpickle_test.JSONPickleTestCase) Test that we ignore bad encoders ... ok test_load_backend_handles_bad_loads_exc (jsonpickle_test.JSONPickleTestCase) Test that we ignore bad decoder exceptions ... ok test_load_backend_raises_on_bad_decode (jsonpickle_test.JSONPickleTestCase) Test that we ignore bad decoders ... ok test_load_backend_submodule (jsonpickle_test.JSONPickleTestCase) Test that we can load a submodule as a backend ... ok test_make_refs_disabled_list (jsonpickle_test.JSONPickleTestCase) ... ok test_make_refs_disabled_reference_to_list (jsonpickle_test.JSONPickleTestCase) ... ok test_object_dict_keys (jsonpickle_test.JSONPickleTestCase) Test that we handle random objects as keys. ... ok test_object_keys_to_list (jsonpickle_test.JSONPickleTestCase) Test that objects in dict values are referenced correctly ... ok test_reference_to_list (jsonpickle_test.JSONPickleTestCase) ... ok test_refs_in_objects (jsonpickle_test.JSONPickleTestCase) Test that objects in lists are referenced correctly ... ok test_refs_keys_values (jsonpickle_test.JSONPickleTestCase) Test that objects in dict keys are referenced correctly ... ok test_refs_recursive (jsonpickle_test.JSONPickleTestCase) Test that complicated recursive refs work ... ok test_set_preferred_backend_allows_magic (jsonpickle_test.JSONPickleTestCase) Tests that we can use the pluggable backends magically ... ok test_string_key_not_requiring_escape_dict_keys_with_keys_enabled (jsonpickle_test.JSONPickleTestCase) test that string keys that do not require escaping are not escaped ... ok test_string_key_requiring_escape_dict_keys_with_keys_enabled (jsonpickle_test.JSONPickleTestCase) ... ok test_tuple_dict_keys_default (jsonpickle_test.JSONPickleTestCase) Test that we handle dictionaries with tuples as keys. ... ok test_tuple_dict_keys_with_keys_enabled (jsonpickle_test.JSONPickleTestCase) Test that we handle dictionaries with tuples as keys. ... ok test_unicode_dict_keys (jsonpickle_test.JSONPickleTestCase) ... ok test_boolean (jsonpickle_test.PicklingTestCase) ... ok test_builtin_error (jsonpickle_test.PicklingTestCase) ... ok test_class (jsonpickle_test.PicklingTestCase) ... ok test_class_reference (jsonpickle_test.PicklingTestCase) This test ensures that users can store references to classes. ... ok test_classdict (jsonpickle_test.PicklingTestCase) ... ok test_classlist (jsonpickle_test.PicklingTestCase) ... ok test_dict (jsonpickle_test.PicklingTestCase) ... ok test_float (jsonpickle_test.PicklingTestCase) ... ok test_int (jsonpickle_test.PicklingTestCase) ... ok test_list (jsonpickle_test.PicklingTestCase) ... ok test_list_roundtrip (jsonpickle_test.PicklingTestCase) ... ok test_none (jsonpickle_test.PicklingTestCase) ... ok test_recursive (jsonpickle_test.PicklingTestCase) create a recursive structure and test that we can handle it ... ok test_references (jsonpickle_test.PicklingTestCase) ... ok test_references_in_number_keyed_dict (jsonpickle_test.PicklingTestCase) ... ok test_set (jsonpickle_test.PicklingTestCase) ... ok test_set_not_unpicklable (jsonpickle_test.PicklingTestCase) ... ok test_set_roundtrip (jsonpickle_test.PicklingTestCase) ... ok test_string (jsonpickle_test.PicklingTestCase) ... ok test_supports_getstate_setstate (jsonpickle_test.PicklingTestCase) ... ok test_thing_with_module (jsonpickle_test.PicklingTestCase) ... ok test_thing_with_module_safe (jsonpickle_test.PicklingTestCase) ... ok test_thing_with_submodule (jsonpickle_test.PicklingTestCase) ... ok test_tuple (jsonpickle_test.PicklingTestCase) ... ok test_tuple_notunpicklable (jsonpickle_test.PicklingTestCase) ... ok test_tuple_roundtrip (jsonpickle_test.PicklingTestCase) ... ok test_type_reference (jsonpickle_test.PicklingTestCase) This test ensures that users can store references to types. ... ok test_unicode (jsonpickle_test.PicklingTestCase) ... ok test_classic_init_has_args (jsonpickle_test.PicklingProtocol2TestCase) ... skipped 'No classic classes in PY3' test_getinitargs (jsonpickle_test.PicklingProtocol2TestCase) ... skipped 'No classic classes in PY3' test_getnewargs_priority (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_handles_cyclical_objects (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_handles_cyclical_objects_in_lists (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_handles_nested_objects (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_pickle_newargs (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_reduce_basic (jsonpickle_test.PicklingProtocol2TestCase) Test reduce with only callable and args ... ok test_reduce_basic_func (jsonpickle_test.PicklingProtocol2TestCase) Test reduce with only callable and args ... ok test_reduce_complex_num (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_reduce_complex_zero (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_reduce_dictitems (jsonpickle_test.PicklingProtocol2TestCase) Test reduce with dictitems set (as a generator) ... ok test_reduce_ex_string (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_reduce_iter (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_reduce_listitems_append (jsonpickle_test.PicklingProtocol2TestCase) Test reduce with listitems set (as a generator), yielding single items ... ok test_reduce_listitems_extend (jsonpickle_test.PicklingProtocol2TestCase) Test reduce with listitems set (as a generator), yielding single items ... ok test_reduce_newobj (jsonpickle_test.PicklingProtocol2TestCase) Test reduce with callable called __newobj__ ... ok test_reduce_state_dict (jsonpickle_test.PicklingProtocol2TestCase) Test reduce with the optional state argument set, on an object with a __dict__, and no __setstate__ ... ok test_reduce_state_no_dict (jsonpickle_test.PicklingProtocol2TestCase) Test reduce with the optional state argument set, on an object with no __dict__, and no __setstate__ ... ok test_reduce_state_setstate (jsonpickle_test.PicklingProtocol2TestCase) Test reduce with the optional state argument set, on an object with a __setstate__ ... ok test_reduce_string (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_restore_dict_state (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_restore_slots_dict_state (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_restore_slots_state (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_setstate (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_validate_reconstruct_by_newargs (jsonpickle_test.PicklingProtocol2TestCase) ... ok test_pickle_newargs_ex (jsonpickle_test.PicklingProtocol4TestCase) ... ok test_references (jsonpickle_test.PicklingProtocol4TestCase) ... ok test_validate_reconstruct_by_newargs_ex (jsonpickle_test.PicklingProtocol4TestCase) ... ok decode (jsonpickle) Doctest: jsonpickle.decode ... ok encode (jsonpickle) Doctest: jsonpickle.encode ... ok flatten (jsonpickle.pickler.Pickler) Doctest: jsonpickle.pickler.Pickler.flatten ... ok _mktyperef (jsonpickle.pickler) Doctest: jsonpickle.pickler._mktyperef ... ok _refname (jsonpickle.unpickler.Unpickler) Doctest: jsonpickle.unpickler.Unpickler._refname ... ok restore (jsonpickle.unpickler.Unpickler) Doctest: jsonpickle.unpickler.Unpickler.restore ... ok has_tag (jsonpickle.unpickler) Doctest: jsonpickle.unpickler.has_tag ... ok loadclass (jsonpickle.unpickler) Doctest: jsonpickle.unpickler.loadclass ... ok loadrepr (jsonpickle.unpickler) Doctest: jsonpickle.unpickler.loadrepr ... ok test_date (datetime_test.DateTimeSimpleTestCase) ... ok test_datetime (datetime_test.DateTimeSimpleTestCase) ... ok test_object_with_datetime (datetime_test.DateTimeSimpleTestCase) ... ok test_time (datetime_test.DateTimeSimpleTestCase) ... ok test_timedelta (datetime_test.DateTimeSimpleTestCase) ... ok test_unpickleable (datetime_test.DateTimeSimpleTestCase) ... ok test_utc (datetime_test.DateTimeSimpleTestCase) ... ok test_datetime_dict_keys_defaults (datetime_test.DateTimeAdvancedTestCase) Test that we handle datetime objects as keys. ... ok test_datetime_dict_keys_with_keys_enabled (datetime_test.DateTimeAdvancedTestCase) Test that we handle datetime objects as keys. ... ok test_datetime_inside_int_keys_defaults (datetime_test.DateTimeAdvancedTestCase) ... ok test_datetime_inside_int_keys_with_keys_enabled (datetime_test.DateTimeAdvancedTestCase) ... ok test_datetime_repr_not_unpicklable (datetime_test.DateTimeAdvancedTestCase) ... ok test_datetime_structure (datetime_test.DateTimeAdvancedTestCase) ... ok test_struct_time (datetime_test.DateTimeAdvancedTestCase) ... ok test_struct_time_chars (datetime_test.DateTimeAdvancedTestCase) ... ok test_object_with_inner_datetime_refs (datetime_test.DateTimeInnerReferenceTestCase) ... ok test_cyclical (document_test.DocumentTestCase) Test that we can pickle cyclical data structure ... ok test_backcompat_bytes_quoted_printable (object_test.AdvancedObjectsTestCase) Test decoding bytes objects from older jsonpickle versions ... ok test_base_object_roundrip (object_test.AdvancedObjectsTestCase) ... ok test_broken_repr_dict_key (object_test.AdvancedObjectsTestCase) Tests that we can pickle dictionaries with keys that have ... ok test_bytes_unicode (object_test.AdvancedObjectsTestCase) ... ok test_counter_roundtrip (object_test.AdvancedObjectsTestCase) ... ok test_counter_roundtrip_with_keys (object_test.AdvancedObjectsTestCase) ... ok test_decimal (object_test.AdvancedObjectsTestCase) ... ok test_defaultdict_roundtrip (object_test.AdvancedObjectsTestCase) Make sure we can handle collections.defaultdict(list) ... ok test_defaultdict_roundtrip_simple_lambda (object_test.AdvancedObjectsTestCase) Make sure we can handle defaultdict(lambda: defaultdict(int)) ... ok test_defaultdict_subclass_with_class_as_default_factory (object_test.AdvancedObjectsTestCase) ... ok test_defaultdict_subclass_with_self_as_default_factory (object_test.AdvancedObjectsTestCase) ... ok test_deque_roundtrip (object_test.AdvancedObjectsTestCase) Make sure we can handle collections.deque ... ok test_dict_with_fd (object_test.AdvancedObjectsTestCase) ... FAIL test_dictsubclass (object_test.AdvancedObjectsTestCase) ... ok test_dictsubclass_notunpickable (object_test.AdvancedObjectsTestCase) ... ok test_enum34 (object_test.AdvancedObjectsTestCase) ... ok test_enum34_nested (object_test.AdvancedObjectsTestCase) ... ok test_enum_references (object_test.AdvancedObjectsTestCase) ... ok test_getstate_dict_subclass_roundtrip_cyclical (object_test.AdvancedObjectsTestCase) ... ok test_getstate_dict_subclass_roundtrip_simple (object_test.AdvancedObjectsTestCase) ... ok test_getstate_dict_subclass_structure (object_test.AdvancedObjectsTestCase) ... ok test_getstate_list_inside_list (object_test.AdvancedObjectsTestCase) ... ok test_getstate_list_simple (object_test.AdvancedObjectsTestCase) ... ok test_getstate_with_getstate_only (object_test.AdvancedObjectsTestCase) ... ok test_list_subclass (object_test.AdvancedObjectsTestCase) ... ok test_list_subclass_with_data (object_test.AdvancedObjectsTestCase) ... ok test_list_subclass_with_init (object_test.AdvancedObjectsTestCase) ... ok test_list_with_fd (object_test.AdvancedObjectsTestCase) ... ERROR test_namedtuple_roundtrip (object_test.AdvancedObjectsTestCase) ... ok test_nested_objects (object_test.AdvancedObjectsTestCase) ... ok test_newstyleslots (object_test.AdvancedObjectsTestCase) ... ok test_newstyleslots_inherited (object_test.AdvancedObjectsTestCase) ... ok test_newstyleslots_inherited_deleted_attr (object_test.AdvancedObjectsTestCase) ... ok test_newstyleslots_iterable (object_test.AdvancedObjectsTestCase) ... ok test_newstyleslots_string_slot (object_test.AdvancedObjectsTestCase) ... ok test_newstyleslots_with_children (object_test.AdvancedObjectsTestCase) ... ok test_newstyleslots_with_children_inherited (object_test.AdvancedObjectsTestCase) ... ok test_oldstyleclass (object_test.AdvancedObjectsTestCase) ... ok test_ordered_dict (object_test.AdvancedObjectsTestCase) ... ok test_ordered_dict_int_keys (object_test.AdvancedObjectsTestCase) ... ok test_ordered_dict_reduces (object_test.AdvancedObjectsTestCase) ... ok test_posix_stat_result (object_test.AdvancedObjectsTestCase) ... ok test_repr_using_jsonpickle (object_test.AdvancedObjectsTestCase) ... ok test_set_subclass (object_test.AdvancedObjectsTestCase) ... ok test_set_subclass_with_data (object_test.AdvancedObjectsTestCase) ... ok test_thing_with_compiled_regex (object_test.AdvancedObjectsTestCase) ... ok test_thing_with_fd (object_test.AdvancedObjectsTestCase) ... FAIL test_thing_with_func (object_test.AdvancedObjectsTestCase) ... ok test_thing_with_lamda (object_test.AdvancedObjectsTestCase) ... ok test_thing_with_queue (object_test.AdvancedObjectsTestCase) ... ok test_unicode_mixin (object_test.ExternalHandlerTestCase) ... ok test_known_uuid (stdlib_test.UUIDTestCase) ... ok test_random_uuid (stdlib_test.UUIDTestCase) ... ok test_bytestream (stdlib_test.BytesTestCase) ... ok test (feedparser_test.FeedParserTestCase) ... ok test_accuracy (numpy_test.NumpyTestCase) test if the string representation maintains accuracy ... ok test_as_strided (numpy_test.NumpyTestCase) test object with array interface which isnt an ndarray, like the result of as_strided ... ok test_b64 (numpy_test.NumpyTestCase) test that binary encoding works ... ok test_buffer (numpy_test.NumpyTestCase) test behavior with memoryviews which are not ndarrays ... ok test_byteorder (numpy_test.NumpyTestCase) test that byteorder is properly conserved across views, for text and binary encoding ... ok test_dtype_roundtrip (numpy_test.NumpyTestCase) ... /build/jsonpickle-0.9.5/tests/numpy_test.py:54: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np.dtype('1i4', align=True), ok test_fortran_base (numpy_test.NumpyTestCase) Test a base array in fortran order ... ok test_generic_roundtrip (numpy_test.NumpyTestCase) ... ok test_immutable (numpy_test.NumpyTestCase) test that immutability flag is copied correctly ... ok test_ndarray_roundtrip (numpy_test.NumpyTestCase) ... /build/jsonpickle-0.9.5/jsonpickle/ext/numpy.py:242: UserWarning: ndarray is defined by reference to an object we do not know how to serialize. A deep copy is serialized instead, breaking memory aliasing. warnings.warn(msg) ok test_shape (numpy_test.NumpyTestCase) test that shapes containing zeros, which cannot be represented as nested lists, are deserialized correctly ... ok test_strides (numpy_test.NumpyTestCase) test that cases with non-standard strides and offsets work correctly ... ok test_transpose (numpy_test.NumpyTestCase) test handling of non-c-contiguous memory layout ... ok test_views (numpy_test.NumpyTestCase) Test that views are maintained under serialization ... ok test_weird_arrays (numpy_test.NumpyTestCase) test that we disallow serialization of references to arrays that do not effectively own their memory ... ok test_FixedOffsetSerializable (bson_test.BSONTestCase) ... ok test_datetime_with_fixed_offset (bson_test.BSONTestCase) ... ok test_nested_objects (bson_test.BSONTestCase) ... ok test_stdlib_pickle (bson_test.BSONTestCase) ... ok test_timedelta (bson_test.BSONTestCase) ... ok ====================================================================== ERROR: test_list_with_fd (object_test.AdvancedObjectsTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/jsonpickle-0.9.5/tests/object_test.py", line 368, in test_list_with_fd self.assertEqual([None], newobj) File "/usr/lib/python3.8/unittest/case.py", line 912, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python3.8/unittest/case.py", line 1118, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/lib/python3.8/unittest/case.py", line 1096, in assertSequenceEqual pprint.pformat(seq2).splitlines())) File "/usr/lib/python3.8/pprint.py", line 58, in pformat return PrettyPrinter(indent=indent, width=width, depth=depth, File "/usr/lib/python3.8/pprint.py", line 153, in pformat self._format(object, sio, 0, 0, {}, 0) File "/usr/lib/python3.8/pprint.py", line 170, in _format rep = self._repr(object, context, level) File "/usr/lib/python3.8/pprint.py", line 404, in _repr repr, readable, recursive = self.format(object, context.copy(), File "/usr/lib/python3.8/pprint.py", line 417, in format return _safe_repr(object, context, maxlevels, level, self._sort_dicts) File "/usr/lib/python3.8/pprint.py", line 560, in _safe_repr orepr, oreadable, orecur = _safe_repr(o, context, maxlevels, level, sort_dicts) File "/usr/lib/python3.8/pprint.py", line 569, in _safe_repr rep = repr(object) ValueError: I/O operation on uninitialized object ====================================================================== FAIL: test_dict_with_fd (object_test.AdvancedObjectsTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/jsonpickle-0.9.5/tests/object_test.py", line 384, in test_dict_with_fd self.assertEqual(None, newobj['fd']) AssertionError: None != <_io.TextIOWrapper object at 0x7f8955a6a790> ====================================================================== FAIL: test_thing_with_fd (object_test.AdvancedObjectsTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/jsonpickle-0.9.5/tests/object_test.py", line 376, in test_thing_with_fd self.assertEqual(None, newobj.name) AssertionError: None != <_io.TextIOWrapper object at 0x7f8955a6a930> ---------------------------------------------------------------------- Ran 248 tests in 0.496s FAILED (failures=2, errors=1, skipped=4) E: pybuild pybuild:341: test: plugin custom failed with: exit code=1: PYTHONPATH=/build/jsonpickle-0.9.5/.pybuild/cpython3_3.8/build python3.8 tests/runtests.py dh_auto_test: pybuild --test -i python{version} -p "3.8 3.7" returned exit code 13 make[1]: *** [debian/rules:9: override_dh_auto_test] Error 255 make[1]: Leaving directory '/build/jsonpickle-0.9.5' make: *** [debian/rules:6: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2