[Python-modules-team] Bug#1002394: tinydb: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 3.9" returned exit code 13

Lucas Nussbaum lucas at debian.org
Wed Dec 22 07:58:06 GMT 2021


Source: tinydb
Version: 3.15.2-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:237: python3.10 setup.py config 
> running config
> I: pybuild base:237: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:237: /usr/bin/python3.10 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tinydb/build/tinydb
> copying tinydb/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tinydb/build/tinydb
> copying tinydb/middlewares.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tinydb/build/tinydb
> copying tinydb/storages.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tinydb/build/tinydb
> copying tinydb/queries.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tinydb/build/tinydb
> copying tinydb/operations.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tinydb/build/tinydb
> copying tinydb/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tinydb/build/tinydb
> copying tinydb/database.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tinydb/build/tinydb
> copying tinydb/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tinydb/build/tinydb
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tinydb/build/tinydb
> copying tinydb/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tinydb/build/tinydb
> copying tinydb/middlewares.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tinydb/build/tinydb
> copying tinydb/storages.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tinydb/build/tinydb
> copying tinydb/queries.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tinydb/build/tinydb
> copying tinydb/operations.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tinydb/build/tinydb
> copying tinydb/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tinydb/build/tinydb
> copying tinydb/database.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tinydb/build/tinydb
> copying tinydb/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tinydb/build/tinydb
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tinydb/build; python3.10 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 -- /usr/bin/python3.10
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: cov-3.0.0
> collecting ... collected 130 items
> 
> tests/test_middlewares.py::test_caching PASSED                           [  0%]
> tests/test_middlewares.py::test_caching_read PASSED                      [  1%]
> tests/test_middlewares.py::test_caching_write_many PASSED                [  2%]
> tests/test_middlewares.py::test_caching_flush PASSED                     [  3%]
> tests/test_middlewares.py::test_caching_flush_manually PASSED            [  3%]
> tests/test_middlewares.py::test_caching_write PASSED                     [  4%]
> tests/test_middlewares.py::test_nested PASSED                            [  5%]
> tests/test_middlewares.py::test_caching_json_write PASSED                [  6%]
> tests/test_operations.py::test_delete PASSED                             [  6%]
> tests/test_operations.py::test_add_int PASSED                            [  7%]
> tests/test_operations.py::test_add_str PASSED                            [  8%]
> tests/test_operations.py::test_subtract PASSED                           [  9%]
> tests/test_operations.py::test_set PASSED                                [ 10%]
> tests/test_operations.py::test_increment PASSED                          [ 10%]
> tests/test_operations.py::test_decrement PASSED                          [ 11%]
> tests/test_queries.py::test_no_path PASSED                               [ 12%]
> tests/test_queries.py::test_path_only PASSED                             [ 13%]
> tests/test_queries.py::test_path_and PASSED                              [ 13%]
> tests/test_queries.py::test_eq PASSED                                    [ 14%]
> tests/test_queries.py::test_ne PASSED                                    [ 15%]
> tests/test_queries.py::test_lt PASSED                                    [ 16%]
> tests/test_queries.py::test_le PASSED                                    [ 16%]
> tests/test_queries.py::test_gt PASSED                                    [ 17%]
> tests/test_queries.py::test_ge PASSED                                    [ 18%]
> tests/test_queries.py::test_or PASSED                                    [ 19%]
> tests/test_queries.py::test_and PASSED                                   [ 20%]
> tests/test_queries.py::test_not PASSED                                   [ 20%]
> tests/test_queries.py::test_has_key PASSED                               [ 21%]
> tests/test_queries.py::test_regex PASSED                                 [ 22%]
> tests/test_queries.py::test_custom PASSED                                [ 23%]
> tests/test_queries.py::test_custom_with_params PASSED                    [ 23%]
> tests/test_queries.py::test_any PASSED                                   [ 24%]
> tests/test_queries.py::test_all PASSED                                   [ 25%]
> tests/test_queries.py::test_has PASSED                                   [ 26%]
> tests/test_queries.py::test_one_of PASSED                                [ 26%]
> tests/test_queries.py::test_hash PASSED                                  [ 27%]
> tests/test_queries.py::test_orm_usage PASSED                             [ 28%]
> tests/test_queries.py::test_repr PASSED                                  [ 29%]
> tests/test_queries.py::test_subclass PASSED                              [ 30%]
> tests/test_storages.py::test_json PASSED                                 [ 30%]
> tests/test_storages.py::test_json_kwargs PASSED                          [ 31%]
> tests/test_storages.py::test_json_readwrite PASSED                       [ 32%]
> tests/test_storages.py::test_create_dirs PASSED                          [ 33%]
> tests/test_storages.py::test_json_invalid_directory PASSED               [ 33%]
> tests/test_storages.py::test_in_memory PASSED                            [ 34%]
> tests/test_storages.py::test_in_memory_close PASSED                      [ 35%]
> tests/test_storages.py::test_custom PASSED                               [ 36%]
> tests/test_storages.py::test_read_once PASSED                            [ 36%]
> tests/test_storages.py::test_custom_with_exception PASSED                [ 37%]
> tests/test_storages.py::test_yaml SKIPPED (PyYAML not installed)         [ 38%]
> tests/test_storages.py::test_encoding PASSED                             [ 39%]
> tests/test_tables.py::test_tables_list PASSED                            [ 40%]
> tests/test_tables.py::test_one_table PASSED                              [ 40%]
> tests/test_tables.py::test_multiple_tables PASSED                        [ 41%]
> tests/test_tables.py::test_caching PASSED                                [ 42%]
> tests/test_tables.py::test_zero_cache_size PASSED                        [ 43%]
> tests/test_tables.py::test_query_cache_size PASSED                       [ 43%]
> tests/test_tables.py::test_lru_cache PASSED                              [ 44%]
> tests/test_tables.py::test_table_is_iterable PASSED                      [ 45%]
> tests/test_tables.py::test_table_name PASSED                             [ 46%]
> tests/test_tables.py::test_table_repr PASSED                             [ 46%]
> tests/test_tinydb.py::test_purge PASSED                                  [ 47%]
> tests/test_tinydb.py::test_all PASSED                                    [ 48%]
> tests/test_tinydb.py::test_insert PASSED                                 [ 49%]
> tests/test_tinydb.py::test_insert_ids PASSED                             [ 50%]
> tests/test_tinydb.py::test_insert_multiple PASSED                        [ 50%]
> tests/test_tinydb.py::test_insert_multiple_with_ids PASSED               [ 51%]
> tests/test_tinydb.py::test_insert_invalid_type_raises_error PASSED       [ 52%]
> tests/test_tinydb.py::test_insert_valid_mapping_type PASSED              [ 53%]
> tests/test_tinydb.py::test_cutom_mapping_type_with_json PASSED           [ 53%]
> tests/test_tinydb.py::test_remove PASSED                                 [ 54%]
> tests/test_tinydb.py::test_remove_all_fails PASSED                       [ 55%]
> tests/test_tinydb.py::test_remove_multiple PASSED                        [ 56%]
> tests/test_tinydb.py::test_remove_ids PASSED                             [ 56%]
> tests/test_tinydb.py::test_remove_returns_ids PASSED                     [ 57%]
> tests/test_tinydb.py::test_update PASSED                                 [ 58%]
> tests/test_tinydb.py::test_update_all PASSED                             [ 59%]
> tests/test_tinydb.py::test_update_returns_ids PASSED                     [ 60%]
> tests/test_tinydb.py::test_update_transform PASSED                       [ 60%]
> tests/test_tinydb.py::test_update_ids PASSED                             [ 61%]
> tests/test_tinydb.py::test_write_back PASSED                             [ 62%]
> tests/test_tinydb.py::test_write_back_whole_doc PASSED                   [ 63%]
> tests/test_tinydb.py::test_write_back_returns_ids PASSED                 [ 63%]
> tests/test_tinydb.py::test_write_back_fails PASSED                       [ 64%]
> tests/test_tinydb.py::test_write_back_id_exceed PASSED                   [ 65%]
> tests/test_tinydb.py::test_write_back_empty_ok PASSED                    [ 66%]
> tests/test_tinydb.py::test_upsert PASSED                                 [ 66%]
> tests/test_tinydb.py::test_search PASSED                                 [ 67%]
> tests/test_tinydb.py::test_search_path PASSED                            [ 68%]
> tests/test_tinydb.py::test_search_no_results_cache PASSED                [ 69%]
> tests/test_tinydb.py::test_get PASSED                                    [ 70%]
> tests/test_tinydb.py::test_get_ids PASSED                                [ 70%]
> tests/test_tinydb.py::test_count PASSED                                  [ 71%]
> tests/test_tinydb.py::test_contains PASSED                               [ 72%]
> tests/test_tinydb.py::test_contains_ids PASSED                           [ 73%]
> tests/test_tinydb.py::test_get_idempotent PASSED                         [ 73%]
> tests/test_tinydb.py::test_multiple_dbs PASSED                           [ 74%]
> tests/test_tinydb.py::test_storage_closed_once PASSED                    [ 75%]
> tests/test_tinydb.py::test_unique_ids PASSED                             [ 76%]
> tests/test_tinydb.py::test_lastid_after_open PASSED                      [ 76%]
> tests/test_tinydb.py::test_unicode_memory SKIPPED (requires python2)     [ 77%]
> tests/test_tinydb.py::test_unicode_json SKIPPED (requires python2)       [ 78%]
> tests/test_tinydb.py::test_doc_ids_json PASSED                           [ 79%]
> tests/test_tinydb.py::test_insert_string PASSED                          [ 80%]
> tests/test_tinydb.py::test_insert_invalid_dict PASSED                    [ 80%]
> tests/test_tinydb.py::test_gc PASSED                                     [ 81%]
> tests/test_tinydb.py::test_non_default_table PASSED                      [ 82%]
> tests/test_tinydb.py::test_non_default_table_args PASSED                 [ 83%]
> tests/test_tinydb.py::test_purge_table PASSED                            [ 83%]
> tests/test_tinydb.py::test_empty_write PASSED                            [ 84%]
> tests/test_tinydb.py::test_query_cache PASSED                            [ 85%]
> tests/test_tinydb.py::test_tinydb_is_iterable PASSED                     [ 86%]
> tests/test_tinydb.py::test_eids PASSED                                   [ 86%]
> tests/test_tinydb.py::test_custom_table_class PASSED                     [ 87%]
> tests/test_tinydb.py::test_string_key FAILED                             [ 88%]
> tests/test_tinydb.py::test_repr PASSED                                   [ 89%]
> tests/test_tinydb.py::test_delete PASSED                                 [ 90%]
> tests/test_tinydb.py::test_insert_multiple_with_single_dict PASSED       [ 90%]
> tests/test_tinydb.py::test_access_storage PASSED                         [ 91%]
> tests/test_utils.py::test_lru_cache PASSED                               [ 92%]
> tests/test_utils.py::test_lru_cache_set_multiple PASSED                  [ 93%]
> tests/test_utils.py::test_lru_cache_get PASSED                           [ 93%]
> tests/test_utils.py::test_lru_cache_delete PASSED                        [ 94%]
> tests/test_utils.py::test_lru_cache_clear PASSED                         [ 95%]
> tests/test_utils.py::test_lru_cache_unlimited PASSED                     [ 96%]
> tests/test_utils.py::test_lru_cache_unlimited_explicit PASSED            [ 96%]
> tests/test_utils.py::test_lru_cache_iteration_works PASSED               [ 97%]
> tests/test_utils.py::test_catch_warning PASSED                           [ 98%]
> tests/test_utils.py::test_catch_warning_reset_filter PASSED              [ 99%]
> tests/test_utils.py::test_freeze PASSED                                  [100%]
> 
> =================================== FAILURES ===================================
> _______________________________ test_string_key ________________________________
> 
>     def test_string_key():
> >       from collections import Mapping
> E       ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
> 
> tests/test_tinydb.py:710: ImportError
> 
> ---------- coverage: platform linux, python 3.10.1-final-0 -----------
> Name                    Stmts   Miss  Cover
> -------------------------------------------
> tinydb/__init__.py          5      0   100%
> tinydb/database.py        247      2    99%
> tinydb/middlewares.py      32      0   100%
> tinydb/operations.py       24      0   100%
> tinydb/queries.py          97      1    99%
> tinydb/storages.py         57      3    95%
> tinydb/utils.py            79      1    99%
> tinydb/version.py           1      0   100%
> -------------------------------------------
> TOTAL                     542      7    99%
> 
> =========================== short test summary info ============================
> FAILED tests/test_tinydb.py::test_string_key - ImportError: cannot import nam...
> =================== 1 failed, 126 passed, 3 skipped in 0.60s ===================
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-user42/garbage-080798fc-1a6b-4850-9bcc-7639b5d160dd/test_sysfind_no_permisson_igno0
> <class 'OSError'>: [Errno 39] Directory not empty: 'test_sysfind_no_permisson_igno0'
>   warnings.warn(
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-user42/garbage-080798fc-1a6b-4850-9bcc-7639b5d160dd
> <class 'OSError'>: [Errno 39] Directory not empty: '/tmp/pytest-of-user42/garbage-080798fc-1a6b-4850-9bcc-7639b5d160dd'
>   warnings.warn(
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-user42/garbage-e109ad60-8370-4cd4-a0fe-756980cbf112/test_sysfind_no_permisson_igno0
> <class 'OSError'>: [Errno 39] Directory not empty: 'test_sysfind_no_permisson_igno0'
>   warnings.warn(
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-user42/garbage-e109ad60-8370-4cd4-a0fe-756980cbf112
> <class 'OSError'>: [Errno 39] Directory not empty: '/tmp/pytest-of-user42/garbage-e109ad60-8370-4cd4-a0fe-756980cbf112'
>   warnings.warn(
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-user42/garbage-ddbe9b54-ead1-44eb-8109-ff4195ed4597/test_sysfind_no_permisson_igno0
> <class 'OSError'>: [Errno 39] Directory not empty: 'test_sysfind_no_permisson_igno0'
>   warnings.warn(
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-user42/garbage-ddbe9b54-ead1-44eb-8109-ff4195ed4597
> <class 'OSError'>: [Errno 39] Directory not empty: '/tmp/pytest-of-user42/garbage-ddbe9b54-ead1-44eb-8109-ff4195ed4597'
>   warnings.warn(
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tinydb/build; python3.10 -m pytest tests
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tinydb/build; python3.9 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 -- /usr/bin/python3.9
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: cov-3.0.0
> collecting ... collected 130 items
> 
> tests/test_middlewares.py::test_caching PASSED                           [  0%]
> tests/test_middlewares.py::test_caching_read PASSED                      [  1%]
> tests/test_middlewares.py::test_caching_write_many PASSED                [  2%]
> tests/test_middlewares.py::test_caching_flush PASSED                     [  3%]
> tests/test_middlewares.py::test_caching_flush_manually PASSED            [  3%]
> tests/test_middlewares.py::test_caching_write PASSED                     [  4%]
> tests/test_middlewares.py::test_nested PASSED                            [  5%]
> tests/test_middlewares.py::test_caching_json_write PASSED                [  6%]
> tests/test_operations.py::test_delete PASSED                             [  6%]
> tests/test_operations.py::test_add_int PASSED                            [  7%]
> tests/test_operations.py::test_add_str PASSED                            [  8%]
> tests/test_operations.py::test_subtract PASSED                           [  9%]
> tests/test_operations.py::test_set PASSED                                [ 10%]
> tests/test_operations.py::test_increment PASSED                          [ 10%]
> tests/test_operations.py::test_decrement PASSED                          [ 11%]
> tests/test_queries.py::test_no_path PASSED                               [ 12%]
> tests/test_queries.py::test_path_only PASSED                             [ 13%]
> tests/test_queries.py::test_path_and PASSED                              [ 13%]
> tests/test_queries.py::test_eq PASSED                                    [ 14%]
> tests/test_queries.py::test_ne PASSED                                    [ 15%]
> tests/test_queries.py::test_lt PASSED                                    [ 16%]
> tests/test_queries.py::test_le PASSED                                    [ 16%]
> tests/test_queries.py::test_gt PASSED                                    [ 17%]
> tests/test_queries.py::test_ge PASSED                                    [ 18%]
> tests/test_queries.py::test_or PASSED                                    [ 19%]
> tests/test_queries.py::test_and PASSED                                   [ 20%]
> tests/test_queries.py::test_not PASSED                                   [ 20%]
> tests/test_queries.py::test_has_key PASSED                               [ 21%]
> tests/test_queries.py::test_regex PASSED                                 [ 22%]
> tests/test_queries.py::test_custom PASSED                                [ 23%]
> tests/test_queries.py::test_custom_with_params PASSED                    [ 23%]
> tests/test_queries.py::test_any PASSED                                   [ 24%]
> tests/test_queries.py::test_all PASSED                                   [ 25%]
> tests/test_queries.py::test_has PASSED                                   [ 26%]
> tests/test_queries.py::test_one_of PASSED                                [ 26%]
> tests/test_queries.py::test_hash PASSED                                  [ 27%]
> tests/test_queries.py::test_orm_usage PASSED                             [ 28%]
> tests/test_queries.py::test_repr PASSED                                  [ 29%]
> tests/test_queries.py::test_subclass PASSED                              [ 30%]
> tests/test_storages.py::test_json PASSED                                 [ 30%]
> tests/test_storages.py::test_json_kwargs PASSED                          [ 31%]
> tests/test_storages.py::test_json_readwrite PASSED                       [ 32%]
> tests/test_storages.py::test_create_dirs PASSED                          [ 33%]
> tests/test_storages.py::test_json_invalid_directory PASSED               [ 33%]
> tests/test_storages.py::test_in_memory PASSED                            [ 34%]
> tests/test_storages.py::test_in_memory_close PASSED                      [ 35%]
> tests/test_storages.py::test_custom PASSED                               [ 36%]
> tests/test_storages.py::test_read_once PASSED                            [ 36%]
> tests/test_storages.py::test_custom_with_exception PASSED                [ 37%]
> tests/test_storages.py::test_yaml SKIPPED (PyYAML not installed)         [ 38%]
> tests/test_storages.py::test_encoding PASSED                             [ 39%]
> tests/test_tables.py::test_tables_list PASSED                            [ 40%]
> tests/test_tables.py::test_one_table PASSED                              [ 40%]
> tests/test_tables.py::test_multiple_tables PASSED                        [ 41%]
> tests/test_tables.py::test_caching PASSED                                [ 42%]
> tests/test_tables.py::test_zero_cache_size PASSED                        [ 43%]
> tests/test_tables.py::test_query_cache_size PASSED                       [ 43%]
> tests/test_tables.py::test_lru_cache PASSED                              [ 44%]
> tests/test_tables.py::test_table_is_iterable PASSED                      [ 45%]
> tests/test_tables.py::test_table_name PASSED                             [ 46%]
> tests/test_tables.py::test_table_repr PASSED                             [ 46%]
> tests/test_tinydb.py::test_purge PASSED                                  [ 47%]
> tests/test_tinydb.py::test_all PASSED                                    [ 48%]
> tests/test_tinydb.py::test_insert PASSED                                 [ 49%]
> tests/test_tinydb.py::test_insert_ids PASSED                             [ 50%]
> tests/test_tinydb.py::test_insert_multiple PASSED                        [ 50%]
> tests/test_tinydb.py::test_insert_multiple_with_ids PASSED               [ 51%]
> tests/test_tinydb.py::test_insert_invalid_type_raises_error PASSED       [ 52%]
> tests/test_tinydb.py::test_insert_valid_mapping_type PASSED              [ 53%]
> tests/test_tinydb.py::test_cutom_mapping_type_with_json PASSED           [ 53%]
> tests/test_tinydb.py::test_remove PASSED                                 [ 54%]
> tests/test_tinydb.py::test_remove_all_fails PASSED                       [ 55%]
> tests/test_tinydb.py::test_remove_multiple PASSED                        [ 56%]
> tests/test_tinydb.py::test_remove_ids PASSED                             [ 56%]
> tests/test_tinydb.py::test_remove_returns_ids PASSED                     [ 57%]
> tests/test_tinydb.py::test_update PASSED                                 [ 58%]
> tests/test_tinydb.py::test_update_all PASSED                             [ 59%]
> tests/test_tinydb.py::test_update_returns_ids PASSED                     [ 60%]
> tests/test_tinydb.py::test_update_transform PASSED                       [ 60%]
> tests/test_tinydb.py::test_update_ids PASSED                             [ 61%]
> tests/test_tinydb.py::test_write_back PASSED                             [ 62%]
> tests/test_tinydb.py::test_write_back_whole_doc PASSED                   [ 63%]
> tests/test_tinydb.py::test_write_back_returns_ids PASSED                 [ 63%]
> tests/test_tinydb.py::test_write_back_fails PASSED                       [ 64%]
> tests/test_tinydb.py::test_write_back_id_exceed PASSED                   [ 65%]
> tests/test_tinydb.py::test_write_back_empty_ok PASSED                    [ 66%]
> tests/test_tinydb.py::test_upsert PASSED                                 [ 66%]
> tests/test_tinydb.py::test_search PASSED                                 [ 67%]
> tests/test_tinydb.py::test_search_path PASSED                            [ 68%]
> tests/test_tinydb.py::test_search_no_results_cache PASSED                [ 69%]
> tests/test_tinydb.py::test_get PASSED                                    [ 70%]
> tests/test_tinydb.py::test_get_ids PASSED                                [ 70%]
> tests/test_tinydb.py::test_count PASSED                                  [ 71%]
> tests/test_tinydb.py::test_contains PASSED                               [ 72%]
> tests/test_tinydb.py::test_contains_ids PASSED                           [ 73%]
> tests/test_tinydb.py::test_get_idempotent PASSED                         [ 73%]
> tests/test_tinydb.py::test_multiple_dbs PASSED                           [ 74%]
> tests/test_tinydb.py::test_storage_closed_once PASSED                    [ 75%]
> tests/test_tinydb.py::test_unique_ids PASSED                             [ 76%]
> tests/test_tinydb.py::test_lastid_after_open PASSED                      [ 76%]
> tests/test_tinydb.py::test_unicode_memory SKIPPED (requires python2)     [ 77%]
> tests/test_tinydb.py::test_unicode_json SKIPPED (requires python2)       [ 78%]
> tests/test_tinydb.py::test_doc_ids_json PASSED                           [ 79%]
> tests/test_tinydb.py::test_insert_string PASSED                          [ 80%]
> tests/test_tinydb.py::test_insert_invalid_dict PASSED                    [ 80%]
> tests/test_tinydb.py::test_gc PASSED                                     [ 81%]
> tests/test_tinydb.py::test_non_default_table PASSED                      [ 82%]
> tests/test_tinydb.py::test_non_default_table_args PASSED                 [ 83%]
> tests/test_tinydb.py::test_purge_table PASSED                            [ 83%]
> tests/test_tinydb.py::test_empty_write PASSED                            [ 84%]
> tests/test_tinydb.py::test_query_cache PASSED                            [ 85%]
> tests/test_tinydb.py::test_tinydb_is_iterable PASSED                     [ 86%]
> tests/test_tinydb.py::test_eids PASSED                                   [ 86%]
> tests/test_tinydb.py::test_custom_table_class PASSED                     [ 87%]
> tests/test_tinydb.py::test_string_key PASSED                             [ 88%]
> tests/test_tinydb.py::test_repr PASSED                                   [ 89%]
> tests/test_tinydb.py::test_delete PASSED                                 [ 90%]
> tests/test_tinydb.py::test_insert_multiple_with_single_dict PASSED       [ 90%]
> tests/test_tinydb.py::test_access_storage PASSED                         [ 91%]
> tests/test_utils.py::test_lru_cache PASSED                               [ 92%]
> tests/test_utils.py::test_lru_cache_set_multiple PASSED                  [ 93%]
> tests/test_utils.py::test_lru_cache_get PASSED                           [ 93%]
> tests/test_utils.py::test_lru_cache_delete PASSED                        [ 94%]
> tests/test_utils.py::test_lru_cache_clear PASSED                         [ 95%]
> tests/test_utils.py::test_lru_cache_unlimited PASSED                     [ 96%]
> tests/test_utils.py::test_lru_cache_unlimited_explicit PASSED            [ 96%]
> tests/test_utils.py::test_lru_cache_iteration_works PASSED               [ 97%]
> tests/test_utils.py::test_catch_warning PASSED                           [ 98%]
> tests/test_utils.py::test_catch_warning_reset_filter PASSED              [ 99%]
> tests/test_utils.py::test_freeze PASSED                                  [100%]
> 
> =============================== warnings summary ===============================
> .pybuild/cpython3_3.9_tinydb/build/tests/test_tinydb.py::test_string_key
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tinydb/build/tests/test_tinydb.py:710: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
>     from collections import Mapping
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> 
> ----------- coverage: platform linux, python 3.9.9-final-0 -----------
> Name                    Stmts   Miss  Cover
> -------------------------------------------
> tinydb/__init__.py          5      0   100%
> tinydb/database.py        247      2    99%
> tinydb/middlewares.py      32      0   100%
> tinydb/operations.py       24      0   100%
> tinydb/queries.py          97      1    99%
> tinydb/storages.py         57      3    95%
> tinydb/utils.py            79      1    99%
> tinydb/version.py           1      0   100%
> -------------------------------------------
> TOTAL                     542      7    99%
> 
> ================== 127 passed, 3 skipped, 1 warning in 0.61s ===================
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-user42/garbage-436e8645-368c-473f-ac90-2d8e433290bf/test_sysfind_no_permisson_igno0
> <class 'OSError'>: [Errno 39] Directory not empty: 'test_sysfind_no_permisson_igno0'
>   warnings.warn(
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-user42/garbage-436e8645-368c-473f-ac90-2d8e433290bf
> <class 'OSError'>: [Errno 39] Directory not empty: '/tmp/pytest-of-user42/garbage-436e8645-368c-473f-ac90-2d8e433290bf'
>   warnings.warn(
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-user42/garbage-6c608895-5766-41de-8281-79f3f39a35fa/test_sysfind_no_permisson_igno0
> <class 'OSError'>: [Errno 39] Directory not empty: 'test_sysfind_no_permisson_igno0'
>   warnings.warn(
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-user42/garbage-6c608895-5766-41de-8281-79f3f39a35fa
> <class 'OSError'>: [Errno 39] Directory not empty: '/tmp/pytest-of-user42/garbage-6c608895-5766-41de-8281-79f3f39a35fa'
>   warnings.warn(
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 3.9" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/tinydb_3.15.2-2_unstable.log

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.



More information about the Python-modules-team mailing list