Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933983

Summary: dev-python/cattrs-23.2.3 fails tests: TypeError: NoneType takes no arguments, ModuleNotFoundError: No module named 'typing_extensions'
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: matoro_gentoo
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=932071
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log and emerge --info

Description matoro archtester 2024-06-09 20:59:49 UTC
Created attachment 895488 [details]
build.log and emerge --info

Possibly pytest-8?

There are additional failures on sparc, but the amd64 list is a subset of them, so starting with this.

ERROR tests/test_typeddicts.py - TypeError: NoneType takes no arguments
ERROR tests/test_typeddicts.py - TypeError: NoneType takes no arguments
ERROR tests/test_typeddicts.py - TypeError: NoneType takes no arguments
ERROR tests/test_typeddicts.py - TypeError: NoneType takes no arguments
ERROR tests/test_typeddicts.py - TypeError: NoneType takes no arguments
ERROR tests/test_typeddicts.py - TypeError: NoneType takes no arguments
ERROR tests/test_typeddicts.py - TypeError: NoneType takes no arguments
ERROR tests/test_typeddicts.py - TypeError: NoneType takes no arguments
FAILED tests/test_converter.py::test_annotated_with_typing_extensions_attrs - ModuleNotFoundError: No module named 'typing_extensions'
Comment 1 Larry the Git Cow gentoo-dev 2024-06-10 13:07:58 UTC
The bug has been closed via the following commit(s):

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

commit 5a4f9d4fe654f166be3fbcbd3c5849f7d25656cc
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-06-10 13:06:42 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-06-10 13:06:42 +0000

    dev-python/cattrs: Make dev-python/typing-extensions dep uncond.
    
    Closes: https://bugs.gentoo.org/933983
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/cattrs/{cattrs-23.2.3.ebuild => cattrs-23.2.3-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)