Created attachment 603958 [details] emerge --info The directory /usr/lib64/python3.6/site-packages/python_dateutil-* has the version 0.0.0 from python-dateutil version 2.8.0 onwards: # for f in /var/portage/packages/dev-python/python-dateutil/python-dateutil-2.7.5-3.xpak /var/portage/packages/dev-python/python-dateutil/python-dateutil-2.8.1-5.xpak;do tar tf $f;done 2>/dev/null | grep 'egg-info/$' ./usr/lib64/python3.6/site-packages/python_dateutil-2.7.5-py3.6.egg-info/ ./usr/lib64/python3.6/site-packages/python_dateutil-0.0.0-py3.6.egg-info/ ./usr/lib/python3.8/site-packages/python_dateutil-0.0.0-py3.8.egg-info/ I found some related issue at an unrelated project (AFAIK) over there: https://github.com/ContinuumIO/anaconda-issues/issues/809#issuecomment-336672068 There seems to be some code (https://github.com/gentoo-mirror/gentoo/blob/f9504968a4ea04313f1433c47d3695b2fad3bcc2/dev-python/python-dateutil/python-dateutil-2.8.1.ebuild#L46) trying to insert the correct version, however the setup.py does have that snipped (did have that in 2.7.5 too): use_scm_version={ 'write_to': 'dateutil/_version.py', }, And therefore does not match the sed regex using =True at the end, might be related, but I don't know enough about python packaging to know for sure. This breaks Radicale on my box since that one has a dependency on python-dateutil>=2.7.3 and fails with the 2.8.[01]/0.0.0 version like that: Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (python-dateutil 0.0.0 (/usr/lib64/python3.6/site-packages), Requirement.parse('python-dateutil>=2.7.3'), {'Radicale'})
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f03c434d1c02d799e50538b92bab80fac8b39a commit 20f03c434d1c02d799e50538b92bab80fac8b39a Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-01-22 19:39:12 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-01-22 19:44:16 +0000 dev-python/python-dateutil: Remove broken setuptools_scm hack Closes: https://bugs.gentoo.org/706104 Signed-off-by: Michał Górny <mgorny@gentoo.org> ...hon-dateutil-2.8.1.ebuild => python-dateutil-2.8.1-r1.ebuild} | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)