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

Bug 888916

Summary: dev-python/setuptools_scm-7.1.0 ImportError: cannot import name 'LegacyVersion'
Product: Gentoo Linux Reporter: programming
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description programming 2022-12-30 03:32:57 UTC
Created attachment 845714 [details]
emerge --info

On compiling setuptools_scm-7.1.0, I get 

File "/usr/lib/python3.10/site-packages/setuptools/msvc.py", line 24, in <module>
    from packaging.version import LegacyVersion
ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/usr/lib/python3.10/site-packages/packaging/version.py)
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-30 03:35:19 UTC
Please include the full build.log.
Comment 2 Mike Gilbert gentoo-dev 2022-12-30 03:59:26 UTC
Please attach a full build log and change the status to UNCONFIRMED.