Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893178 - dev-python/parsedatetime-2.6-r1 cannot be built with dev-python/packaging-23.0
Summary: dev-python/parsedatetime-2.6-r1 cannot be built with dev-python/packaging-23.0
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-04 07:12 UTC by Lubos Kolouch
Modified: 2023-02-04 08:26 UTC (History)
0 users

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


Attachments
emerge —info output (emerge-info.txt,7.43 KB, text/plain)
2023-02-04 08:15 UTC, Lubos Kolouch
Details

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