Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928357 - dev-python/attrs-23.2.0 fails tests: FAILED test_funcs.py::TestAssoc::test_unknown - Failed: DID NOT WARN No warnings of type (<class DeprecationWarning>, <c..
Summary: dev-python/attrs-23.2.0 fails tests: FAILED test_funcs.py::TestAssoc::test_un...
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-04-01 08:11 UTC by Agostino Sarubbo
Modified: 2024-04-01 14:44 UTC (History)
0 users

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


Attachments
build.log (build.log,187.13 KB, text/plain)
2024-04-01 08: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 2024-04-01 08:11:24 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/attrs-23.2.0 fails tests.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-01 08:11:26 UTC
Created attachment 889188 [details]
build.log

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


        :raise attrs.exceptions.AttrsAttributeNotFoundError: If *attr_name*
        :raise attrs.exceptions.NotAnAttrsClassError: If *cls* is not an *attrs*
E               attr.exceptions.AttrsAttributeNotFoundError: aaaa is not an attrs attribute on <class 'tests.strategies.HypClass'>.
FAILED tests/test_funcs.py::TestAssoc::test_unknown - Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <c...
tests/test_funcs.py::TestAssoc::test_unknown FAILED                 [ 327/1327]
Comment 3 Larry the Git Cow gentoo-dev 2024-04-01 14:44:26 UTC
The bug has been closed via the following commit(s):

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

commit ae8b818f4e783c967ecad84ed49e86b80659bbb9
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-04-01 14:16:57 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-04-01 14:44:20 +0000

    dev-python/attrs: Fix test failure with pytest-8
    
    Closes: https://bugs.gentoo.org/928357
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/attrs/attrs-23.2.0.ebuild               |  5 +++
 dev-python/attrs/files/attrs-23.2.0-pytest-8.patch | 44 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)