﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19805	Required trailing slash on tarball URLs breaks pip	James Aylett	nobody	"`https://www.djangoproject.com/download/1.4.3/tarball/` ends in a slash. Without a slash, the URL returns 404 rather than the redirect to the actual tarball. Unfortunately, pip seems to remove the trailing slash before fetching the URL. (I haven't upgrade pip from my distro version—this is on Ubuntu 12.10—and it definitely worked as little as a few weeks ago.) Manually resolving the redirect yields a URL that pip handles quite happily.

{{{
user@ubuntu:~$ virtualenv --system-site-packages ENV
user@ubuntu:~$ ENV/bin/pip --version
pip 1.1 from /home/user/ENV/lib/python2.7/site-packages/pip-1.1-py2.7.egg (python 2.7)
user@ubuntu:~$ ENV/bin/pip install https://www.djangoproject.com/download/1.4.3/tarball/
Downloading/unpacking https://www.djangoproject.com/download/1.4.3/tarball
  HTTP error 404 while getting https://www.djangoproject.com/download/1.4.3/tarball
  Could not install requirement https://www.djangoproject.com/download/1.4.3/tarball because of error HTTP Error 404: NOT FOUND
Could not install requirement https://www.djangoproject.com/download/1.4.3/tarball because of HTTP error HTTP Error 404: NOT FOUND for URL https://www.djangoproject.com/download/1.4.3/tarball
Storing complete log in /home/user/.pip/pip.log
user@ubuntu:~$ ENV/bin/pip install http://www.djangoproject.com/m/releases/1.4/Django-1.4.3.tar.gz
Downloading/unpacking http://www.djangoproject.com/m/releases/1.4/Django-1.4.3.tar.gz
  Downloading Django-1.4.3.tar.gz (7.7Mb): 7.7Mb downloaded
  Running setup.py egg_info for package from http://www.djangoproject.com/m/releases/1.4/Django-1.4.3.tar.gz

etc
}}}"	Bug	closed	*.djangoproject.com	1.4	Normal	duplicate			Unreviewed	0	0	0	0	0	0
