Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647850 - dev-python/natgrid, dev-python/basemap: mpl_toolkits namespace should be used (was: file collisions in /usr/lib64/python3.6/site-packages/mpl_toolkits/__pycache__/__init__.cpython-36*.pyc)
Summary: dev-python/natgrid, dev-python/basemap: mpl_toolkits namespace should be used...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-16 12:40 UTC by Helmut Jarausch
Modified: 2018-02-17 13:07 UTC (History)
3 users (show)

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


Attachments
emerge --info (xz-compressed) (emerge_info.xz,6.72 KB, application/x-xz)
2018-02-16 12:40 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2018-02-16 12:40:14 UTC
Created attachment 519702 [details]
emerge --info  (xz-compressed)

matplotlib-2.1.2-r1 fails to install due to file collisions
 * Detected file collision(s):
 * 
 * 	/usr/lib64/python3.6/site-packages/mpl_toolkits/__pycache__/__init__.cpython-36.pyc
 * 	/usr/lib64/python3.6/site-packages/mpl_toolkits/__pycache__/__init__.cpython-36.opt-1.pyc
 * 	/usr/lib64/python3.6/site-packages/mpl_toolkits/__pycache__/__init__.cpython-36.opt-2.pyc
 * 	/usr/lib64/python2.7/site-packages/mpl_toolkits/__init__.pyo
 * 	/usr/lib64/python2.7/site-packages/mpl_toolkits/__init__.pyc
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-python/natgrid-0.2.1-r2:0::gentoo
 * 	/usr/lib64/python2.7/site-packages/mpl_toolkits/__init__.pyc
 * 	/usr/lib64/python2.7/site-packages/mpl_toolkits/__init__.pyo
 * 	/usr/lib64/python3.6/site-packages/mpl_toolkits/__pycache__/__init__.cpython-36.opt-1.pyc
 * 	/usr/lib64/python3.6/site-packages/mpl_toolkits/__pycache__/__init__.cpython-36.opt-2.pyc
 * 	/usr/lib64/python3.6/site-packages/mpl_toolkits/__pycache__/__init__.cpython-36.pyc
 * 
 * dev-python/basemap-1.0.7-r1:0::gentoo
 * 	/usr/lib64/python2.7/site-packages/mpl_toolkits/__init__.pyc
 * 	/usr/lib64/python2.7/site-packages/mpl_toolkits/__init__.pyo
 *
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-17 08:00:57 UTC
Look like a case for namespaces!
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-17 08:07:21 UTC
Probably also includes dev-python/seaborn.
Comment 3 Helmut Jarausch 2018-02-17 11:39:06 UTC
(In reply to Michał Górny from comment #2)
> Probably also includes dev-python/seaborn.

Not with version seaborn-0.7.1 which doesn't install anything into
site-packages/mpl_toolkits
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-17 12:39:15 UTC
(In reply to Helmut Jarausch from comment #3)
> (In reply to Michał Górny from comment #2)
> > Probably also includes dev-python/seaborn.
> 
> Not with version seaborn-0.7.1 which doesn't install anything into
> site-packages/mpl_toolkits

Because it installs *.pth file which is even worse.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-17 13:03:03 UTC
(In reply to Michał Górny from comment #4)
> (In reply to Helmut Jarausch from comment #3)
> > (In reply to Michał Górny from comment #2)
> > > Probably also includes dev-python/seaborn.
> > 
> > Not with version seaborn-0.7.1 which doesn't install anything into
> > site-packages/mpl_toolkits
> 
> Because it installs *.pth file which is even worse.

I'm sorry, I was wrong. That message was commit from a dependency.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-17 13:03:33 UTC
s/commit/coming/
Comment 7 Larry the Git Cow gentoo-dev 2018-02-17 13:07:33 UTC
The bug has been closed via the following commit(s):

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

commit dfa62786a8d8ad5afa22339d73f918d681104502
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-02-17 12:58:00 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-02-17 13:07:26 +0000

    dev-python/basemap: Strip mpltoolkits/__init__.py correctly
    
    Closes: https://bugs.gentoo.org/647850

 dev-python/basemap/basemap-1.0.7-r2.ebuild | 72 ++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)

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

commit 66f834609b1e29620d09fdc91f9388e52ddae0ef
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-02-17 12:45:30 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-02-17 13:07:26 +0000

    dev-python/natgrid: Strip mpltoolkits/__init__.py correctly
    
    Closes: https://bugs.gentoo.org/647850

 .../natgrid/{natgrid-0.2.1-r2.ebuild => natgrid-0.2.1-r3.ebuild}  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)