From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: python-matplotlib: should it propagate numpy? Date: Wed, 9 Dec 2015 23:03:16 +0100 Message-ID: <87d1ufmg9n.fsf@mdc-berlin.de> References: <87fuzfushy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6mpd-0007zf-IF for guix-devel@gnu.org; Wed, 09 Dec 2015 17:03:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6mpa-000536-CE for guix-devel@gnu.org; Wed, 09 Dec 2015 17:03:29 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Federico Beffa Cc: Guix-devel Federico Beffa writes: > I just tried out using matplotlib without numpy and it actually works: [...] > Therefore, despite numpy being the standard data crunching base > format, I don't think we need to propagate it. I cannot confirm this. I used guix environment --container --ad-hoc python-2.7.10 python2-matplotlib= -- python2 ... Python 2.7.10 (default, Jan 1 1970, 00:00:01)=20 [GCC 4.9.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import matplotlib.pyplot as plt Traceback (most recent call last): File "", line 1, in File "/gnu/store/8k926blraf9mg3l4qjlxpnabrgx09jr8-python2-matplotlib= -1.4.2/lib/python2.7/site-packages/matplotlib-1.4.2-py2.7-linux-x86_64.eg= g/matplotlib/__init__.py", line 180, in from matplotlib.cbook import is_string_like File "/gnu/store/8k926blraf9mg3l4qjlxpnabrgx09jr8-python2-matplotlib= -1.4.2/lib/python2.7/site-packages/matplotlib-1.4.2-py2.7-linux-x86_64.eg= g/matplotlib/cbook.py", line 33, in import numpy as np ImportError: No module named numpy >>> So, numpy still needs to be propagated in my opinion. I haven=E2=80=99t = tried =E2=80=98python-matplotlib=E2=80=99 and =E2=80=98python=E2=80=99 yet, jus= t =E2=80=98python2-matplotlib=E2=80=99 as above. Does this make a difference? ~~ Ricardo