Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861257 - dev-python/virtualenv-20.16.0 fails tests
Summary: dev-python/virtualenv-20.16.0 fails tests
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:
Depends on:
Blocks:
 
Reported: 2022-07-26 15:11 UTC by Agostino Sarubbo
Modified: 2022-07-26 17:33 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,302.04 KB, text/plain)
2022-07-26 15:11 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-07-26 15:11:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/virtualenv-20.16.0 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-26 15:11:48 UTC
Created attachment 794603 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-26 15:11:49 UTC
Error(s) that match a know pattern:


E           RuntimeError: failed to find interpreter for Builtin discover of python_spec='2'
FAILED tests/unit/create/test_creator.py::test_py_pyc_missing[False-False] - ...
FAILED tests/unit/create/test_creator.py::test_py_pyc_missing[True-False] - R...
interpreter=PythonInfo(spec=PyPy3.9.12.final.0-64, system=/usr/bin/pypy3.9, exe=/var/tmp/portage/dev-python/virtualenv-20.16.0/work/virtualenv-20.16.0-pypy3/install/usr/bin/pypy3, platform=linux, version='3.9.12 (05fbe3aa5b0845e6c37239768aa455451aa5faba, Jul 24 2022, 14:53:46)
[PyPy 7.3.9 with GCC 11.3.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'csh'
[PyPy 7.3.9 with GCC 11.3.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'csh') [ 22/300]
[PyPy 7.3.9 with GCC 11.3.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'csh') [ 28/300]
[PyPy 7.3.9 with GCC 11.3.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'fish'
[PyPy 7.3.9 with GCC 11.3.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'fish') [ 23/300]
[PyPy 7.3.9 with GCC 11.3.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'fish') [ 29/300]
[PyPy 7.3.9 with GCC 11.3.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'pwsh'
[PyPy 7.3.9 with GCC 11.3.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'pwsh') [287/300]
[PyPy 7.3.9 with GCC 11.3.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'pwsh') [288/300]
SKIPPED [1] tests/conftest.py:368: could not find 2
tests/unit/activation/test_activate_this.py::test_python_activator_cross SKIPPED (could not find 2) [  6/300]
version=FileNotFoundError(2, 'No such file or directory'),
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-07-26 17:25:43 UTC
I'm on it.
Comment 4 Larry the Git Cow gentoo-dev 2022-07-26 17:33:15 UTC
The bug has been closed via the following commit(s):

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

commit bf79a26cde1356f29ef1a9ec243243e35f41c7b9
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-07-26 17:25:36 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-07-26 17:25:36 +0000

    dev-python/virtualenv: Skip tests that fail without py2
    
    Closes: https://bugs.gentoo.org/861257
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/virtualenv/virtualenv-20.16.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)