Bug#710312: python3-pywapi: ifails to install: SyntaxError in /usr/lib/python3/dist-packages/pywapi.py, line 370

2013-05-29 Thread Andreas Beckmann
Package: python3-pywapi
Version: 0.3.2-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.

From the attached log (scroll to the bottom...):

  Selecting previously unselected package python3-pywapi.
  (Reading database ... 7827 files and directories currently installed.)
  Unpacking python3-pywapi (from .../python3-pywapi_0.3.2-1_all.deb) ...
  Setting up python3-pywapi (0.3.2-1) ...
File /usr/lib/python3/dist-packages/pywapi.py, line 370
  weather_data['geo']['lat'] = u''
 ^
  SyntaxError: invalid syntax
  
  dpkg: error processing python3-pywapi (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   python3-pywapi


cheers,

Andreas


python3-pywapi_0.3.2-1.log.gz
Description: GNU Zip compressed data


Bug#710312: python3-pywapi: ifails to install: SyntaxError in /usr/lib/python3/dist-packages/pywapi.py, line 370

2013-05-29 Thread Jakub Wilk

* Andreas Beckmann a...@debian.org, 2013-05-29, 21:22:

 Setting up python3-pywapi (0.3.2-1) ...
   File /usr/lib/python3/dist-packages/pywapi.py, line 370
 weather_data['geo']['lat'] = u''
^
 SyntaxError: invalid syntax


u'' literals are valid only in Python 2 and in Python = 3.3.
Running 2to3 over the code shows that's there are more 2isms: xrange(), 
.has_key().


--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#710312: [paul...@debian.org: Re: [Python-modules-team] Bug#710312: python3-pywapi: ifails to install: SyntaxError in /usr/lib/python3/dist-packages/pywapi.py, line 370]

2013-05-29 Thread Paul Tagliamonte
On Wed, May 29, 2013 at 09:48:25PM +0200, Jakub Wilk wrote:
 * Andreas Beckmann a...@debian.org, 2013-05-29, 21:22:
  Setting up python3-pywapi (0.3.2-1) ...
File /usr/lib/python3/dist-packages/pywapi.py, line 370
  weather_data['geo']['lat'] = u''
 ^
  SyntaxError: invalid syntax
 
 u'' literals are valid only in Python 2 and in Python = 3.3.
 Running 2to3 over the code shows that's there are more 2isms:
 xrange(), .has_key().

Worse case, as a patcher (and if you really need to fix this for 3.2),
you *can* add a dependency on six and replace ufoo -- u(foo).

Cheers,
  Paul

-- 
 .''`.  Paul Tagliamonte paul...@debian.org
: :'  : Proud Debian Developer
`. `'`  4096R / 8F04 9AD8 2C92 066C 7352  D28A 7B58 5B30 807C 2A87
 `- http://people.debian.org/~paultag


signature.asc
Description: Digital signature


Bug#710312: python3-pywapi: ifails to install: SyntaxError in /usr/lib/python3/dist-packages/pywapi.py, line 370

2013-05-29 Thread Andrew Starr-Bochicchio
On Wed, May 29, 2013 at 3:48 PM, Jakub Wilk jw...@debian.org wrote:
 * Andreas Beckmann a...@debian.org, 2013-05-29, 21:22:

  Setting up python3-pywapi (0.3.2-1) ...
File /usr/lib/python3/dist-packages/pywapi.py, line 370
  weather_data['geo']['lat'] = u''
 ^
  SyntaxError: invalid syntax


 u'' literals are valid only in Python 2 and in Python = 3.3.
 Running 2to3 over the code shows that's there are more 2isms: xrange(),
 .has_key().

Looks to be fixed in upstream svn:

https://code.google.com/p/python-weather-api/source/detail?r=143

I'll sort this out.

Sorry for the noise,

-- Andrew Starr-Bochicchio

   Ubuntu Developer https://launchpad.net/~andrewsomething
   Debian Developer http://qa.debian.org/developer.php?login=asb
   PGP/GPG Key ID: D53FDCB1


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org