[Python-modules-team] matplotlib in experimental

Nikolaus Rath Nikolaus at rath.org
Wed May 4 13:40:46 UTC 2011


On 05/04/2011 09:27 AM, Sandro Tosi wrote:
> On Wed, May 4, 2011 at 15:18, Nikolaus Rath <Nikolaus at rath.org> wrote:
>> On 05/04/2011 03:12 AM, Sandro Tosi wrote:
>>> On Tue, May 3, 2011 at 20:33, Nikolaus Rath <Nikolaus at rath.org> wrote:
>>>> Hello,
>>>>
>>>> Can you tell me what needs to happen for matplotlib 1.0 from
>>>> experimental to enter unstable and (eventually) testing? Are there any
>>>> critical showstoppers?
>>>
>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625150 - patches are welcome
>>
>> I'd like to help, but I don't quite understand the problem yet. This bug
>> is against matplotlib 0.99, so wouldn't it be enough to just upload
>> matplotlib 1.0 to unstable to fix this?
> 
> nope, it's something related to the packaging and/or other
> dependencies (sphinx?)

Alright, I'll try to make a patch.


>> Where do I get the matplotlib source that's supposed to go along with
>> this debian/ directory?
> 
> From upstream, but you have to use the matching version of the
> packaging. if you have an experimental src in your sources.list you
> can:
> 
> apt-get -t experimental source matplotlib
> 
> to get 1.0.1 as packaged for experimental.

I tried this first, but apparently my mirror (cc.columbia.edu) didn't
carry a full experimental. Now I changed to ftp.us.debian.org and it
works nicely.

However, I'm encountering a different problem when building. Somehow
matplotlib isn't able to find numpy:

dh_testdir
cp -f debian/setup.cfg setup.cfg
python2.7 ./setup.py build
basedirlist is: ['/usr']
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 1.0.1
                python: 2.7.1+ (default, Apr 20 2011, 10:53:33)  [GCC 4.5.2]
              platform: linux2

REQUIRED DEPENDENCIES
                 numpy: no
                        * You must install numpy 1.1 or later to build
                        * matplotlib.
make: *** [build-2.7-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1330:
dpkg-buildpackage -rfakeroot -D -us -uc failed

but:

[29] inspiron:~/tmp/matplotlib-1.0.1$ apt-cache policy python-numpy
python-numpy:
  Installed: 1:1.5.1-2
  Candidate: 1:1.5.1-2
  Version table:
 *** 1:1.5.1-2 0
        500 http://mirror.cc.columbia.edu/debian/ testing/main amd64
Packages
        100 /var/lib/dpkg/status


Any idea how I could work around that?


Thanks!

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C



More information about the Python-modules-team mailing list