news.txt 12.5 KB
Newer Older
1
News for pip
2 3
============

4 5 6
tip
---

7 8 9
* Added support for `PyPI mirrors <http://pypi.python.org/mirrors>`_ as
  defined in `PEP 381 <http://www.python.org/dev/peps/pep-0381/>`_, from
  Jannis Leidel.
10

11
0.8
C
Carl Meyer 已提交
12 13
---

14 15 16
* Track which ``build/`` directories pip creates, never remove directories
  it doesn't create.  From Hugo Lopes Tavares.

C
Carl Meyer 已提交
17 18 19 20 21
* Pip now accepts file:// index URLs. Thanks Dave Abrahams.

* Various cleanup to make test-running more consistent and less fragile.
  Thanks Dave Abrahams.

C
Carl Meyer 已提交
22 23
* Real Windows support (with passing tests). Thanks Dave Abrahams.

24 25 26 27 28 29 30 31 32 33 34 35 36 37
* ``pip-2.7`` etc. scripts are created (Python-version specific scripts)

* ``contrib/build-standalone`` script creates a runnable ``.zip`` form of
  pip, from Jannis Leidel

* Editable git repos are updated when reinstalled

* Fix problem with ``--editable`` when multiple ``.egg-info/`` directories
  are found.

* A number of VCS-related fixes for ``pip freeze``, from Hugo Lopes Tavares.

* Significant test framework changes, from Hugo Lopes Tavares.

38 39 40
0.7.2
-----

C
Carl Meyer 已提交
41 42 43
* Set zip_safe=False to avoid problems some people are encountering where
  pip is installed as a zip file.

I
Ian Bicking 已提交
44 45
0.7.1
-----
46 47 48

* Fixed opening of logfile with no directory name. Thanks Alexandre Conrad.

I
Ian Bicking 已提交
49 50 51
* Temporary files are consistently cleaned up, especially after
  installing bundles, also from Alex Conrad.

52 53
* Tests now require at least ScriptTest 1.0.3.

I
Ian Bicking 已提交
54 55
0.7
---
I
Ian Bicking 已提交
56

57
* Fixed uninstallation on Windows
58
* Added ``pip search`` command.
C
Carl Meyer 已提交
59 60 61 62 63 64 65
* Tab-complete names of installed distributions for ``pip uninstall``.
* Support tab-completion when there is a global-option before the
  subcommand.
* Install header files in standard (scheme-default) location when installing
  outside a virtualenv. Install them to a slightly more consistent
  non-standard location inside a virtualenv (since the standard location is
  a non-writable symlink to the global location).
66 67 68 69 70 71 72
* pip now logs to a central location by default (instead of creating
  ``pip-log.txt`` all over the place) and constantly overwrites the
  file in question. On Unix and Mac OS X this is ``'$HOME/.pip/pip.log'``
  and on Windows it's ``'%HOME%\\pip\\pip.log'``. You are still able to
  override this location with the ``$PIP_LOG_FILE`` environment variable.
  For a complete (appended) logfile use the separate ``'--log'`` command line
  option.
73
* Fixed an issue with Git that left an editable packge as a checkout of a
74
  remote branch, even if the default behaviour would have been fine, too.
75 76
* Fixed installing from a Git tag with older versions of Git.
* Expand "~" in logfile and download cache paths.
77 78
* Speed up installing from Mercurial repositories by cloning without
  updating the working copy multiple times.
79 80
* Fixed installing directly from directories (e.g.
  ``pip install path/to/dir/``).
81
* Fixed installing editable packages with ``svn+ssh`` URLs.
82
* Don't print unwanted debug information when running the freeze command.
C
Carl Meyer 已提交
83 84 85 86
* Create log file directory automatically. Thanks Alexandre Conrad.
* Make test suite easier to run successfully. Thanks Dave Abrahams.
* Fixed "pip install ." and "pip install .."; better error for directory
  without setup.py. Thanks Alexandre Conrad.
87
* Support Debian/Ubuntu "dist-packages" in zip command. Thanks duckx.
C
Carl Meyer 已提交
88
* Fix relative --src folder. Thanks Simon Cross.
A
Alexandre Conrad 已提交
89
* Handle missing VCS with an error message. Thanks Alexandre Conrad.
C
Carl Meyer 已提交
90 91
* Added --no-download option to install; pairs with --no-install to separate
  download and installation into two steps. Thanks Simon Cross.
C
Carl Meyer 已提交
92 93
* Fix uninstalling from requirements file containing -f, -i, or
  --extra-index-url.
94
* Leftover build directories are now removed. Thanks Alexandre Conrad.
95

I
Ian Bicking 已提交
96 97
0.6.3
-----
I
Ian Bicking 已提交
98

J
Jannis Leidel 已提交
99 100 101
* Fixed import error on Windows with regard to the backwards compatibility
  package

102
0.6.2
I
Ian Bicking 已提交
103
-----
104

C
Carl Meyer 已提交
105 106
* Fixed uninstall when /tmp is on a different filesystem.

107 108
* Fixed uninstallation of distributions with namespace packages.

109 110 111
0.6.1
-----

