Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"pip install -U" doesn't upgrade #634
On at least one of my machines "pip install -U" doesn't always upgrade packages.
This might be because there happened to be a subdirectory named "build" in the current working directory that contained a extracted source archive of an older version.
$ $ pip install -U pytz lxml
Downloading/unpacking lxml from http://pypi.python.org/packages/source/l/lxml/lxml-2.3.5.tar.gz#md5=730bb63383528b65eaa099d64ce276cf
Installing collected packages: pytz, lxml
Found existing installation: lxml 2.3.4
Not how pip downloaded lxml 2.3.5 and then says it is building 2.3.4.
After this I noticed a directory named "build" in the current working directory. After removing this directory I could perform the upgrade.
IMHO this is a bug because pip shouldn't take notice of the contents of the CWD.