Syntax error when installing 1.2.3 on Python 3.3.2

Looked through all the recent issues and couldn't find anything on it:

```
(twython3)Mikes-MacBook-Air:~ mikehelmick$ pip install requests
Downloading/unpacking requests
  Downloading requests-1.2.3.tar.gz (348kB): 348kB downloaded
  Running setup.py egg_info for package requests

Installing collected packages: requests
  Running setup.py install for requests

      File "/Users/mikehelmick/.virtualenv/twython3/lib/python3.3/site-packages/requests/packages/urllib3/contrib/ntlmpool.py", line 38
        """
         ^
    SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 130-131: truncated \uXXXX escape

Successfully installed requests
Cleaning up...
```

`requests` still installed find, but just looks a little ugly when installing ;)


Ugh. I thought we fixed this. :(


We did. =) This is fixed by 2ed976ea7147a9d0c18998e02b16d691b6798a3e, which hasn't yet made it into PyPI.

Thanks for pointing it out @michaelhelmick! The fix should be out fairly soon.


still broken

C:\Python33\Scripts>pip-3.3.exe install requests
Downloading/unpacking requests
  Downloading requests-1.2.3.tar.gz (348kB): 348kB downloaded
  Running setup.py egg_info for package requests

Installing collected packages: requests
  Running setup.py install for requests

```
  File "C:\Python33\Lib\site-packages\requests\packages\urllib3\contrib\ntlm
```

pool.py", line 38
        """
         ^
    SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in pos
ition 130-131: truncated \uXXXX escape

Successfully installed requests
Cleaning up...


@tz18 The commit mentioned above has still not made it into PyPI. =)


same here. We need a pypi that uses git!


You can get around this using pip

``` bash
$ pip install git+git://github.com/kennethreitz/requests.git
```


Wow, 4 months and still not in PyPi!?  What needs to happen to speed this up?


@mayfield We need to get to a state where we're happy releasing the 2.0 release. =) For what it's worth we're not aware of any real problems caused by this, it just looks nasty.


Could you please let us whether this bug has been fixed? I am trying to stall v2.4.1 both from git and pip and on ubuntu 12.04 and I am getting the following traceback

Exception:
Traceback (most recent call last):
  File "/home/jmrosal/.virtualenvs/DataApp3.3/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/basecommand.py", line 139, in main
    status = self.run(options, args)
  File "/home/jmrosal/.virtualenvs/DataApp3.3/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/commands/install.py", line 266, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/jmrosal/.virtualenvs/DataApp3.3/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/req.py", line 1062, in prepare_files
    req_to_install.assert_source_matches_version()
  File "/home/jmrosal/.virtualenvs/DataApp3.3/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/req.py", line 371, in assert_source_matches_version
    version = self.installed_version
  File "/home/jmrosal/.virtualenvs/DataApp3.3/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/req.py", line 367, in installed_version
    return self.pkg_info()['version']
  File "/home/jmrosal/.virtualenvs/DataApp3.3/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/req.py", line 334, in pkg_info
    data = self.egg_info_data('PKG-INFO')
  File "/home/jmrosal/.virtualenvs/DataApp3.3/lib/python3.3/site-packages/pip-1.3.1-py3.3.egg/pip/req.py", line 274, in egg_info_data
    data = fp.read()
  File "/home/jmrosal/.virtualenvs/DataApp3.3/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 0xe2 in position 4820: ordinal not in range(128)


@jmrosal This bug was fixed a long time ago. You can tell, because it prevented _anyone_ from installing the library on Python 3, and affected version 1.2.3. We are now on version 2.4.1. Presumably we did not get through that many versions without noticing that no-one could install the package.

More importantly, your traceback doesn't seem to point to any requests code at all. I just did a test install of requests on Python 3 and found no problems. =)


@jmrosal you're using an abysmally old version of pip (1.3.1). It would seem (since you're inside a virtualenv) that you're also using an extremely old version of virtualenv. I would:
1. deactivate your virtualenv
2. upgrade virtualenv
3. recreate the virtualenv you're trying to work in
4. install requests


You are right. Once pip is updated, everything gets sorted. Apologies for the noise and thanks for the feedback.


@jmrosal no worries. In the future you might try hopping onto IRC first or emailing one of us.