Error installing python-configglue v. 0.2dev-0ubuntu1 on Python 2.4

Bug #391212 reported by Nicola Larosa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
configglue
Fix Released
Undecided
Rick McBride
configglue-sourcepackage
Fix Released
Undecided
Unassigned

Bug Description

The v. 0.2dev-0ubuntu1 of the python-configglue package depends on python >= 2.4 . However, when installing, the usage of relative imports cause errors when compiling under Python 2.4, that does not support them.

Revision history for this message
Nicola Larosa (teknico) wrote :

Assigning to rmcbride, as per IRC discussion

Changed in configglue:
assignee: nobody → Rick McBride (rmcbride)
Revision history for this message
Rick McBride (rmcbride) wrote :

python version should be >= 2.5 since configglue apparently uses that syntax. I should have caught this while doing initial packaging.

Changed in configglue:
status: New → Confirmed
Rick McBride (rmcbride)
Changed in configglue:
status: Confirmed → In Progress
Changed in configglue-sourcepackage:
status: New → Fix Committed
Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

Setting up python-configglue (0.2dev-0ubuntu1) ...
Compiling /usr/lib/python2.4/site-packages/configglue/__init__.py ...
  File "/usr/lib/python2.4/site-packages/configglue/__init__.py", line 57
    from .typed import TypedConfigParser
         ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.4/site-packages/configglue/glue.py ...
  File "/usr/lib/python2.4/site-packages/configglue/glue.py", line 10
    from .typed import TypedConfigParser
         ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.4/site-packages/configglue/typed.py ...
  File "/usr/lib/python2.4/site-packages/configglue/typed.py", line 11
    from . import parsers
         ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (15)
pycentral pkginstall: error byte-compiling files (15)
dpkg: error processing python-configglue (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python-configglue
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Rick McBride (rmcbride) wrote :

when the new configglue package was released/submitted to REVU, the python version requirements were updated (2.4 will not work, as it uses 2.5-isms)

Changed in configglue:
status: In Progress → Fix Released
Changed in configglue-sourcepackage:
status: Fix Committed → 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.