Package: python-ply
Version: 3.3-1
Severity: normal
python-ply seems to work with any Python version, according to
/usr/share/doc/python-ply/README.gz:
Special Note for PLY-3.0
========================
PLY-3.0 the first PLY release to support Python 3. However, backwards
compatibility with Python 2.2 is still preserved. PLY provides dual
Python 2/3 compatibility by restricting its implementation to a common
subset of basic language features. You should not convert PLY using
2to3--it is not necessary and may in fact break the implementation.

In my case I use it also with the python3.1 Debian package, but I need
to define the PYTHONPATH to /usr/share/pyshared
for example to have my script
https://git.hpc-project.com/cgit/par4all/tree/src/postprocessor/p4a_recover_includes?h=p4a-own
working.

Unfortunately, it has nasty side effects, such as having other Python
stuff like ipython to fail:
kery...@an-dro:~$ ipython
Traceback (most recent call last):
  File "/usr/bin/ipython", line 26, in <module>
    import IPython.Shell
  File "/usr/share/pyshared/IPython/__init__.py", line 58, in <module>
    __import__(name,glob,loc,[])
  File "/usr/share/pyshared/IPython/Shell.py", line 30, in <module>
    import ctypes
  File "/usr/share/pyshared/ctypes/__init__.py", line 20, in <module>
    raise Exception, ("Version number mismatch", __version__, _ctypes_version)
Exception: ('Version number mismatch', '1.0.2', '1.1.0')


I guess python-ply should be packaged to be natively usable by any
Python version available on Debian since it should work on them.

-- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 
'stable')
Architecture: amd64 (x86_64)

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

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

python-ply recommends no packages.

Versions of packages python-ply suggests:
ii  python-pkg-resources          0.6.14-4   Package Discovery and Resource Acc
ii  python-ply-doc                3.3-1      Lex and Yacc implementation for Py

-- no debconf information

-- 
  Ronan KERYELL                      |\/  GSM:    (+33|0) 6 13 14 37 66
  HPC Project                        |/)  Fax:    (+33|0) 1 46 01 05 46
  9 Route du Colonel Marcel Moraine  K    E-mail: r...@hpc-project.com
  92360 Meudon La ForĂȘt              |\   skype:keryell
  FRANCE                             | \  http://hpc-project.com



--
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