[Jaunty]python-numpy install SyntaxWarning

Bug #335646 reported by KevinM
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
NumPy
Fix Released
Unknown
python-numpy (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Running Jaunty Kernel Kubuntu 2.6.28-8-generic #26-Ubuntu SMP Wed Feb 25 04:27:53 UTC 2009 x86_64 GNU/Linux
Just run a distribution update from the command line and got the following Syntax Warning:

Removing python-uno ...
Selecting previously deselected package python2.6-minimal.
(Reading database ... 128985 files and directories currently installed.)
Unpacking python2.6-minimal (from .../python2.6-minimal_2.6.1-0ubuntu9_amd64.deb) ...
Processing triggers for man-db ...
Setting up python2.6-minimal (2.6.1-0ubuntu9) ...
Linking and byte-compiling packages for runtime python2.6...
/usr/lib/python2.6/dist-packages/numpy/lib/tests/test_io.py:68: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert(c.readlines(),

Selecting previously deselected package python2.6.
(Reading database ... 129141 files and directories currently installed.)
Unpacking python2.6 (from .../python2.6_2.6.1-0ubuntu9_amd64.deb) ...
Preparing to replace hpijs 2.8.12-3ubuntu1 (using .../hpijs_2.8.12-3ubuntu2_amd64.deb) ...
Unpacking replacement hpijs ...
Preparing to replace hplip 2.8.12-3ubuntu1 (using .../hplip_2.8.12-3ubuntu2_amd64.deb) ...
Unpacking replacement hplip ...
Selecting previously deselected package libpython2.6.
Unpacking libpython2.6 (from .../libpython2.6_2.6.1-0ubuntu9_amd64.deb) ...
Selecting previously deselected package python2.6-dev.
Unpacking python2.6-dev (from .../python2.6-dev_2.6.1-0ubuntu9_amd64.deb) ...
Preparing to replace python-dev 2.5.4-0ubuntu5 (using .../python-dev_2.6.1-0ubuntu1_all.deb) ...

Install seems to be OK.

Revision history for this message
Andreas Olsson (andol) wrote :

I can confirm this issue, installing python-numpy on a fresh Jaunty installation

Setting up python-numpy (1:1.2.1-1ubuntu1) ...
/usr/lib/python2.6/dist-packages/numpy/lib/tests/test_io.py:68: SyntaxWarning: assertion is always true, pe?
  assert(c.readlines(),

Changed in python-numpy (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Andreas Olsson (andol) wrote :

KevinM: Is numpy working as it should otherwise?

(Not being much of a python user I've only ran some rudimentary tests, without detecting any problems.)

Revision history for this message
KevinM (kevbert1) wrote :

I've yet to find any runtime problem...

Revision history for this message
John Haitas (jhaitas) wrote :

I too can confirm this:

$ sudo aptitude install python-numpy

...

Setting up python-numpy (1:1.2.1-1ubuntu1) ...
/usr/lib/python2.6/dist-packages/numpy/lib/tests/test_io.py:68: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert(c.readlines(),

John Haitas (jhaitas)
summary: - [Jaunty]python SyntaxWarning
+ [Jaunty]python-numpy install SyntaxWarning
Revision history for this message
John Haitas (jhaitas) wrote :

This bug has been reported upstream at: http://projects.scipy.org/numpy/ticket/1105

Changed in numpy:
status: Unknown → New
Changed in numpy:
status: New → Unknown
Revision history for this message
Matthias Klose (doko) wrote :

fixed in 1.3.0 in karmic

Changed in python-numpy (Ubuntu):
status: Confirmed → Fix Released
Changed in numpy:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.