Bug#821407: debtags: scripts use python3 but have Python 2-only syntax

2016-04-24 Thread Paul Wise
On Thu, 2016-04-21 at 11:19 +0200, Enrico Rossi wrote:

> if you are volunteering for re-implementing these features you are very
> welcome. Right now my concern are to clean/remove all the things that
> no longer works because of the changes happened in the debtags galaxy :)
> and make the package fit for release ASAP.

I doubt I will find the motivation to do so after this discussion.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise




signature.asc
Description: This is a digitally signed message part


Bug#821407: debtags: scripts use python3 but have Python 2-only syntax

2016-04-21 Thread Enrico Rossi
On Thu, Apr 21, 2016 at 10:19:52AM +0800, Paul Wise wrote:
> That looks pretty easy to fix once python-requests is fixed.

if you are volunteering for re-implementing these features you are very
welcome. Right now my concern are to clean/remove all the things that
no longer works because of the changes happened in the debtags galaxy :)
and make the package fit for release ASAP.

Thanks
Ciao
E.

-- 
GPG Key: 4096R/F2133176 2010-10-19 Enrico Rossi 



Bug#821407: debtags: scripts use python3 but have Python 2-only syntax

2016-04-20 Thread Paul Wise
On Wed, 2016-04-20 at 10:49 +0200, Enrico Rossi wrote:

> First I fixed the syntax, but there are other missing library that need
> to be fixed, then I asked Enrico Zini and he confirmed that these
> software are no longer maintained and should be removed long ago.

It is pretty simple to make them maintained again and they are useful
so I don't see why they should be removed, but your mind seems made up.

> See also #813581 regarding the submit-patch script.

That looks pretty easy to fix once python-requests is fixed.

So maybe fix it in the source but don't distribute it in the binary
package until the fix for python-requests reaches Debian.

Or just remove it, up to you.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise




signature.asc
Description: This is a digitally signed message part


Bug#821407: debtags: scripts use python3 but have Python 2-only syntax

2016-04-20 Thread Enrico Rossi
On Wed, Apr 20, 2016 at 09:53:44AM +0800, Paul Wise wrote:
> > both scripts are broken and no longer maintained. I'm going to remove
> > them from the next version.
> 
> Seems like they are useful scripts that should be fixed instead?

First I fixed the syntax, but there are other missing library that need
to be fixed, then I asked Enrico Zini and he confirmed that these
software are no longer maintained and should be removed long ago.
See also #813581 regarding the submit-patch script.

> Please remove python3-debtagshw if you remove debtags-hardware.

Yes I will.
Thanks
Ciao
E.

-- 
GPG Key: 4096R/F2133176 2010-10-19 Enrico Rossi 


signature.asc
Description: PGP signature


Bug#821407: debtags: scripts use python3 but have Python 2-only syntax

2016-04-19 Thread Paul Wise
On Tue, 2016-04-19 at 15:37 +0200, Enrico Rossi wrote:

> both scripts are broken and no longer maintained. I'm going to remove
> them from the next version.

Seems like they are useful scripts that should be fixed instead?

Please remove python3-debtagshw if you remove debtags-hardware.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise




signature.asc
Description: This is a digitally signed message part


Bug#821407: debtags: scripts use python3 but have Python 2-only syntax

2016-04-19 Thread Enrico Rossi
Package: debtags
Version: 2.0.2
Tags: confirmed

Hi Paul,

On Mon, Apr 18, 2016 at 10:07:31PM +0800, Paul Wise wrote:
> File: /usr/bin/debtags-submit-patch
> File: /usr/bin/debtags-hardware
> 
> These two scripts fail to work because they use Python 2 only syntax
> but use /usr/bin/python3 and debtags depends only on Python 3.

both scripts are broken and no longer maintained. I'm going to remove
them from the next version.

Thanks for reporting.
E.

-- 
GPG Key: 4096R/F2133176 2010-10-19 Enrico Rossi 


signature.asc
Description: PGP signature


Bug#821407: debtags: scripts use python3 but have Python 2-only syntax

2016-04-18 Thread Paul Wise
Package: debtags
Version: 2.0.2
Severity: important
File: /usr/bin/debtags-submit-patch
File: /usr/bin/debtags-hardware
User: debian-pyt...@lists.debian.org
Usertags: python3

These two scripts fail to work because they use Python 2 only syntax but use 
/usr/bin/python3 and debtags depends only on Python 3.

pabs@chianamo ~/tmp-python-debtags $ apt-cache show debtags |grep Depen
Depends: python3:any (>= 3.2~), python3-apt, python3-debian
pabs@chianamo ~ $ head -n1 /usr/bin/debtags-*
==> /usr/bin/debtags-hardware <==
#!/usr/bin/python3

==> /usr/bin/debtags-submit-patch <==
#!/usr/bin/python3
pabs@chianamo ~ $ debtags-submit-patch 
  File "/usr/bin/debtags-submit-patch", line 60
except urllib2.HTTPError, e:
^
SyntaxError: invalid syntax
pabs@chianamo ~ $ debtags-hardware 
  File "/usr/bin/debtags-hardware", line 54
print "#"
^
SyntaxError: Missing parentheses in call to 'print'

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 
'testing-proposed-updates'), (850, 'buildd-testing-proposed-updates'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debtags depends on:
ii  python3-apt 1.1.0~beta2
ii  python3-debian  0.1.27
pn  python3:any 

debtags recommends no packages.

Versions of packages debtags suggests:
pn  tagcoll  

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise




signature.asc
Description: This is a digitally signed message part