Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657182 - app-misc/khal-0.9.9 with dev-python/python-dateutil-2.7.2 - raise VersionConflict ... Requirement.parse('python-dateutil<=2.6.1')
Summary: app-misc/khal-0.9.9 with dev-python/python-dateutil-2.7.2 - raise VersionConf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-02 23:13 UTC by Jaak Ristioja
Modified: 2018-06-04 09:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2018-06-02 23:13:06 UTC
It seems that khal requires 2.6.1 or earlier, but the ebuild has >=dev-python/python-dateutil-2.6.1[${PYTHON_USEDEP}].

I currently have dev-python/python-dateutil-2.7.2-r1 installed. Here is the error output from khal:

$ khal 
Traceback (most recent call last):
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 666, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 984, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 875, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (python-dateutil 2.7.2 (/usr/lib64/python3.5/site-packages), Requirement.parse('python-dateutil<=2.6.1'), {'khal'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.5/khal", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 3161, in <module>
    @_call_aside
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 3145, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 3174, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 668, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 681, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 870, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'python-dateutil<=2.6.1' distribution was not found and is required by khal
Comment 1 Reimundo Heluani 2018-06-03 22:57:45 UTC
This is a bug upstream as well:
https://github.com/pimutils/khal/issues/780
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-06-04 07:54:54 UTC
commit 8e323d64149613dc10d1f2875ffb6f96a1269aea
Author: Amy Liffey <amynka@gentoo.org>
Date:   Sat Jun 2 20:22:22 2018 +0200

    app-misc/khal: fix typo in deps

    Suggested-by: Kristian Beilke <beilke@posteo.de>
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

diff --git a/app-misc/khal/khal-0.9.9.ebuild b/app-misc/khal/khal-0.9.9.ebuild
index 0046e13543f..327d1777de1 100644
--- a/app-misc/khal/khal-0.9.9.ebuild
+++ b/app-misc/khal/khal-0.9.9.ebuild
@@ -23,7 +23,7 @@ RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
        dev-python/urwid[${PYTHON_USEDEP}]
        dev-python/pyxdg[${PYTHON_USEDEP}]
        dev-python/pytz[${PYTHON_USEDEP}]
-       >=dev-python/python-dateutil-2.6.1[${PYTHON_USEDEP}]
+       <=dev-python/python-dateutil-2.6.1[${PYTHON_USEDEP}]
        dev-python/configobj[${PYTHON_USEDEP}]
        >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
        >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-06-04 07:55:29 UTC
Needs a revision bump.
Comment 4 Amy Liffey gentoo-dev 2018-06-04 09:03:43 UTC
Sorry my fault I wanted to revbump it.
Comment 5 Larry the Git Cow gentoo-dev 2018-06-04 09:06:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=975a9e477cfe37b9e6ea191400a78a5de101cbe8

commit 975a9e477cfe37b9e6ea191400a78a5de101cbe8
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2018-06-04 09:05:25 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-06-04 09:06:21 +0000

    app-misc/khal: revbump rdep change
    
    Closes: https://bugs.gentoo.org/657182
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-misc/khal/{khal-0.9.9.ebuild => khal-0.9.9-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)