Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pip install / easy_install faster #3343

Closed
methane opened this issue May 21, 2013 · 2 comments
Closed

Make pip install / easy_install faster #3343

methane opened this issue May 21, 2013 · 2 comments
Milestone

Comments

@methane
Copy link

methane commented May 21, 2013

pip install ipython scrapes some website.
http://pypi-externals.caremad.io/ipython/

Setting PyPI makes install faster.
http://pypi-externals.caremad.io/help/what/

@takluyver
Copy link
Member

Thanks, that makes sense. I'd like to leave a bit of time for people to weigh in. pip lets you specify a version, are there any special cases we need to make sure still work? I've just tested pip install ipython==dev, and that doesn't work (it still tries svn).

@takluyver
Copy link
Member

I've had a bit more of a look into this. It's scraping several pages, so we should get a nice speedup in installation by doing this. It's also good for security: as PEP-438 points out, anyone who can do an HTTP man in the middle attack could currently deliver malicious code to a user trying to install IPython.

Users would no longer be able to pip install ipython== dev (which doesn't work anyway), 0.9.1, 0.9 or 0.8.4. Of course you could still manually download and install them if you had a particular need, so I'm not too worried that the automated installer tools won't find those old versions.

That seems like a no-brainer, so I've gone ahead and flipped the switch. We can flip it back if we find problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants