biopython installation error message

Bug #130602 reported by Martin Hoefling
This bug report is a duplicate of:  Bug #118771: Syntax error in python module. Edit Remove
2
Affects Status Importance Assigned to Milestone
python-biopython (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-biopython

not serious but ugly:
biopython and biopython-sql produce the following error messages during installation:

Richte python-biopython ein (1.42-2) ...
Compiling /var/lib/python-support/python2.5/Bio/Wise/dnal.py ...
  File "/var/lib/python-support/python2.5/Bio/Wise/dnal.py", line 5
    from __future__ import division
SyntaxError: from __future__ imports must occur at the beginning of the file

Richte python-biopython-sql ein (1.42-2) ...
Compiling /var/lib/python-support/python2.5/Bio/Wise/dnal.py ...
  File "/var/lib/python-support/python2.5/Bio/Wise/dnal.py", line 5
    from __future__ import division
SyntaxError: from __future__ imports must occur at the beginning of the file

Additionally, "with" warnings concerning future python versions (2.6) show up:

Richte python-reportlab ein (2.0dfsg-1) ...
/usr/lib/python2.5/site-packages/reportlab/lib/PyFontify.py:35: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/reportlab/lib/PyFontify.py:36: Warning: 'with' will become a reserved keyword in Python 2.6

Richte python-egenix-mxtools ein (2.0.6ubuntu1-5ubuntu1) ...

Richte python-egenix-mxtexttools ein (2.0.6ubuntu1-5ubuntu1) ...
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:170: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:191: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:195: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:206: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:225: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:231: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:244: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:249: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:261: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:557: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:559: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:562: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:566: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:574: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:582: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/mx/TextTools/TextTools.py:590: Warning: 'with' will become a reserved keyword in Python 2.6

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.