news.txt 19.1 KB
Newer Older
A
Alex Morega 已提交
1 2 3 4 5 6
====
News
====

Changelog
=========
7

8
Next release (1.2) schedule
9 10
---------------------------

11
Beta and final releases planned for the second half of 2012.
12

C
Carl Meyer 已提交
13 14 15
master (unreleased)
-------------------

C
Carl Meyer 已提交
16 17 18 19
* Fixed isse #58 - pip freeze now falls back to non-editable format rather
  than blowing up if it can't determine the origin repository of an editable.
  Thanks Rory McCann.

C
Carl Meyer 已提交
20 21 22
* Added a `__main__.py` file to enable `python -m pip` on Python versions
  that support it. Thanks Alexey Luchko.

23 24 25 26 27
* Fixed issue #487 - upgrade from VCS url of project that does exist on
  index. Thanks Andrew Knapp for the report.

* Fixed issue #486 - fix upgrade from VCS url of project with no distribution
  on index.  Thanks Andrew Knapp for the report.
28

C
Carl Meyer 已提交
29 30 31 32
* Fixed issue #427 - clearer error message on a malformed VCS url. Thanks
  Thomas Fenzl.


33 34
1.1 (2012-02-16)
----------------
35

C
Carl Meyer 已提交
36 37 38
* Fixed issue #326 - don't crash when a package's setup.py emits UTF-8 and
  then fails. Thanks Marc Abramowitz.

C
Carl Meyer 已提交
39 40 41
* Added ``--target`` option for installing directly to arbitrary directory.
  Thanks Stavros Korokithakis.

C
Carl Meyer 已提交
42 43 44
* Added support for authentication with Subversion repositories. Thanks
  Qiangning Hong.

C
Carl Meyer 已提交
45 46 47
* Fixed issue #315 - ``--download`` now downloads dependencies as well.
  Thanks Qiangning Hong.

C
Carl Meyer 已提交
48 49 50
* Errors from subprocesses will display the current working directory.
  Thanks Antti Kaihola.

C
Carl Meyer 已提交
51 52 53 54 55
* Fixed issue #369 - compatibility with Subversion 1.7. Thanks Qiangning
  Hong. Note that setuptools remains incompatible with Subversion 1.7; to
  get the benefits of pip's support you must use Distribute rather than
  setuptools.

C
Carl Meyer 已提交
56 57 58
* Fixed issue #57 - ignore py2app-generated OS X mpkg zip files in finder.
  Thanks Rene Dudfield.

59 60 61 62 63 64 65
* Fixed issue #182 - log to ~/Library/Logs/ by default on OS X framework
  installs. Thanks Dan Callahan for report and patch.

* Fixed issue #310 - understand version tags without minor version ("py3")
  in sdist filenames. Thanks Stuart Andrews for report and Olivier Girardot for
  patch.

C
Carl Meyer 已提交
66 67 68 69
* Fixed issue #7 - Pip now supports optionally installing setuptools
  "extras" dependencies; e.g. "pip install Paste[openid]". Thanks Matt Maker
  and Olivier Girardot.

C
Carl Meyer 已提交
70 71 72
* Fixed issue #391 - freeze no longer borks on requirements files with
  --index-url or --find-links. Thanks Herbert Pfennig.

C
Carl Meyer 已提交
73 74
* Fixed issue #288 - handle symlinks properly. Thanks lebedov for the patch.

C
Carl Meyer 已提交
75 76 77
* Fixed issue #49 - pip install -U no longer reinstalls the same versions of
  packages. Thanks iguananaut for the pull request.

78 79
* Removed ``-E``/``--environment`` option and ``PIP_RESPECT_VIRTUALENV``;
  both use a restart-in-venv mechanism that's broken, and neither one is
80 81 82
  useful since every virtualenv now has pip inside it.  Replace ``pip -E
  path/to/venv install Foo`` with ``virtualenv path/to/venv &&
  path/to/venv/pip install Foo``.
83

84 85
* Fixed issue #366 - pip throws IndexError when it calls `scraped_rel_links`

86 87
* Fixed issue #22 - pip search should set and return a userful shell status code

88 89 90 91
* Fixed issue #351 and #365 - added global ``--exists-action`` command line
  option to easier script file exists conflicts, e.g. from editable
  requirements from VCS that have a changed repo URL.

92

J
Jannis Leidel 已提交
93 94 95 96 97 98 99
1.0.2 (2011-07-16)
------------------

* Fixed docs issues.
* Fixed issue #295 - Reinstall a package when using the ``install -I`` option
* Fixed issue #283 - Finds a Git tag pointing to same commit as origin/master
* Fixed issue #279 - Use absolute path for path to docs in setup.py
P
Piet Delport 已提交
100 101
* Fixed issue #314 - Correctly handle exceptions on Python3.
* Fixed issue #320 - Correctly parse ``--editable`` lines in requirements files
J
Jannis Leidel 已提交
102

J
Jannis Leidel 已提交
103 104
1.0.1 (2011-04-30)
------------------
105 106

* Start to use git-flow.
107
* Fixed issue #274 - `find_command` should not raise AttributeError
108 109 110 111
* Fixed issue #273 - respect Content-Disposition header. Thanks Bradley Ayers.
* Fixed issue #233 - pathext handling on Windows.
* Fixed issue #252 - svn+svn protocol.
* Fixed issue #44 - multiple CLI searches.
J
Jannis Leidel 已提交
112
* Fixed issue #266 - current working directory when running setup.py clean.
113

114 115
1.0 (2011-04-04)
----------------
C
Carl Meyer 已提交
116

C
Carl Meyer 已提交
117
* Added Python 3 support! Huge thanks to Vinay Sajip, Vitaly Babiy, Kelsey
118
  Hightower, and Alex Gronholm, among others.
C
Carl Meyer 已提交
119

120 121
* Download progress only shown on a real TTY. Thanks Alex Morega.

C
Carl Meyer 已提交
122 123 124 125 126 127
* Fixed finding of VCS binaries to not be fooled by same-named directories.
  Thanks Alex Morega.

* Fixed uninstall of packages from system Python for users of Debian/Ubuntu
  python-setuptools package (workaround until fixed in Debian and Ubuntu).

128
* Added `get-pip.py <https://raw.github.com/pypa/pip/master/contrib/get-pip.py>`_
129
  installer. Simply download and execute it, using the Python interpreter of
130 131
  your choice::

132
    $ curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
133 134 135 136 137 138 139 140
    $ python get-pip.py

  This may have to be run as root.

  .. note::

      Make sure you have `distribute <http://pypi.python.org/pypi/distribute>`_
      installed before using the installer!
C
Carl Meyer 已提交
141

142 143 144 145 146 147
0.8.3
-----

* Moved main repository to Github: https://github.com/pypa/pip

* Transferred primary maintenance from Ian to Jannis Leidel, Carl Meyer, Brian Rosner
148

149 150
* Fixed issue #14 - No uninstall-on-upgrade with URL package. Thanks Oliver Tonnhofer

151 152
* Fixed issue #163 - Egg name not properly resolved. Thanks Igor Sobreira

153 154
* Fixed issue #178 - Non-alphabetical installation of requirements. Thanks Igor Sobreira

155 156
* Fixed issue #199 - Documentation mentions --index instead of --index-url. Thanks Kelsey Hightower

157 158
* Fixed issue #204 - rmtree undefined in mercurial.py. Thanks Kelsey Hightower

159 160 161
* Fixed bug in Git vcs backend that would break during reinstallation.

* Fixed bug in Mercurial vcs backend related to pip freeze and branch/tag resolution.
162

163
* Fixed bug in version string parsing related to the suffix "-dev".
164

I
Ian Bicking 已提交
165 166
0.8.2
-----
I
Ian Bicking 已提交
167 168 169

* Avoid redundant unpacking of bundles (from pwaller)

170 171 172 173 174 175
* Fixed issue #32, #150, #161 - Fixed checking out the correct
  tag/branch/commit when updating an editable Git requirement.

* Fixed issue #49 - Added ability to install version control requirements
  without making them editable, e.g.::

176
    pip install git+https://github.com/pypa/pip/
177 178 179 180 181

* Fixed issue #175 - Correctly locate build and source directory on Mac OS X.

* Added ``git+https://`` scheme to Git VCS backend.

I
Ian Bicking 已提交
182 183
0.8.1
-----
184

C
Carl Meyer 已提交
185 186 187
* Added global --user flag as shortcut for --install-option="--user". From
  Ronny Pfannschmidt.

188 189 190
* 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.
191

192 193 194 195 196 197
* Fixed issue #138 - Git revisions ignored. Thanks John-Scott Atlakson.

* Fixed issue #95 - Initial editable install of github package from a tag fails. Thanks John-Scott Atlakson.

* Fixed issue #107 - Can't install if a directory in cwd has the same name as the package you're installing.

198
* Fixed issue #39 - --install-option="--prefix=~/.local" ignored with -e.
C
Carl Meyer 已提交
199
  Thanks Ronny Pfannschmidt and Wil Tan.
200

201 202


203
0.8
C
Carl Meyer 已提交
204 205
---

206 207 208
* Track which ``build/`` directories pip creates, never remove directories
  it doesn't create.  From Hugo Lopes Tavares.

C
Carl Meyer 已提交
209 210 211 212 213
* 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 已提交
214 215
* Real Windows support (with passing tests). Thanks Dave Abrahams.

216 217 218 219 220 221 222 223 224 225 226 227 228 229
* ``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.

230 231 232
0.7.2
-----

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

I
Ian Bicking 已提交
236 237
0.7.1
-----
238 239 240

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

I
Ian Bicking 已提交
241 242 243
* Temporary files are consistently cleaned up, especially after
  installing bundles, also from Alex Conrad.

244 245
* Tests now require at least ScriptTest 1.0.3.

I
Ian Bicking 已提交
246 247
0.7
---
I
Ian Bicking 已提交
248

249
* Fixed uninstallation on Windows
250
* Added ``pip search`` command.
C
Carl Meyer 已提交
251 252 253 254 255 256 257
* 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).
258 259 260 261 262 263 264
* 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.
265
* Fixed an issue with Git that left an editable packge as a checkout of a
266
  remote branch, even if the default behaviour would have been fine, too.
267 268
* Fixed installing from a Git tag with older versions of Git.
* Expand "~" in logfile and download cache paths.
269 270
* Speed up installing from Mercurial repositories by cloning without
  updating the working copy multiple times.
271 272
* Fixed installing directly from directories (e.g.
  ``pip install path/to/dir/``).
273
* Fixed installing editable packages with ``svn+ssh`` URLs.
274
* Don't print unwanted debug information when running the freeze command.
C
Carl Meyer 已提交
275 276 277 278
* 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.
279
* Support Debian/Ubuntu "dist-packages" in zip command. Thanks duckx.
C
Carl Meyer 已提交
280
* Fix relative --src folder. Thanks Simon Cross.
A
Alexandre Conrad 已提交
281
* Handle missing VCS with an error message. Thanks Alexandre Conrad.
C
Carl Meyer 已提交
282 283
* Added --no-download option to install; pairs with --no-install to separate
  download and installation into two steps. Thanks Simon Cross.
C
Carl Meyer 已提交
284 285
* Fix uninstalling from requirements file containing -f, -i, or
  --extra-index-url.
286
* Leftover build directories are now removed. Thanks Alexandre Conrad.
287

I
Ian Bicking 已提交
288 289
0.6.3
-----
I
Ian Bicking 已提交
290

J
Jannis Leidel 已提交
291 292 293
* Fixed import error on Windows with regard to the backwards compatibility
  package

294
0.6.2
I
Ian Bicking 已提交
295
-----
296

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

299 300
* Fixed uninstallation of distributions with namespace packages.

301 302 303
0.6.1
-----

304 305 306
* Added support for the ``https`` and ``http-static`` schemes to the
  Mercurial and ``ftp`` scheme to the Bazaar backend.

J
Jannis Leidel 已提交
307 308 309 310 311
* 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.

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

