[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

python2.3-pysqlite2 package problem



The python2.3-pysqlite2 package on backports seems to depend on Python
2.4 syntax (see below).

Keith

-----------------------------------------------------------------------

# apt-cache policy python2.3-pysqlite2
python2.3-pysqlite2:
  Installed: (none)
  Candidate: 2.2.0-0bpo1
  Version Table:
     2.2.0-1 0
         50 http://tclgs001 testing/main Packages
     2.2.0-0bpo1 0
        201 http://www.backports.org sarge-backports/main Packages



# aptitude install python2.3-pysqlite2
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be installed:
  python2.3-pysqlite2
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/62.4kB of archives. After unpacking 471kB will be used.
Writing extended state information... Done
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Selecting previously deselected package python2.3-pysqlite2.
(Reading database ... 122972 files and directories currently installed.)
Unpacking python2.3-pysqlite2 (from
.../python2.3-pysqlite2_2.2.0-0bpo1_i386.deb) ...
Setting up python2.3-pysqlite2 (2.2.0-0bpo1) ...
Compiling
/usr/lib/python2.3/site-packages/FormEncode-0.5.1-py2.3.egg/formencode/formgen.py
...
  File
"/usr/lib/python2.3/site-packages/FormEncode-0.5.1-py2.3.egg/formencode/formgen.py",
line 12
    @dispatch.generic()
    ^
SyntaxError: invalid syntax

Compiling
/usr/lib/python2.3/site-packages/FormEncode-0.5.1-py2.3.egg/formencode/sqlformgen.py
...
  File
"/usr/lib/python2.3/site-packages/FormEncode-0.5.1-py2.3.egg/formencode/sqlformgen.py",
line 11
    @makeform.when('isinstance(obj, SQLObject) or (isinstance(obj, type)
and issubclass(obj, SQLObject))')
    ^
SyntaxError: invalid syntax

Compiling
/usr/lib/python2.3/site-packages/pudge-0.1.1dev_r122-py2.3.egg/pudge/peruser.py
...
  File
"/usr/lib/python2.3/site-packages/pudge-0.1.1dev_r122-py2.3.egg/pudge/peruser.py",
line 94
    @property
    ^
SyntaxError: invalid syntax

dpkg: error processing python2.3-pysqlite2 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python2.3-pysqlite2
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:
Setting up python2.3-pysqlite2 (2.2.0-0bpo1) ...
Compiling
/usr/lib/python2.3/site-packages/FormEncode-0.5.1-py2.3.egg/formencode/formgen.py
...
  File
"/usr/lib/python2.3/site-packages/FormEncode-0.5.1-py2.3.egg/formencode/formgen.py",
line 12
    @dispatch.generic()
    ^
SyntaxError: invalid syntax

Compiling
/usr/lib/python2.3/site-packages/FormEncode-0.5.1-py2.3.egg/formencode/sqlformgen.py
...
  File
"/usr/lib/python2.3/site-packages/FormEncode-0.5.1-py2.3.egg/formencode/sqlformgen.py",
line 11
    @makeform.when('isinstance(obj, SQLObject) or (isinstance(obj, type)
and issubclass(obj, SQLObject))')
    ^
SyntaxError: invalid syntax

Compiling
/usr/lib/python2.3/site-packages/pudge-0.1.1dev_r122-py2.3.egg/pudge/peruser.py
...
  File
"/usr/lib/python2.3/site-packages/pudge-0.1.1dev_r122-py2.3.egg/pudge/peruser.py",
line 94
    @property
    ^
SyntaxError: invalid syntax

dpkg: error processing python2.3-pysqlite2 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python2.3-pysqlite2
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
#


Reply to: