5 ms·
Wow, pip bundled by default. Very interesting.
by Watabou 13y ago
Wow, pip bundled by default. Very interesting.
- rectangletangle 13y agoHaving pip and venv bundled with the standard distribution is convenient.
- Watabou 13y agoYeah, I'm hoping this will make it easier for people to upgrade to python 3.
- tachion 13y agoDoesnt including those in distribution slows the pace at which they'll be developed and released?
- babarock 13y agoI don't want pip and virtualenv to be constantly changing and evolving. We finally reached a stage where they're usable reliably. Some stability wouldn't hurt.
- tshepang 13y agoIt's just bundled, meaning it's still developed externally. In fact, 3.4.1 will include a newer pip version.
- donaldstufft 13y agoAssuming we've released a newer version of pip when 3.4.1 is released :)
- baq 13y agothis, unicode and exceptions are IMHO good enough to start thinking about upgrading. you might say that pip is a non-issue because everybody who develops in python has it installed anyway, but in windows world deploying python apps has always been a pain (yes, i use py2exe, it's not perfect).
- raverbashing 13y agoNo, the Pip issue is huge This makes a proper P3 Virtualenv into something good (from something barely ok in 3.3 where you need to install setuptools manually in your virtualenv)
- jeffbr13 13y agoSurely you could just install Python3 and pip systemwide, then ask virtualenv/virtualenvwrapper to use that one? virtualenv -p $(which python3) ENV # with virtualenv mkvirtualenv [-a project path] -p $(which python3) ENVNAME # with virtualenvwrapper
- raverbashing 13y agoDid you actually try that? No, it doesn't work Python 3 comes with pyvenv that's the one that should be used
- pdw 13y agoHow does it break? I've always used virtualenv -p /path/to/python3 and it seems to work fine.
- raverbashing 13y agoJust tried this with virtualenv and pyvenv-3.4 and they don't produce identical results. The good thing about 3.4 is that they finally give a good virtualenv by default and we don't need to install setuptools/pip inside manually
- bitcrusher 13y agoDid you? That works perfectly if you already have python3 installed.
- rspeer 13y agopyvenv in Python 3.3 was immensely frustrating to use, because it leaves you without any package manager that understands your virtualenv. I've seen this rumor that virtualenv "doesn't work" in Python 3. It seems to be propagated by people who make Python 2 virtualenvs and get confused, including a StackOverflow thread full of people basically typing commands at random to try to fix the problem. But pyvenv in 3.3 had much more potential for confusion. The fact that Python 3.4 bundles pip may finally resolve this confusion, and make pyvenv appropriate to use. But I'm sure virtualenv will keep working fine as well as long as you don't mix up major versions of Python.
- unfamiliar 13y agoIs pip actually included by default, or just an installer for pip?
- donaldstufft 13y agoBoth kind of! Added to the stdlib was "ensurepip", which is a simple installer for pip. The ensurepip module includes inside of it a copy of pip that it will install from (in other words, ensurepip doesn't hit the network). There are various reasons why it does this, part of which is to enable easy upgrades to newer versions of pip both inside of CPython itself, and for the end user to upgrade it locally.