112 113 114
* Added support for the ``https`` and ``http-static`` schemes to the
  Mercurial and ``ftp`` scheme to the Bazaar backend.

J
Jannis Leidel 已提交
115 116 117 118 119
* Fixed uninstallation of scripts installed with easy_install.

* Fixed an issue in the package finder that could result in an
  infinite loop while looking for links.

120 121 122
* Fixed issue with ``pip bundle`` and local files (which weren't being
  copied into the bundle), from Whit Morriss.

I
Ian Bicking 已提交
123
0.6
124 125 126 127 128
---

* Add ``pip uninstall`` and uninstall-before upgrade (from Carl
  Meyer).

J
Jannis Leidel 已提交
129 130
* Extended configurability with config files and environment variables.

131 132 133
* Allow packages to be upgraded, e.g., ``pip install Package==0.1``
  then ``pip install Package==0.2``.

134 135 136
* Allow installing/upgrading to Package==dev (fix "Source version does not
  match target version" errors).

137 138
* Added command and option completion for bash and zsh.

J
Jannis Leidel 已提交
139 140 141 142
* Extended integration with virtualenv by providing an option to
  automatically use an active virtualenv and an option to warn if no active
  virtualenv is found.

J
Jannis Leidel 已提交
143 144 145
* Fixed a bug with pip install --download and editable packages, where
  directories were being set with 0000 permissions, now defaults to 755.

C
Carl Meyer 已提交
146 147
* Fixed uninstallation of easy_installed console_scripts.

J
Jannis Leidel 已提交
148 149
* Fixed uninstallation on Mac OS X Framework layout installs

C
Carl Meyer 已提交
150 151
* Fixed bug preventing uninstall of editables with source outside venv.

152 153
* Creates download cache directory if not existing.

I
Ian Bicking 已提交
154 155 156 157 158
0.5.1
-----

* Fixed a couple little bugs, with git and with extensions.

I
Ian Bicking 已提交
159
0.5
160 161
---

162 163 164
* Added ability to override the default log file name (``pip-log.txt``)
  with the environmental variable ``$PIP_LOG_FILE``.

C
Carl Meyer 已提交
165
* Made the freeze command print installed packages to stdout instead of
166 167
  writing them to a file. Use simple redirection (e.g.
  ``pip freeze > stable-req.txt``) to get a file with requirements.
168

C
Carl Meyer 已提交
169
* Fixed problem with freezing editable packages from a Git repository.
170

171 172 173
* Added support for base URLs using ``<base href='...'>`` when parsing
  HTML pages.

174 175 176 177
* Fixed installing of non-editable packages from version control systems.

* Fixed issue with Bazaar's bzr+ssh scheme.

178 179
* Added --download-dir option to the install command to retrieve package
  archives. If given an editable package it will create an archive of it.
180

J
Jannis Leidel 已提交
181 182
* Added ability to pass local file and directory paths to ``--find-links``,
  e.g. ``--find-links=file:///path/to/my/private/archive``
183

184 185 186
* Reduced the amount of console log messages when fetching a page to find a
  distribution was problematic. The full messages can be found in pip-log.txt.

J
Jannis Leidel 已提交
187 188 189
* Added ``--no-deps`` option to install ignore package dependencies

* Added ``--no-index`` option to ignore the package index (PyPI) temporarily
190

191 192 193 194 195 196 197
* Fixed installing editable packages from Git branches.

* Fixes freezing of editable packages from Mercurial repositories.

* Fixed handling read-only attributes of build files, e.g. of Subversion and
  Bazaar on Windows.

198 199 200 201
* When downloading a file from a redirect, use the redirected
  location's extension to guess the compression (happens specifically
  when redirecting to a bitbucket.org tip.gz file).

202 203 204
* Editable freeze URLs now always use revision hash/id rather than tip or
  branch names which could move.

C
Carl Meyer 已提交
205 206 207 208
* Fixed comparison of repo URLs so incidental differences such as
  presence/absence of final slashes or quoted/unquoted special
  characters don't trigger "ignore/switch/wipe/backup" choice.

209 210 211
* Fixed handling of attempt to checkout editable install to a
  non-empty, non-repo directory.

I
Ian Bicking 已提交
212 213
0.4
---
I
Ian Bicking 已提交
214 215 216

* Make ``-e`` work better with local hg repositories

I
Ian Bicking 已提交
217 218 219 220 221 222 223
* Construct PyPI URLs the exact way easy_install constructs URLs (you
  might notice this if you use a custom index that is
  slash-sensitive).

* Improvements on Windows (from `Ionel Maries Cristian
  <http://ionelmc.wordpress.com/>`_).

224 225
* Fixed problem with not being able to install private git repositories.

226 227
* Make ``pip zip`` zip all its arguments, not just the first.

228 229
* Fix some filename issues on Windows.

230 231 232
* Allow the ``-i`` and ``--extra-index-url`` options in requirements
  files.

233 234 235
* Fix the way bundle components are unpacked and moved around, to make
  bundles work.

236 237 238
* Adds ``-s`` option to allow the access to the global site-packages if a
  virtualenv is to be created.

