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

Andrew Starr-Bochicchio asb at debian.org
Wed May 29 20:05:05 UTC 2013


On Wed, May 29, 2013 at 3:48 PM, Jakub Wilk <jwilk at debian.org> wrote:
> * Andreas Beckmann <anbe at 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



More information about the Python-modules-team mailing list