Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 478784 Details for
Bug 623292
dev-python/tinydb-3.1.3 : removal
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:tinydb-3.1.3:20170701-132443.log
dev-python:tinydb-3.1.3:20170701-132443.log (text/plain), 11.29 KB, created by
Toralf Förster
on 2017-07-01 14:25:43 UTC
(
hide
)
Description:
dev-python:tinydb-3.1.3:20170701-132443.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2017-07-01 14:25:43 UTC
Size:
11.29 KB
patch
obsolete
> * Package: dev-python/tinydb-3.1.3 > * Repository: gentoo > * Maintainer: python@gentoo.org > * Upstream: markus@m-siemens.de > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking tinydb-3.1.3.zip to /var/tmp/portage/dev-python/tinydb-3.1.3/work >>>> Source unpacked in /var/tmp/portage/dev-python/tinydb-3.1.3/work >>>> Preparing source in /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3 ... > * python2_7: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python2.7 setup.py build >running build >running build_py >creating /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python2_7/lib/tinydb >copying tinydb/__init__.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python2_7/lib/tinydb >copying tinydb/utils.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python2_7/lib/tinydb >copying tinydb/storages.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python2_7/lib/tinydb >copying tinydb/queries.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python2_7/lib/tinydb >copying tinydb/operations.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python2_7/lib/tinydb >copying tinydb/middlewares.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python2_7/lib/tinydb >copying tinydb/database.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python2_7/lib/tinydb >warning: build_py: byte-compiling is disabled, skipping. > > * python3_4: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python3.4 setup.py build >running build >running build_py >creating /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python3_4/lib/tinydb >copying tinydb/__init__.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python3_4/lib/tinydb >copying tinydb/utils.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python3_4/lib/tinydb >copying tinydb/storages.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python3_4/lib/tinydb >copying tinydb/queries.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python3_4/lib/tinydb >copying tinydb/operations.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python3_4/lib/tinydb >copying tinydb/middlewares.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python3_4/lib/tinydb >copying tinydb/database.py -> /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3-python3_4/lib/tinydb >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/tinydb-3.1.3 > * python2_7: running distutils-r1_run_phase python_test >============================= test session starts ============================== >platform linux2 -- Python 2.7.13, pytest-3.0.7, py-1.4.33, pluggy-0.4.0 -- /usr/bin/python2.7 >cachedir: .cache >rootdir: /var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3, inifile: >plugins: xprocess-0.9.1, xdist-1.15.0, timeout-1.2.0, subtesthack-0.1.1, rerunfailures-2.1.0, pythonpath-0.7.1, pep8-1.0.6, mock-1.6.0, cov-2.3.1, capturelog-0.7, hypothesis-3.8.3, betamax-0.8.0 >collecting ... collected 83 items > >tests/test_middlewares.py::test_caching PASSED >tests/test_middlewares.py::test_caching_read PASSED >tests/test_middlewares.py::test_caching_write_many PASSED >tests/test_middlewares.py::test_caching_flush PASSED >tests/test_middlewares.py::test_caching_write PASSED >tests/test_middlewares.py::test_nested PASSED >tests/test_middlewares.py::test_caching_json_write PASSED >tests/test_operations.py::test_delete PASSED >tests/test_operations.py::test_increment PASSED >tests/test_operations.py::test_decrement PASSED >tests/test_queries.py::test_no_path PASSED >tests/test_queries.py::test_eq PASSED >tests/test_queries.py::test_ne PASSED >tests/test_queries.py::test_lt PASSED >tests/test_queries.py::test_le PASSED >tests/test_queries.py::test_gt PASSED >tests/test_queries.py::test_ge PASSED >tests/test_queries.py::test_or PASSED >tests/test_queries.py::test_and PASSED >tests/test_queries.py::test_not PASSED >tests/test_queries.py::test_has_key PASSED >tests/test_queries.py::test_regex PASSED >tests/test_queries.py::test_custom PASSED >tests/test_queries.py::test_custom_with_params PASSED >tests/test_queries.py::test_any PASSED >tests/test_queries.py::test_all PASSED >tests/test_queries.py::test_has PASSED >tests/test_queries.py::test_hash PASSED >tests/test_queries.py::test_orm_usage PASSED >tests/test_storages.py::test_json PASSED >tests/test_storages.py::test_json_kwargs FAILED >tests/test_storages.py::test_json_readwrite PASSED >tests/test_storages.py::test_json_invalid_directory PASSED >tests/test_storages.py::test_in_memory PASSED >tests/test_storages.py::test_in_memory_close PASSED >tests/test_storages.py::test_custom PASSED >tests/test_tables.py::test_tables_list PASSED >tests/test_tables.py::test_one_table PASSED >tests/test_tables.py::test_multiple_tables PASSED >tests/test_tables.py::test_caching PASSED >tests/test_tables.py::test_query_cache_size PASSED >tests/test_tables.py::test_lru_cache PASSED >tests/test_tinydb.py::test_purge PASSED >tests/test_tinydb.py::test_all PASSED >tests/test_tinydb.py::test_insert PASSED >tests/test_tinydb.py::test_insert_ids PASSED >tests/test_tinydb.py::test_insert_multiple PASSED >tests/test_tinydb.py::test_insert_multiple_with_ids PASSED >tests/test_tinydb.py::test_remove PASSED >tests/test_tinydb.py::test_remove_multiple PASSED >tests/test_tinydb.py::test_remove_ids PASSED >tests/test_tinydb.py::test_remove_returns_ids PASSED >tests/test_tinydb.py::test_update PASSED >tests/test_tinydb.py::test_update_returns_ids PASSED >tests/test_tinydb.py::test_update_transform PASSED >tests/test_tinydb.py::test_update_ids PASSED >tests/test_tinydb.py::test_search PASSED >tests/test_tinydb.py::test_get PASSED >tests/test_tinydb.py::test_get_ids PASSED >tests/test_tinydb.py::test_count PASSED >tests/test_tinydb.py::test_contains PASSED >tests/test_tinydb.py::test_contains_ids PASSED >tests/test_tinydb.py::test_get_idempotent PASSED >tests/test_tinydb.py::test_multiple_dbs PASSED >tests/test_tinydb.py::test_storage_closed_once PASSED >tests/test_tinydb.py::test_unique_ids PASSED >tests/test_tinydb.py::test_lastid_after_open PASSED >tests/test_tinydb.py::test_unicode_memory PASSED >tests/test_tinydb.py::test_unicode_json PASSED >tests/test_tinydb.py::test_eids_json PASSED >tests/test_tinydb.py::test_insert_string PASSED >tests/test_tinydb.py::test_insert_invalid_dict FAILED >tests/test_tinydb.py::test_gc PASSED >tests/test_utils.py::test_lru_cache PASSED >tests/test_utils.py::test_lru_cache_set_multiple PASSED >tests/test_utils.py::test_lru_cache_get PASSED >tests/test_utils.py::test_lru_cache_delete PASSED >tests/test_utils.py::test_lru_cache_clear PASSED >tests/test_utils.py::test_lru_cache_unlimited PASSED >tests/test_utils.py::test_lru_cache_unlimited_explicit PASSED >tests/test_utils.py::test_catch_warning PASSED >tests/test_utils.py::test_catch_warning_reset_filter PASSED >tests/test_utils.py::test_freeze PASSED > >=================================== FAILURES =================================== >_______________________________ test_json_kwargs _______________________________ > >tmpdir = local('/var/tmp/portage/dev-python/tinydb-3.1.3/temp/pytest-of-portage/pytest-0/test_json_kwargs0') > > def test_json_kwargs(tmpdir): > db_file = tmpdir.join('test.db') >> db = TinyDB(str(db_file), sort_keys=True, indent=4, separators=(',', ': ')) > >tests/test_storages.py:29: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tinydb/database.py:80: in __init__ > self._table = self.table('_default') >tinydb/database.py:102: in table > table._write({}) >tinydb/database.py:262: in _write > self._storage.write(values) >tinydb/database.py:45: in write > self._storage.write(data) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <tinydb.storages.JSONStorage object at 0x7f130ca48f90> >data = {'_default': {}} > > def write(self, data): > self._handle.seek(0) >> serialized = json.dumps(data, **self.kwargs) >E TypeError: 'separators' is an invalid keyword argument for this function > >tinydb/storages.py:105: TypeError >___________________________ test_insert_invalid_dict ___________________________ > >tmpdir = local('/var/tmp/portage/dev-python/tinydb-3.1.3/temp/pytest-of-portage/pytest-0/test_insert_invalid_dict0') > > def test_insert_invalid_dict(tmpdir): > path = str(tmpdir.join('db.json')) > > with TinyDB(path) as _db: > data = [{'int': 1}, {'int': 2}] > _db.insert_multiple(data) > > with pytest.raises(TypeError): >> _db.insert({'int': set(['bark'])}) # Fails >E Failed: DID NOT RAISE <type 'exceptions.TypeError'> > >tests/test_tinydb.py:397: Failed >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >============ 2 failed, 81 passed, 3 pytest-warnings in 0.63 seconds ============ > * ERROR: dev-python/tinydb-3.1.3::gentoo failed (test phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 115: Called src_test > * environment, line 2719: Called distutils-r1_src_test > * environment, line 903: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 349: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2238: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1544: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1542: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 573: Called distutils-r1_run_phase 'python_test' > * environment, line 834: Called python_test > * environment, line 2599: Called die > * The specific snippet of code: > * py.test -v -v || die > * > * If you need support, post the output of `emerge --info '=dev-python/tinydb-3.1.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/tinydb-3.1.3::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:tinydb-3.1.3:20170701-132443.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/tinydb-3.1.3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/tinydb-3.1.3/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3' > * S: '/var/tmp/portage/dev-python/tinydb-3.1.3/work/tinydb-3.1.3'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 623292
:
478782
| 478784 |
478786
|
478788
|
478790
|
478792
|
478794