Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #1715

Released: pip 7.0 and virtualenv 13.0

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <donald@stufft.io>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'cache': 0.05; 'default.': 0.07; 'reason,': 0.07; 'cached': 0.09; 'identifier': 0.09; 'percentage': 0.09; 'received:internal': 0.09; 'release,': 0.09; 'subject:virtualenv': 0.09; 'url:github': 0.09; 'bug': 0.10; 'itself.': 0.11; 'binaries': 0.16; 'caching': 0.16; 'filename:fname piece:signature': 0.16; 'pypi.': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.44': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:compute4.internal': 0.16; 'received:messagingengine.com': 0.16; 'sdist': 0.16; 'sdist,': 0.16; 'url:issues': 0.16; 'url:pip': 0.16; 'instance,': 0.18; 'changes': 0.20; 'tracker': 0.20; 'disable': 0.22; 'installation': 0.23; "i've": 0.24; 'feature': 0.24; 'install': 0.25; 'installed': 0.26; 'bugs': 0.27; 'respective': 0.27; "i'm": 0.29; '7.0': 0.29; 'always,': 0.29; 'attempting': 0.29; 'cases.': 0.29; 'cpu': 0.29; 'finds': 0.29; 'installed,': 0.29; '---': 0.30; 'older': 0.32; 'common': 0.33; 'downloading': 0.33; 'open': 0.33; 'next': 0.35; 'downloads': 0.35; 'installing': 0.35; 'list': 0.35; 'but': 0.36; 'project': 0.36; 'there': 0.36; 'notes': 0.36; 'projects.': 0.36; 'received:10': 0.37; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'correctly': 0.37; 'instead': 0.38; 'received:66': 0.38; 'building': 0.38; 'say': 0.38; 'skip:p 20': 0.38; 'method': 0.39; 'to:addr:python.org': 0.39; 'build': 0.40; 'some': 0.40; 'back': 0.61; 'free': 0.61; 'impact': 0.61; 'taking': 0.62; 'header :Message-Id:1': 0.62; 'visit': 0.64; 'within': 0.64; 'total': 0.64; 'excited': 0.65; 'here': 0.66; 'fall': 0.66; 'cut': 0.67; 'biggest': 0.67; 'hey,': 0.73; 'directly.': 0.76; 'disabled,': 0.84; 'donald': 0.84; 'pip': 0.84; 'wheel': 0.84; 'wheels': 0.84
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=stufft.io; h= content-type:date:from:message-id:mime-version:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=0UQX+OZOYWIBjO53pRIzlmSbYkQ =; b=JihK5N+p58PODeKvXMPGUoRQddZ1vlnGPylBN1p6P9oBGNGUvDGOLtGefk0 hGa2VVGOzpuS1ZwyVR+bCRIWuTaYqub2rQ/aXkIFvwJa0UsOekdJ0tg+LhVMMHtJ ag+SU2wbcpsvDF1osvDcGa8vTxsfW3i0Msuec0ZX+H2jUgms=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=0U QX+OZOYWIBjO53pRIzlmSbYkQ=; b=eOzBiVxQEz8rWvwqhs3mdzliOtu5/fURhN +i59cd/W0CDtYuvpJOG5QTRIpCylXUcxIV9sqhWsfcxIw1YMa8G9N/CtnVTmsaOj 2OX6nldI9zFGTVTDUFJJ6yLbqo1uWU89venzVP0k7I+D8vukaGHM7Whg0GzM2rdV P587MXBi8=
X-Sasl-enc evM3B2Xu5uXVT3yC/K41lEZRXRWEe56M3VDjtFk0gXa5 1432268507
From Donald Stufft <donald@stufft.io>
X-Pgp-Agent GPGMail 2.5b6
Content-Type multipart/signed; boundary="Apple-Mail=_957DA004-D633-4A32-AC14-F3BFBAA10D6B"; protocol="application/pgp-signature"; micalg=pgp-sha256
Subject Released: pip 7.0 and virtualenv 13.0
Date Fri, 22 May 2015 00:21:47 -0400
To python-announce-list@python.org
Mime-Version 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer Apple Mail (2.2098)
X-Mailman-Approved-At Fri, 22 May 2015 07:06:50 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.213.1432271211.17265.python-announce-list@python.org> (permalink)
Lines 100
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1432271211 news.xs4all.nl 2895 [2001:888:2000:d::a6]:53422
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:1715

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hey,

I'm happy to say that I've just cut the releases of pip 7.0 and virtualenv 13.0
and I have uploaded them to PyPI. For the full list of changes go visit the
respective changelogs, however the biggest change here is that in pip 7.0 when
pip finds and downloads a sdist, instead of installing that sdist directly
it will instead build a wheel of that and cache it locally. From then on out
it will use that cached wheel to install instead of downloading and building
the sdist each time. This can have a profound impact upon installation speed.


For instance, taking a look at the popular lxml library:

    # Without a locally cached wheel
    $ time pip install lxml
      ...
    pip install lxml  36.00s user 1.40s system 98% cpu 38.117 total

    # The next time, with a primed cache.
    $ time pip install lxml
      ...
    pip install lxml  0.61s user 0.10s system 94% cpu 0.750 total


Some important notes about this new feature:

* If the wheel project is not installed, then this feature will be disabled,
  however get-pip.py and virtualenv both will now install wheel by default.

* If attempting to actually *build* the wheel fails for any reason, it will
  fall back to the older method of simply installing the sdist directly.

* If a project cannot be installed correctly from a wheel, but it can
  successfully build a wheel, you can disable using wheels for that project
  by adding the flag --no-binary project1,project2,project3 to tell pip not to
  use binaries for those projects. You can use the :all: psuedo identifier to
  disable all wheels.


I'm pretty excited about this release, caching built wheels is going to result
in a tremendous speedup for a lot of common cases. As with any big change there
is a pretty good change that this will cause breakages for some percentage of
projects as well as have bugs within the system itself. As always, if you find
a bug please feel free to open an issue up on the pip issue tracker at
https://github.com/pypa/pip/issues.

---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Released: pip 7.0 and virtualenv 13.0 Donald Stufft <donald@stufft.io> - 2015-05-22 00:21 -0400

csiph-web