Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937624 - dev-python/klein-23.12.0 fails tests: ImportError: cannot import name provides from attr.validators validators.py
Summary: dev-python/klein-23.12.0 fails tests: ImportError: cannot import name provide...
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-08-09 14:13 UTC by Agostino Sarubbo
Modified: 2024-08-11 16:19 UTC (History)
1 user (show)

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


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

Issue: dev-python/klein-23.12.0 fails tests.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-09 14:13:09 UTC
Created attachment 899679 [details]
build.log

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


E   ImportError: cannot import name 'provides' from 'attr.validators' (/usr/lib/python3.10/site-packages/attr/validators.py)
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
ERROR src/klein/test/test_message.py
ERROR src/klein/test/test_request.py
ERROR src/klein/test/test_request_compat.py
ERROR src/klein/test/test_response.py
Comment 3 Larry the Git Cow gentoo-dev 2024-08-11 16:19:00 UTC
The bug has been closed via the following commit(s):

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

commit afeccd3ca516573744960d03780065e2ff8c44af
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-08-11 16:15:28 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-08-11 16:18:55 +0000

    dev-python/klein: Require <dev-python/attrs-24
    
    Closes: https://bugs.gentoo.org/937624
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

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