239 240
* Fixed support for Subversion 1.6.

I
Ian Bicking 已提交
241 242
0.3.1
-----
243 244

* Improved virtualenv restart and various path/cleanup problems on win32.
I
Ian Bicking 已提交
245 246 247 248 249 250 251

* Fixed a regression with installing from svn repositories (when not
  using ``-e``).

* Fixes when installing editable packages that put their source in a
  subdirectory (like ``src/``).

I
Ian Bicking 已提交
252 253
* Improve ``pip -h``

I
Ian Bicking 已提交
254 255 256 257 258 259
0.3
---

* Added support for editable packages created from Git, Mercurial and Bazaar
  repositories and ability to freeze them. Refactored support for version
  control systems.
260 261 262 263 264 265 266 267

* Do not use ``sys.exit()`` from inside the code, instead use a
  return.  This will make it easier to invoke programmatically.

* Put the install record in ``Package.egg-info/installed-files.txt``
  (previously they went in
  ``site-packages/install-record-Package.txt``).

268 269 270
* Fix a problem with ``pip freeze`` not including ``-e svn+`` when an
  svn structure is peculiar.

271 272 273
* Allow ``pip -E`` to work with a virtualenv that uses a different
  version of Python than the parent environment.

I
Ian Bicking 已提交
274 275
* Fixed Win32 virtualenv (``-E``) option.

276 277 278 279 280
* Search the links passed in with ``-f`` for packages.

* Detect zip files, even when the file doesn't have a ``.zip``
  extension and it is served with the wrong Content-Type.

281 282 283 284 285
* Installing editable from existing source now works, like ``pip
  install -e some/path/`` will install the package in ``some/path/``.
  Most importantly, anything that package requires will also be
  installed by pip.

I
Ian Bicking 已提交
286 287
* Add a ``--path`` option to ``pip un/zip``, so you can avoid zipping
  files that are outside of where you expect.
J
Jannis Leidel 已提交
288

I
Ian Bicking 已提交
289
* Add ``--simulate`` option to ``pip zip``.
290

I
Ian Bicking 已提交
291 292
0.2.1
-----
293 294 295

* Fixed small problem that prevented using ``pip.py`` without actually
  installing pip.
296

297 298 299 300 301 302
* Fixed ``--upgrade``, which would download and appear to install
  upgraded packages, but actually just reinstall the existing package.

* Fixed Windows problem with putting the install record in the right
  place, and generating the ``pip`` script with Setuptools.

303 304 305
* Download links that include embedded spaces or other unsafe
  characters (those characters get %-encoded).

306 307 308
* Fixed use of URLs in requirement files, and problems with some blank
  lines.

309 310
* Turn some tar file errors into warnings.

311 312 313 314 315 316 317 318 319 320 321 322 323 324
0.2
---

* Renamed to ``pip``, and to install you now do ``pip install
  PACKAGE``

* Added command ``pip zip PACKAGE`` and ``pip unzip PACKAGE``.  This
  is particularly intended for Google App Engine to manage libraries
  to stay under the 1000-file limit.

* Some fixes to bundles, especially editable packages and when
  creating a bundle using unnamed packages (like just an svn
  repository without ``#egg=Package``).

325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
0.1.4
-----

* Added an option ``--install-option`` to pass options to pass
  arguments to ``setup.py install``

* ``.svn/`` directories are no longer included in bundles, as these
  directories are specific to a version of svn -- if you build a
  bundle on a system with svn 1.5, you can't use the checkout on a
  system with svn 1.4.  Instead a file ``svn-checkout.txt`` is
  included that notes the original location and revision, and the
  command you can use to turn it back into an svn checkout.  (Probably
  unpacking the bundle should, maybe optionally, recreate this
  information -- but that is not currently implemented, and it would
  require network access.)

* Avoid ambiguities over project name case, where for instance
  MyPackage and mypackage would be considered different packages.
  This in particular caused problems on Macs, where ``MyPackage/`` and
  ``mypackage/`` are the same directory.

* Added support for an environmental variable
347
  ``$PIP_DOWNLOAD_CACHE`` which will cache package downloads, so
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376
  future installations won't require large downloads.  Network access
  is still required, but just some downloads will be avoided when
  using this.

0.1.3
-----

* Always use ``svn checkout`` (not ``export``) so that
  ``tag_svn_revision`` settings give the revision of the package.

* Don't update checkouts that came from ``.pybundle`` files.

0.1.2
-----

* Improve error text when there are errors fetching HTML pages when
  seeking packages.

* Improve bundles: include empty directories, make them work with
  editable packages.

* If you use ``-E env`` and the environment ``env/`` doesn't exist, a
  new virtual environment will be created.

* Fix ``dependency_links`` for finding packages.

0.1.1
-----

377
* Fixed a NameError exception when running pip outside of a
378 379 380 381 382 383 384 385 386 387 388
  virtualenv environment.

* Added HTTP proxy support (from Prabhu Ramachandran)

* Fixed use of ``hashlib.md5`` on python2.5+ (also from Prabhu
  Ramachandran)

0.1
---

* Initial release