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

4 5 6 7 8 9 10 11 12
tip
---

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

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

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

I
Ian Bicking 已提交
16 17 18 19 20
0.5.1
-----

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

I
Ian Bicking 已提交
21
0.5
22 23
---

24 25 26
* Added ability to override the default log file name (``pip-log.txt``)
  with the environmental variable ``$PIP_LOG_FILE``.

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

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

33 34 35
* Added support for base URLs using ``<base href='...'>`` when parsing
  HTML pages.

36 37 38 39
* Fixed installing of non-editable packages from version control systems.

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

40 41
* Added --download-dir option to the install command to retrieve package
  archives. If given an editable package it will create an archive of it.
42

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

46 47 48
* 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 已提交
49 50 51
* Added ``--no-deps`` option to install ignore package dependencies

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

53 54 55 56 57 58 59
* 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.

60 61 62 63
* 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).

64 65 66
* Editable freeze URLs now always use revision hash/id rather than tip or
  branch names which could move.

C
Carl Meyer 已提交
67 68 69 70
* 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.

71 72 73
* Fixed handling of attempt to checkout editable install to a
  non-empty, non-repo directory.

I
Ian Bicking 已提交
74 75
0.4
---
I
Ian Bicking 已提交
76 77 78

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

I
Ian Bicking 已提交
79 80 81 82 83 84 85
* 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/>`_).

86 87
* Fixed problem with not being able to install private git repositories.

88 89
* Make ``pip zip`` zip all its arguments, not just the first.

90 91
* Fix some filename issues on Windows.

92 93 94
* Allow the ``-i`` and ``--extra-index-url`` options in requirements
  files.

95 96 97
* Fix the way bundle components are unpacked and moved around, to make
  bundles work.

98 99 100
* Adds ``-s`` option to allow the access to the global site-packages if a
  virtualenv is to be created.

101 102
* Fixed support for Subversion 1.6.

I
Ian Bicking 已提交
103 104
0.3.1
-----
105 106

* Improved virtualenv restart and various path/cleanup problems on win32.
I
Ian Bicking 已提交
107 108 109 110 111 112 113

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

I
Ian Bicking 已提交
116 117 118 119 120 121
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.
122 123 124 125 126 127 128 129

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

130 131 132
* Fix a problem with ``pip freeze`` not including ``-e svn+`` when an
  svn structure is peculiar.

133 134 135
* Allow ``pip -E`` to work with a virtualenv that uses a different
  version of Python than the parent environment.

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

138 139 140 141 142
* 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.

143 144 145 146 147
* 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 已提交
148 149
* Add a ``--path`` option to ``pip un/zip``, so you can avoid zipping
  files that are outside of where you expect.
J
Jannis Leidel 已提交
150

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

I
Ian Bicking 已提交
153 154
0.2.1
-----
155 156 157

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

159 160 161 162 163 164
* 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.

165 166 167
* Download links that include embedded spaces or other unsafe
  characters (those characters get %-encoded).

168 169 170
* Fixed use of URLs in requirement files, and problems with some blank
  lines.

171 172
* Turn some tar file errors into warnings.

173 174 175 176 177 178 179 180 181 182 183 184 185 186
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``).

187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
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
209
  ``$PIP_DOWNLOAD_CACHE`` which will cache package downloads, so
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
  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
-----

239
* Fixed a NameError exception when running pip outside of a
240 241 242 243 244 245 246 247 248 249 250
  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