On 09/07/15 09:01, Raphael Hertzog wrote:
> reassign 791874 src:python-guess-language 0.5.2-2
> thanks
>
> Hello Tomasz,
>
> I reported the bug below but made a small mistake in the package
> assignment that I'm just fixing now. Since you didn't get
> the initial mail I'm putting you in copy now. :)
>
> Cheers,

Hi,

>
> On Thu, 09 Jul 2015, Raphaël Hertzog wrote:
> > Source: python3-guess-language
> > Version: 0.5.2-2
> > Severity: normal
> > User: [email protected]
> > Usertags: origin-kali
> >
> > Hello,
> >
> > New upstream version of w3af that we have in Kali (the package in Debian
> > is currently outdated) depend on this Python module but the package uses
> > Python 2.
> >
> > Can you thus provide the usual Python 2 library package ? (aka
> > python-guess-language)

The only reason is that the Python 2 version depends on lib3to2 which
is not in Debian [0, 1] (but is in NEW [2]).

I'd be better of course if the codebase would be simply both Python 2
and Python 3 compatible...

[0] https://bitbucket.org/spirit/guess_language
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597283
[2] https://ftp-master.debian.org/new/python-3to2_1.0-1.html

> >
> > I was quite astonished to see that the source package was only providing
> > the Python 3 library. I blindly synced the package from Debian Testing
> > because I was not expecting any problem and just discovered this weird
> > choice (thus severity normal instead of wishlist).

Yes, that's a pity, but I needed the library only for Python 3 and
made this choice.

Two solutions are possible:
   1) wait for 3to2
   2) fix the code to work both in Python 2 and Python 3 and push it upstream;
      guess-language is fairly small, I think it is doable

Cheers,
Tomasz

Attachment: signature.asc
Description: Digital signature

Reply via email to