Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731996 - dev-python/virtualenv-20.0.26 fails tests: E ModuleNotFoundError: No module named 'flaky'
Summary: dev-python/virtualenv-20.0.26 fails tests: E ModuleNotFoundError: No module...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 731714
  Show dependency tree
 
Reported: 2020-07-09 22:01 UTC by Sergei Trofimovich (RETIRED)
Modified: 2020-07-10 05:30 UTC (History)
0 users

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 Sergei Trofimovich (RETIRED) gentoo-dev 2020-07-09 22:01:30 UTC
Fund when was doing keywording for bug #731714

Build failure:

platform linux -- Python 3.7.8, pytest-5.4.3, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python3.7
cachedir: .pytest_cache
rootdir: /var/tmp/portage/dev-python/virtualenv-20.0.26/work/virtualenv-20.0.26, inifile: setup.cfg
plugins: freezegun-0.4.1, timeout-1.4.1, mock-3.1.1
collecting ... collected 268 items / 1 error / 267 selected

==================================== ERRORS ====================================
______________ ERROR collecting tests/integration/test_zipapp.py _______________
ImportError while importing test module '/var/tmp/portage/dev-python/virtualenv-20.0.26/work/virtualenv-20.0.26/tests/integration/test_zipapp.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.7/site-packages/_pytest/python.py:511: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:152: in exec_module
    exec(co, module.__dict__)
tests/integration/test_zipapp.py:8: in <module>
    from flaky import flaky
E   ModuleNotFoundError: No module named 'flaky'
=========================== short test summary info ============================
ERROR tests/integration/test_zipapp.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 4.10s ===============================
 * ERROR: dev-python/virtualenv-20.0.26::gentoo failed (test phase):
 *   Tests fail with python3.7
Comment 1 Larry the Git Cow gentoo-dev 2020-07-10 05:30:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=174b5db59bb3384086c235fcde69d2e81591f20a

commit 174b5db59bb3384086c235fcde69d2e81591f20a
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-07-10 05:28:29 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-07-10 05:29:58 +0000

    dev-python/virtualenv: Add test-dep on flaky
    
    Closes: https://bugs.gentoo.org/731996
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/virtualenv/virtualenv-20.0.26.ebuild | 1 +
 1 file changed, 1 insertion(+)