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

Bug 817272

Summary: dev-python/astroid-2.7.3: pkg_resources.DistributionNotFound: The 'wrapt<1.13,>=1.11' distribution was not found and is required by astroid
Product: Gentoo Linux Reporter: Justin Keogh <bugs.gentoo.org>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info and full error messages

Description Justin Keogh 2021-10-09 21:26:01 UTC
~amd64 has wrapt-1.13 and it's incorrectly calculated as a RDEPEND because astroid-2.7.3.ebuild RDEPEND does not include the "wrapt<1.13" from astroid's pkg_resources.

Reproducible: Always

Steps to Reproduce:
1. emerge --unmerge pylint astroid wrapt
2. emerge -1 pylint
3. pylint
Actual Results:  
pkg_resources.DistributionNotFound: The 'wrapt<1.13,>=1.11' distribution was not found and is required by astroid
Comment 1 Justin Keogh 2021-10-09 21:27:22 UTC
Created attachment 744192 [details]
emerge --info and full error messages
Comment 2 Larry the Git Cow gentoo-dev 2021-10-09 21:36:42 UTC
The bug has been closed via the following commit(s):

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

commit 6d9a8903403420d693655bc437939c7218116996
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-09 21:36:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-09 21:36:32 +0000

    dev-python/astroid: fix wrapt dependency
    
    Closes: https://bugs.gentoo.org/817272
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/astroid/{astroid-2.6.6.ebuild => astroid-2.6.6-r1.ebuild} | 2 +-
 dev-python/astroid/{astroid-2.7.3.ebuild => astroid-2.7.3-r1.ebuild} | 2 +-
 dev-python/astroid/{astroid-2.8.0.ebuild => astroid-2.8.0-r1.ebuild} | 2 +-
 dev-python/astroid/{astroid-2.8.2.ebuild => astroid-2.8.2-r1.ebuild} | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)