Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 817272 - dev-python/astroid-2.7.3: pkg_resources.DistributionNotFound: The 'wrapt<1.13,>=1.11' distribution was not found and is required by astroid
Summary: dev-python/astroid-2.7.3: pkg_resources.DistributionNotFound: The 'wrapt<1.1...
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:
Depends on:
Blocks:
 
Reported: 2021-10-09 21:26 UTC by Justin Keogh
Modified: 2021-10-09 21:36 UTC (History)
1 user (show)

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


Attachments
emerge --info and full error messages (terminal_output.txt,15.73 KB, text/plain)
2021-10-09 21:27 UTC, Justin Keogh
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)