Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888213 - dev-python/pytest-describe-2.0.1-r1 fails tests (DASH-SYSTEM): AttributeError: module py has no attribute code
Summary: dev-python/pytest-describe-2.0.1-r1 fails tests (DASH-SYSTEM): AttributeError...
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:
 
Reported: 2022-12-25 08:04 UTC by Agostino Sarubbo
Modified: 2022-12-25 16:28 UTC (History)
0 users

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


Attachments
build.log (build.log,107.31 KB, text/plain)
2022-12-25 08:04 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-12-25 08:04:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pytest-describe-2.0.1-r1 fails tests (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-25 08:04:55 UTC
Created attachment 844869 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-25 08:04:56 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       AttributeError: module 'py' has no attribute 'code'
FAILED test/test_collect.py::test_collect - AttributeError: module 'py' has n...
FAILED test/test_collect.py::test_describe_evaluated_once - AttributeError: m...
FAILED test/test_custom_prefix.py::test_collect_custom_prefix - AttributeErro...
FAILED test/test_fixtures.py::test_can_access_fixture_from_nested_scope - Att...
FAILED test/test_fixtures.py::test_can_access_local_fixture - AttributeError:...
FAILED test/test_fixtures.py::test_local_fixture_overrides - AttributeError: ...
FAILED test/test_marks.py::test_cartesian_parametrize - AttributeError: modul...
FAILED test/test_marks.py::test_cartesian_parametrize_on_describe - Attribute...
FAILED test/test_marks.py::test_coincident_parametrize_at_top - AttributeErro...
FAILED test/test_marks.py::test_keywords - AttributeError: module 'py' has no...
FAILED test/test_marks.py::test_mark_at_describe_function - AttributeError: m...
FAILED test/test_marks.py::test_marks - AttributeError: module 'py' has no at...
FAILED test/test_marks.py::test_mark_stacking - AttributeError: module 'py' h...
FAILED test/test_marks.py::test_module_marks - AttributeError: module 'py' ha...
FAILED test/test_marks.py::test_multiple_variables_parametrize - AttributeErr...
FAILED test/test_marks.py::test_parametrize_applies_to_describe - AttributeEr...
FAILED test/test_marks.py::test_parametrize_with_shared - AttributeError: mod...
FAILED test/test_marks.py::test_parametrize_with_shared_but_different_values
FAILED test/test_marks.py::test_special_marks - AttributeError: module 'py' h...
FAILED test/test_output.py::test_verbose_output - AttributeError: module 'py'...
FAILED test/test_shared.py::test_evaluated_once - AttributeError: module 'py'...
FAILED test/test_shared.py::test_fixture - AttributeError: module 'py' has no...
FAILED test/test_shared.py::test_multiple_shared_behaviors - AttributeError: ...
FAILED test/test_shared.py::test_name_mangling - AttributeError: module 'py' ...
FAILED test/test_shared.py::test_nested_name_mangling - AttributeError: modul...
FAILED test/test_shared.py::test_override_fixture - AttributeError: module 'p...
FAILED test/test_shared.py::test_shared_behavior - AttributeError: module 'py...
FAILED test/test_simple_execution.py::test_can_fail_and_pass - AttributeError...
FAILED test/test_simple_execution.py::test_can_fail - AttributeError: module ...
FAILED test/test_simple_execution.py::test_can_pass - AttributeError: module ...
Comment 3 Larry the Git Cow gentoo-dev 2022-12-25 16:28:07 UTC
The bug has been closed via the following commit(s):

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

commit 24a2c73a74434f901464317a56decbef6fcd9c34
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-12-25 16:27:18 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-12-25 16:27:18 +0000

    dev-python/pytest-describe: Add test-dep on dev-python/py
    
    Closes: https://bugs.gentoo.org/888213
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../pytest-describe/pytest-describe-2.0.1-r1.ebuild     | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)