setup.py stumbles about an umlaut in jsonpointer.py when running under Python 3

Bug #1185170 reported by Michael Bienia
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-json-pointer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When trying to install the module for use with Python 3 the setup.py stumbles upon an umlaut in jsonpointer.py which causes a FTBFS.

Tags: ftbfs
Revision history for this message
Michael Bienia (geser) wrote :
Revision history for this message
Michael Bienia (geser) wrote :

Based on a discussion in #ubuntu-devel about a similar issue, I got pointed to io.open() which is available in both Python 2 and 3.

affects: python-json-patch (Ubuntu) → python-json-pointer (Ubuntu)
Revision history for this message
Barry Warsaw (barry) wrote :

@Michael: Looks good to me, and indeed it fixes the build. I'll sponsor this into Ubuntu.

@Chuck: hope you don't mind me subscribing you - could you try to get these changes into Debian so we don't carry a delta on the package?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-json-pointer - 1.0-1ubuntu2

---------------
python-json-pointer (1.0-1ubuntu2) saucy; urgency=low

  * Use io.open() to open jsonpointer.py with utf-8 encoding in setup.py so it
    works in both Python 2 and 3. (LP: #1185170)
 -- Michael Bienia <email address hidden> Tue, 28 May 2013 23:01:38 +0200

Changed in python-json-pointer (Ubuntu):
status: New → 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.