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

Bug 893178

Summary: dev-python/parsedatetime-2.6-r1 cannot be built with dev-python/packaging-23.0
Product: Gentoo Linux Reporter: Lubos Kolouch <kolcon>
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 output

Description Lubos Kolouch 2023-02-04 07:12:25 UTC
When trying to emerge dev-python/parsedatetime-2.6-r1 with dev-python/packaging-23.0 it gives this error:

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) * ERROR: dev-python/parsedatetime-2.6-r1::gentoo failed (compile phase):                                                           

After masking dev-python/packaging-23.0 and downgrading to dev-python/packaging-21.3-r2 it builds ok.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-04 07:46:51 UTC
Please include the full build.log and emerge --info.
Comment 2 Lubos Kolouch 2023-02-04 08:15:44 UTC
Created attachment 849822 [details]
emerge —info output
Comment 3 Lubos Kolouch 2023-02-04 08:26:26 UTC
Please cancel this bug. After upgrading dev-python/setuptools to 67.1.0 the problem resolved itself.