Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642394 - dev-db/mycli-1.15.0 missing dev-python/cli_helpers dependency, breaks dev-python/pbr
Summary: dev-db/mycli-1.15.0 missing dev-python/cli_helpers dependency, breaks dev-pyt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Brian Evans (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 642396
Blocks:
  Show dependency tree
 
Reported: 2017-12-27 12:18 UTC by Josselin Poiret
Modified: 2017-12-27 15:19 UTC (History)
0 users

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


Attachments
Remove distutils commands from mycli's setup.py (no_distutils_entry_points.patch,541 bytes, patch)
2017-12-27 14:59 UTC, Josselin Poiret
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Josselin Poiret 2017-12-27 12:18:08 UTC
While trying to install wine-any, dev-python/pbr is pulled in but fails to emerge, this is caused by a dangling reference to tasks.py from cli_helpers in 'distutils.commands', registered by mycli.

This can be solved by adding the missing dependency >=dev-python/cli_helpers-1.0.1 (which thus needs a version bump) to mycli.
Comment 1 Larry the Git Cow gentoo-dev 2017-12-27 14:42:41 UTC
The bug has been closed via the following commit(s):

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

commit b600d319a16551259731c37d4b20eafd7796f61d
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2017-12-27 14:39:20 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2017-12-27 14:42:32 +0000

    dev-db/mycli: Revision bump for cli_helpers dependency
    
    Closes: https://bugs.gentoo.org/642394
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-db/mycli/{mycli-1.15.0.ebuild => mycli-1.15.0-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Josselin Poiret 2017-12-27 14:59:33 UTC
Created attachment 511752 [details, diff]
Remove distutils commands from mycli's setup.py
Comment 3 Josselin Poiret 2017-12-27 15:03:34 UTC
cli_helpers actually has patched the distutils commands situation in 1.0.1, but mycli still has them in their setup.py, which breaks pbr. We can patch this ourselves for now

See https://github.com/dbcli/mycli/issues/538 and https://github.com/dbcli/cli_helpers/pull/29
Comment 4 Larry the Git Cow gentoo-dev 2017-12-27 15:19:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd12b210006e51c434e513583fbdea2b6ed537b

commit 9cd12b210006e51c434e513583fbdea2b6ed537b
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2017-12-27 15:19:20 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2017-12-27 15:19:20 +0000

    dev-db/mycli: Add patch to remove distutils tasks from setup.py
    
    Closes: https://bugs.gentoo.org/642394
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-db/mycli/files/remove-tasks.patch                     | 15 +++++++++++++++
 .../{mycli-1.15.0-r1.ebuild => mycli-1.15.0-r2.ebuild}    |  2 ++
 2 files changed, 17 insertions(+)