Package: python-openpyxl
Version: 1.1.0-1
Severity: minor

Some files, for example
/usr/lib/pymodules/python2.4/openpyxl/writer/worksheet.py contain
syntax not supported by python2.4, causing error messages when
installing into a system with python2.4 installed.

Compiling /usr/lib/pymodules/python2.4/openpyxl/writer/worksheet.py ...
  File "/usr/lib/pymodules/python2.4/openpyxl/writer/worksheet.py", line 42
    SubElement(sheet_pr, 'outlinePr', {'summaryBelow' : '%d' % (1 if 
worksheet.show_summary_below else 0),
                                                                   ^
                                                                   SyntaxError:
invalid syntax

Same goes for some test modules as well. This does not block the deb
being successfully installed.

I think the correct way to fix this is to tell python-support not to
install this package for python2.4. Some test files apparently require
python2.6.

Perhaps XS-Python-Version: >= 2.6?


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-bpo.5-686 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-openpyxl depends on:
ii  python                  2.6.6-3+squeeze1 interactive high-level object-orie
ii  python-support          1.0.9            automated rebuilding support for P

Versions of packages python-openpyxl recommends:
ii  python-nose                   0.11.1-1   test discovery and running for Pyt

python-openpyxl suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to