tox py33 fails with UnicodeDecodeError

Bug #1241560 reported by Chuck Short
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Fix Released
Medium
Chuck Short

Bug Description

Downloading/unpacking pbr>=0.5.21,<1.0 (from -r /home/chuck/work/server/openstack/python3/python-keystoneclient/python-keystoneclient/requirements.txt (line 1))
  Running setup.py egg_info for package pbr
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found

    [pbr] In git context, generating filelist from git
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Downloading/unpacking argparse (from -r /home/chuck/work/server/openstack/python3/python-keystoneclient/python-keystoneclient/requirements.txt (line 2))
  You are installing an externally hosted file. Future versions of pip will default to disallowing externally hosted files.
  Running setup.py egg_info for package argparse

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.orig' found anywhere in distribution
    warning: no previously-included files matching '*.rej' found anywhere in distribution
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching 'env24'
    no previously-included directories found matching 'env25'
    no previously-included directories found matching 'env26'
    no previously-included directories found matching 'env27'
Downloading/unpacking iso8601>=0.1.4 (from -r /home/chuck/work/server/openstack/python3/python-keystoneclient/python-keystoneclient/requirements.txt (line 3))
  Downloading iso8601-0.1.5.tar.gz
  Running setup.py egg_info for package iso8601
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/home/chuck/work/server/openstack/python3/python-keystoneclient/python-keystoneclient/.tox/py33/build/iso8601/setup.py", line 8, in <module>
        long_description = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
      File "/home/chuck/work/server/openstack/python3/python-keystoneclient/python-keystoneclient/.tox/py33/lib/python3.3/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1006: ordinal not in range(128)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/home/chuck/work/server/openstack/python3/python-keystoneclient/python-keystoneclient/.tox/py33/build/iso8601/setup.py", line 8, in <module>

    long_description = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()

  File "/home/chuck/work/server/openstack/python3/python-keystoneclient/python-keystoneclient/.tox/py33/lib/python3.3/encodings/ascii.py", line 26, in decode

    return codecs.ascii_decode(input, self.errors)[0]

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1006: ordinal not in range(128)

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/chuck/work/server/openstack/python3/python-keystoneclient/python-keystoneclient/.tox/py33/build/iso8601
Storing complete log in /home/chuck/work/server/openstack/python3/python-keystoneclient/python-keystoneclient/.tox/py33/tmp/pseudo-home/.pip/pip.log

ERROR: could not install deps [-r/home/chuck/work/server/openstack/python3/python-keystoneclient/python-keystoneclient/requirements.txt, -r/home/chuck/work/server/openstack/python3/python-keystoneclient/python-keystoneclient/test-requirements.txt]

Changed in python-keystoneclient:
assignee: nobody → Chuck Short (zulcss)
status: New → In Progress
Dolph Mathews (dolph)
summary: - tox py33 fails
+ tox py33 fails with UnicodeDecodeError
Changed in python-keystoneclient:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/50986
Committed: http://github.com/openstack/python-keystoneclient/commit/92954a57f8490a5d062df2e9ae7865b8317ce55e
Submitter: Jenkins
Branch: master

commit 92954a57f8490a5d062df2e9ae7865b8317ce55e
Author: Chuck Short <email address hidden>
Date: Thu Oct 10 13:09:32 2013 -0400

    python3: Work around httpretty issue

    Currently running tox.ini with py33 installation
    fails because of a failure to read a unicode file
    while installing httpretty.

    Closes-Bug: #1241560

    Change-Id: I6012c4fcca0d0354f0c1bdf4797f6e7409f7bf1c
    Signed-off-by: Chuck Short <email address hidden>

Changed in python-keystoneclient:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in python-keystoneclient:
milestone: none → 0.4.2
Dolph Mathews (dolph)
Changed in python-keystoneclient:
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.