No support for Python 3

Bug #1598416 reported by Robie Basak
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
QR Tools
Fix Released
Critical
Ramiro Algozino
qr-tools (Debian)
Fix Released
Unknown

Bug Description

I'm starting a new project, and it seems that this library would be perfect, only it doesn't support Python 3 (AFAICT). I don't want to start a new project in Python 2 :-(

Related branches

Revision history for this message
Robie Basak (racb) wrote :

This may depend on a Python 3 port of zbar which does not exist either :-/

Revision history for this message
Robie Basak (racb) wrote :
Revision history for this message
Ramiro Algozino (algozino) wrote : Re: [Bug 1598416] Re: No support for Python 3

That's right, we need zbar to support python3 first; but zbar is used only
for decoding, if you need encoding only there are several options available.

Cheers!

2016-07-02 8:35 GMT-03:00 Robie Basak <email address hidden>:

> https://sourceforge.net/p/zbar/bugs/86/ is the zbar bug.
>
> --
> You received this bug notification because you are a member of QR Tools
> Team, which is subscribed to QR Tools.
> https://bugs.launchpad.net/bugs/1598416
>
> Title:
> No support for Python 3
>
> Status in QR Tools:
> New
>
> Bug description:
> I'm starting a new project, and it seems that this library would be
> perfect, only it doesn't support Python 3 (AFAICT). I don't want to
> start a new project in Python 2 :-(
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qr-tools/+bug/1598416/+subscriptions
>

--
Ramiro Algozino
http://algozino.com.ar/

Revision history for this message
Evgeny Kapun (abacabadabacaba) wrote :

Because of this bug, qr-tools package is due to be removed from Debian [1].

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932865

Revision history for this message
Papoteur (yves-brungard-mageia) wrote :

Hello,
There is now a zbar version with python 3 support.
https://github.com/mchehab/zbar
I started the port of qrtools.py and qtqr.py to Python 3

Revision history for this message
Ramiro Algozino (algozino) wrote :

Awesome, thank you!

Il Sab 31 Ago 2019, 10:26 Papoteur <email address hidden> ha
scritto:

> Hello,
> There is now a zbar version with python 3 support.
> https://github.com/mchehab/zbar
> I started the port of qrtools.py and qtqr.py to Python 3
>
> --
> You received this bug notification because you are a member of QR Tools
> Team, which is subscribed to QR Tools.
> https://bugs.launchpad.net/bugs/1598416
>
> Title:
> No support for Python 3
>
> Status in QR Tools:
> New
> Status in qr-tools package in Debian:
> Unknown
>
> Bug description:
> I'm starting a new project, and it seems that this library would be
> perfect, only it doesn't support Python 3 (AFAICT). I don't want to
> start a new project in Python 2 :-(
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qr-tools/+bug/1598416/+subscriptions
>

Revision history for this message
Papoteur (yves-brungard-mageia) wrote :

This is a set of 6 patches to have qr-tools working in python 3 with zbar in Python 3 too.

Revision history for this message
Papoteur (yves-brungard-mageia) wrote :

in form of git patches

Revision history for this message
Papoteur (yves-brungard-mageia) wrote :
Revision history for this message
Papoteur (yves-brungard-mageia) wrote :
Revision history for this message
Papoteur (yves-brungard-mageia) wrote :
Revision history for this message
Papoteur (yves-brungard-mageia) wrote :
Revision history for this message
Ramiro Algozino (algozino) wrote :

Thanks for the patches Papoteur.

In order to push them to the PPA, I think we need first that zbar packaged in order to use it as a dependecy. For example, I can't locally test the zbar integration without compiling zbar from the github repo you linked.

Does anybody know if the packaging of that project is planned?

Changed in qr-tools (Debian):
status: Unknown → New
Revision history for this message
Evgeny Kapun (abacabadabacaba) wrote :

Python 3 bindings for zbar are already packaged for Ubuntu:

https://launchpad.net/ubuntu/eoan/amd64/python3-zbar

To install, add eoan-proposed suite to sources.list.

Revision history for this message
Ramiro Algozino (algozino) wrote :

Thanks for the update, I plan on working on ti this weekend.

Best regards,

Ramiro Algozino
https://algozino.com.ar/
On 12 Sep 2019, 03:15 +0200, Evgeny Kapun <email address hidden>, wrote:
> Python 3 bindings for zbar are already packaged for Ubuntu:
>
> https://launchpad.net/ubuntu/eoan/amd64/python3-zbar
>
> To install, add eoan-proposed suite to sources.list.
>
> --
> You received this bug notification because you are a member of QR Tools
> Team, which is subscribed to QR Tools.
> https://bugs.launchpad.net/bugs/1598416
>
> Title:
> No support for Python 3
>
> Status in QR Tools:
> New
> Status in qr-tools package in Debian:
> New
>
> Bug description:
> I'm starting a new project, and it seems that this library would be
> perfect, only it doesn't support Python 3 (AFAICT). I don't want to
> start a new project in Python 2 :-(
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qr-tools/+bug/1598416/+subscriptions

Changed in qr-tools:
status: New → In Progress
assignee: nobody → Ramiro Algozino (algozino)
Changed in qr-tools (Debian):
status: New → Confirmed
Changed in qr-tools (Debian):
status: Confirmed → Fix Released
Revision history for this message
Papoteur (yves-brungard-mageia) wrote :

Hello,
Is it now planned to have a release, such that distros can download a tarball and refer to it?

Revision history for this message
Ramiro Algozino (algozino) wrote :

Hello!

The code is already in trunk, the deb packaging though hasn’t been updated yet. I’m not having too much free time lately. I Will do it as soon as possible.

Regards,

Ramiro Algozino
https://algozino.com.ar/
On 21 Oct 2019, 16:56 +0200, Papoteur <email address hidden>, wrote:
> Hello,
> Is it now planned to have a release, such that distros can download a tarball and refer to it?
>
> --
> You received this bug notification because you are a member of QR Tools
> Team, which is subscribed to QR Tools.
> https://bugs.launchpad.net/bugs/1598416
>
> Title:
> No support for Python 3
>
> Status in QR Tools:
> In Progress
> Status in qr-tools package in Debian:
> Fix Released
>
> Bug description:
> I'm starting a new project, and it seems that this library would be
> perfect, only it doesn't support Python 3 (AFAICT). I don't want to
> start a new project in Python 2 :-(
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qr-tools/+bug/1598416/+subscriptions

Revision history for this message
Ramiro Algozino (algozino) wrote :

I've pushed the packaging definition changes and requested the build for the packages. Launchpad will process build in 5h, hopefully the build passes and the packages should be available on the Daily PPA

Changed in qr-tools:
importance: Undecided → Critical
status: In Progress → Fix Committed
Revision history for this message
Ramiro Algozino (algozino) wrote :

Just pushed packages for Ubuntu Eon and Focal to Daily PPA. Thank you all for your time and collaboration.

Changed in qr-tools:
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.