I
Ian Bicking 已提交
315
0.6
316 317 318 319 320
---

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

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

323 324 325
* Allow packages to be upgraded, e.g., ``pip install Package==0.1``
  then ``pip install Package==0.2``.

326 327 328
* Allow installing/upgrading to Package==dev (fix "Source version does not
  match target version" errors).

329 330
* Added command and option completion for bash and zsh.

J
Jannis Leidel 已提交
331 332 333 334
* 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 已提交
335 336 337
* 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 已提交
338 339
* Fixed uninstallation of easy_installed console_scripts.

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

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

344 345
* Creates download cache directory if not existing.

I
Ian Bicking 已提交
346 347 348 349 350
0.5.1
-----

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

I
Ian Bicking 已提交
351
0.5
352 353
---

354 355 356
* Added ability to override the default log file name (``pip-log.txt``)
  with the environmental variable ``$PIP_LOG_FILE``.

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

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

363 364 365
* Added support for base URLs using ``<base href='...'>`` when parsing
  HTML pages.

366 367 368 369
* Fixed installing of non-editable packages from version control systems.

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

370 371
* Added --download-dir option to the install command to retrieve package
  archives. If given an editable package it will create an archive of it.
372

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

376 377 378
* 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 已提交
379 380 381
* Added ``--no-deps`` option to install ignore package dependencies

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

383 384 385 386 387 388 389
* 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.

390 391 392 393
* 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).

394 395 396
* Editable freeze URLs now always use revision hash/id rather than tip or
  branch names which could move.

C
Carl Meyer 已提交
397 398 399 400
* 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.

401 402 403
* Fixed handling of attempt to checkout editable install to a
  non-empty, non-repo directory.

I
Ian Bicking 已提交
404 405
0.4
---
I
Ian Bicking 已提交
406 407 408

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

I
Ian Bicking 已提交
409 410 411 412 413 414 415
* 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/>`_).

416 417
* Fixed problem with not being able to install private git repositories.

418 419
* Make ``pip zip`` zip all its arguments, not just the first.

420 421
* Fix some filename issues on Windows.

422 423 424
* Allow the ``-i`` and ``--extra-index-url`` options in requirements
  files.

425 426 427
* Fix the way bundle components are unpacked and moved around, to make
  bundles work.

428 429 430
* Adds ``-s`` option to allow the access to the global site-packages if a
  virtualenv is to be created.

431 432
* Fixed support for Subversion 1.6.

I
Ian Bicking 已提交
433 434
0.3.1
-----
435 436

* Improved virtualenv restart and various path/cleanup problems on win32.
I
Ian Bicking 已提交
437 438 439 440 441 442 443

* 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 已提交
444 445
* Improve ``pip -h``

I
Ian Bicking 已提交
446 447 448 449 450 451
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.
452 453 454 455 456 457 458 459

* 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``).

460 461 462
* Fix a problem with ``pip freeze`` not including ``-e svn+`` when an
  svn structure is peculiar.

463 464 465
* Allow ``pip -E`` to work with a virtualenv that uses a different
  version of Python than the parent environment.

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

468 469 470 471 472
* 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.

473 474 475 476 477
* 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 已提交
478 479
* Add a ``--path`` option to ``pip un/zip``, so you can avoid zipping
  files that are outside of where you expect.
J
Jannis Leidel 已提交
480

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

I
Ian Bicking 已提交
483 484
0.2.1
-----
485 486 487

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

489 490 491 492 493 494
* 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.

495 496 497
* Download links that include embedded spaces or other unsafe
  characters (those characters get %-encoded).

498 499 500
* Fixed use of URLs in requirement files, and problems with some blank
  lines.

501 502
* Turn some tar file errors into warnings.

503 504 505 506 507 508 509 510 511 512 513 514 515 516
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``).

517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538
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
539
  ``$PIP_DOWNLOAD_CACHE`` which will cache package downloads, so
540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568
  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
-----

569
* Fixed a NameError exception when running pip outside of a
570 571 572 573 574 575 576 577 578 579 580
  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