Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674026 - dev-python/pytables-3.4.4: test failure: ImportError: No module named mock
Summary: dev-python/pytables-3.4.4: test failure: ImportError: No module named mock
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 673838
  Show dependency tree
 
Reported: 2018-12-29 18:42 UTC by Thomas Deutschmann (RETIRED)
Modified: 2019-01-01 21:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2018-12-29 18:42:30 UTC
>>> Source compiled.
>>> Test phase: dev-python/pytables-3.4.4
 * python2_7: running distutils-r1_run_phase python_test
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PyTables version:    3.4.4
HDF5 version:        1.8.18
NumPy version:       1.14.5
Numexpr version:     2.6.8 (not using Intel's VML/MKL)
Zlib version:        1.2.11 (in Python interpreter)
BZIP2 version:       1.0.6 (6-Sept-2010)
Blosc version:       1.11.2 (2017-01-27)
Blosc compressors:   blosclz (1.0.5), lz4 (1.8.2), lz4hc (1.8.2), snappy (unknown), zlib (1.2.11)
Blosc filters:       shuffle, bitshuffle
Cython version:      0.25.2
Python version:      2.7.15 (default, Sep 12 2018, 18:40:15)
[GCC 7.3.0]
Platform:            Linux-4.14.83-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.6
Byte-ordering:       little
Detected cores:      4
Default encoding:    ascii
Default FS encoding: UTF-8
Default locale:      (en_US, UTF-8)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/var/tmp/portage/dev-python/pytables-3.4.4/work/tables-3.4.4-python2_7/lib/tables/filters.py:331: FiltersWarning: compression library ``lzo`` is not available; using ``zlib`` instead
  % (complib, default_complib), FiltersWarning)
Performing only a light (yet comprehensive) subset of the test suite.
If you want a more complete test, try passing the --heavy flag to this script
(or set the 'heavy' parameter in case you are using tables.test() call).
The whole suite will take more than 4 hours to complete on a relatively
modern CPU and around 512 MB of main memory.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
version: 1.11.2
Traceback (most recent call last):
  File "tables/tests/test_all.py", line 143, in <module>
    unittest.main(defaultTest='tables.tests.suite')
  File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
    self.createTests()
  File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
    self.module)
  File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
    test = obj()
  File "/var/tmp/portage/dev-python/pytables-3.4.4/work/tables-3.4.4-python2_7/lib/tables/tests/test_all.py", line 72, in suite
    __import__(name)
  File "/var/tmp/portage/dev-python/pytables-3.4.4/work/tables-3.4.4-python2_7/lib/tables/tests/test_utils.py", line 5, in <module>
    from mock import patch
ImportError: No module named mock
 * ERROR: dev-python/pytables-3.4.4::gentoo failed (test phase):
 *   (no error message)
Comment 1 Larry the Git Cow gentoo-dev 2019-01-01 21:09:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f51899044592ec6f046c37d815fcd04acd4817

commit 09f51899044592ec6f046c37d815fcd04acd4817
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-12-30 18:15:21 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2019-01-01 21:09:25 +0000

    dev-python/pytables: add test dependency on mock
    
    Closes: https://bugs.gentoo.org/674026
    Package-Manager: Portage-2.3.53, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 dev-python/pytables/pytables-3.4.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)