Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928006 - dev-python/build-1.2.0 fails tests: AssertionError: assert venv+pip == virtualenv+pip
Summary: dev-python/build-1.2.0 fails tests: AssertionError: assert venv+pip == virtua...
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:
 
Reported: 2024-03-28 07:39 UTC by Agostino Sarubbo
Modified: 2024-03-28 10:56 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,86.43 KB, text/plain)
2024-03-28 07:39 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 2024-03-28 07:39:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/build-1.2.0 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-28 07:39:07 UTC
Created attachment 888869 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-28 07:39:08 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E           AssertionError: assert 'venv+pip' == 'virtualenv+pip'
E           ModuleNotFoundError: No module named 'virtualenv'
FAILED tests/test_env.py::test_venv_creation[pip-virtualenv+pip-None] - AssertionError: assert 'venv+pip' == 'virtualenv+pip'
FAILED tests/test_env.py::test_venv_creation[pip-virtualenv+pip-True] - ModuleNotFoundError: No module named 'virtualenv'
[gw19] [164/169] PASSED tests/test_main.py::test_output_env_subprocess_error[False-no-color] 
[gw31] [ 62/169] PASSED tests/test_projectbuilder.py::test_prepare_error[False] 
[gw44] [168/169] PASSED tests/test_main.py::test_output_env_subprocess_error[False-color] 
[gw47] [158/169] FAILED tests/test_env.py::test_venv_creation[pip-virtualenv+pip-None] 
[gw9] [151/169] FAILED tests/test_env.py::test_venv_creation[pip-virtualenv+pip-True] 
pypy3 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o tmp_path_retention_policy=failed -p xdist -n 48 --dist=worksteal --deselect tests/test_util.py::test_wheel_metadata_isolation --deselect tests/test_main.py::test_output[via-sdist-isolation] --deselect tests/test_main.py::test_output[wheel-direct-isolation] --deselect tests/test_main.py::test_colors --deselect tests/test_main.py::test_output_env_subprocess_error[color] --deselect tests/test_main.py::test_verbose_output[False-0] --deselect tests/test_main.py::test_verbose_output[False-1] --deselect tests/test_env.py::test_external_uv_detection_success --deselect tests/test_env.py::test_uv_impl_install_cmd_well_formed --deselect tests/test_env.py::test_venv_creation[uv-venv+uv-None] -m not network -p pytest_mock -p rerunfailures
tests/test_main.py::test_output_env_subprocess_error[False-color] 
tests/test_main.py::test_output_env_subprocess_error[False-no-color] 
tests/test_projectbuilder.py::test_prepare_error[False]
Comment 3 Larry the Git Cow gentoo-dev 2024-03-28 10:56:33 UTC
The bug has been closed via the following commit(s):

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

commit e23f9ea1acf269856a07c50b3eda81de4b6932a8
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-03-28 10:44:20 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-03-28 10:44:20 +0000

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

 dev-python/build/build-1.2.0.ebuild | 1 +
 1 file changed, 1 insertion(+)