1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

1395 commits

Author SHA1 Message Date
Daniel Shaulov d67d98dd91 Add a --prefer-binary flag. (#5370)
The flag makes pip prefer an older but valid binary distributions over a newer source distributions.

Fixes #3785.
2018-05-11 11:17:32 +05:30
Shlomi Fish 508517f0d7 Fix the capitalization of "GitHub". 2018-05-10 18:18:30 +03:00
Daniel Shaulov ff578b8d23 disable strict_optional mypy option (#5371) 2018-05-05 15:28:33 +05:30
Paul Moore 70122751a8
Merge pull request #5338 from pfmoore/doc_cosmetic_pr
Add a note to the docs about cosmetic changes in PRs
2018-04-28 14:49:34 +01:00
Miro Hrončok 461d94698e Vendoring: Make sure to only rewrite relevant imports
If there is an import from hamster, while we vendor ham, we should
not rewrite it.

Fixes https://github.com/pypa/pip/issues/5347
2018-04-28 11:38:58 +02:00
Paul Moore 762ae031d2 Merge with master 2018-04-28 10:23:01 +01:00
Pradyun Gedam 538de06838
📰 2018-04-27 19:23:35 +05:30
Paul Moore f78888b5c1 Add a note to the docs about cosmetic changes in PRs 2018-04-26 19:09:06 +01:00
Paul Moore bad0b13b6a Document our deprecation policy, plus a few other process details 2018-04-24 20:30:23 +01:00
Andrés Delfino 7b1f2a06d2 Add test for PR #5293 (#5325)
* Test that trailing os.sep are ignored while searching PATH
* Simplify paths list creation
2018-04-23 21:21:43 +05:30
Donald Stufft dec22c92c2 Switch to CalVer and set a release cadence 2018-04-22 14:21:50 -04:00
Paul Moore 0ae0109901
Merge pull request #5293 from andresdelfino/master
Remove trailing os.sep to avoid false negatives
2018-04-20 09:39:40 +01:00
Paul Moore d56eafc7d5
Merge pull request #5294 from jdufresne/pypi
Update a pypi.python.org URLs to pypi.org
2018-04-20 09:39:12 +01:00
Paul Moore 639c4b2ae1 Update news for release 10.0.1 2018-04-19 18:06:29 +01:00
Jon Dufresne c7402d9e50 Update a pypi.python.org URLs to pypi.org 2018-04-19 06:35:37 -07:00
Andrés Delfino 7396997978 Add news file. 2018-04-18 22:17:39 -03:00
Paul Moore d8172b961c
Merge pull request #5227 from benoit-pierre/fix_pep518,_again
fix PEP 518 support when pip is installed in the user site
2018-04-18 17:55:04 +01:00
Paul Moore 3c50345f4b
Merge pull request #5280 from pradyunsg/fix/5251
Reorder conditionals to deal with installed VCS requirements
2018-04-18 15:23:53 +01:00
Pradyun Gedam b610eabcc9
📰 2018-04-18 09:46:42 +05:30
Paul Moore 64bf4dc3bc
Merge pull request #5257 from pfmoore/distlib_027
Update distlib to 0.2.7
2018-04-17 20:45:36 +01:00
Paul Moore 9875055ffe
Merge pull request #5239 from pradyunsg/fix/5237
Improve Error Messages on EnvironmentErrors when installing
2018-04-17 18:28:59 +01:00
Paul Moore ea1319de95
Merge pull request #5233 from pradyunsg/fix/5219
Make the Windows "self-modification" check more strict
2018-04-17 18:16:59 +01:00
Paul Moore 493eaf0c1e Add a news file 2018-04-17 18:05:01 +01:00
Pradyun Gedam fa1219fefe
📰 2018-04-17 14:56:52 +05:30
Donald Stufft 28ff2b32d7 Add newsfile 2018-04-16 17:35:36 -04:00
Benoit Pierre 02b678f557 fix PEP 518 support when pip is installed in the user site
Do not use the build environment isolation during the build dependencies installation.
2018-04-16 22:58:44 +02:00
Donald Stufft 275ab7c3f5 Switch pip to use Warehouse by default 2018-04-16 15:54:11 -04:00
Pradyun Gedam 2a085b312f
📰 2018-04-15 10:18:51 +05:30
Paul Moore 4cbdd171c3 Generate NEWS for release 2018-04-14 10:29:28 +01:00
Paul Moore 20a6cd9fe0
Merge pull request #5202 from pfmoore/newsfix
News file formatting fix
2018-04-11 17:49:05 +01:00
Paul Moore 98bff4047d Add a news file 2018-04-10 18:11:00 +01:00
Paul Moore ed37070dcc News file formatting fix 2018-04-10 17:14:57 +01:00
Benoit Pierre 6da1d9e47c fix PEP 518 support
* fix build environment handling when using PyPy
* do use the build environment for all build commands
* allow installing and building a wheel of a PEP 518 enabled
  package without prior installation of setuptools and/or wheels
* fix check for minimum supported requirements for PEP 518 support:
  - correctly handle complex requirements
  - both setuptools and wheels are needed
2018-04-08 14:06:11 +02:00
Pradyun Gedam 5a8150f82c
Merge pull request #5163 from pradyunsg/fix/5157
Do not warn about script location if it's with sys.executable
2018-04-06 14:19:08 +05:30
Paul Moore c76452ade9
Merge pull request #5151 from mattip/master
BUG: ioctl(fd, termios.TIOCGWINSZ, ...) returns 8 bytes
2018-04-05 14:35:55 +01:00
Pradyun Gedam 266eec23a3
📰 2018-04-04 13:55:23 +05:30
Dustin Ingram 0ceb10e4bc
Add news entry 2018-04-03 14:51:45 -05:00
Pradyun Gedam ecc1072ba0
Merge pull request #5146 from pradyunsg/fix/check-accept-prerelease-versions
Accept prerelease versions when checking conflicts
2018-04-03 23:18:10 +05:30
Pradyun Gedam 69e2dde515
Merge pull request #5136 from StephanErb/check_normalization
Fix name normalization used for install warnings
2018-04-03 16:04:27 +05:30
mattip 8b9abc2988 BUG: ioctl(fd, termios.TIOCGWINSZ, ...) returns 8 bytes 2018-04-03 05:58:05 +03:00
Stephan Erb 72b3195f0e Fix name normalization used for install warnings 2018-04-02 20:17:20 +02:00
Pradyun Gedam 091c74787a
📰 2018-04-02 21:35:53 +05:30
Paul Moore 59cf57b9d1 Generate NEWS.txt file for beta release 2018-03-31 11:32:46 +01:00
Donald Stufft 0007825733
Merge pull request #4835 from pradyunsg/vendoring/enable-c-libs
Enable vendor C libraries on non-Windows platforms
2018-03-30 19:59:55 -04:00
Pradyun Gedam 6bdc73d38b
📰 2018-03-30 13:48:41 +05:30
Pradyun Gedam 6ec5bc56fd
Merge branch 'master' into vendoring/enable-c-libs 2018-03-30 12:38:13 +05:30
Andrew Gaul 13d0bd8b46 Limit progress updates to avoid swamping the TTY
This makes the values more readable for large downloads on fast
connections.  200 ms value chosen from wget.
2018-03-28 15:09:56 -07:00
Paul Moore d41dc17910
Merge pull request #5012 from MarSoft/patch-2
Fix typo in --help for --no-deps option
2018-03-27 14:35:56 +01:00
Paul Moore aabf71bd7e
Merge pull request #4985 from anubhavp28/master
Updated get_terminal_size to check for shutil.get_terminal_size first.
2018-03-26 17:52:25 +01:00
Paul Moore 307503494e
Merge pull request #4956 from segevfiner/complete-short-opts
Add auto completion of short options
2018-03-26 15:51:25 +01:00
Paul Moore 54c4456cb7 Added a news file 2018-03-26 12:17:51 +01:00
Phil Pennock 23cd8f6899 Keep install options in requirements.txt from leaking
The list of install options passed into the setup routine is mutable,
passed by reference, so adding items for "this package" to that list
mutates the options for all subsequent packages.

Isolate the lists before mutating them.

Includes a functional test, which has been confirmed to fail without
this fix.

Fixes #3763
Fixes #4453
Fixes #5089
2018-03-20 16:23:34 -04:00
Donald Stufft 80cf173c93 Merge branch 'release/9.0.2' into merged/9.0.2 2018-03-16 23:44:44 -04:00
Paul Moore 34cc364903
Merge pull request #4999 from xoviat/pep518-editable
Run setup.py develop inside of PEP 518 build environment
2018-03-02 08:40:17 +00:00
xoviat 2025f7f5d4 📰 2018-03-01 12:42:39 -06:00
Paul Moore 1cb99c1a6a
Merge pull request #4877 from edmorley/markers-ignore-loglevel
Use log level info when ignoring packages due to environment markers
2018-03-01 17:54:46 +00:00
Paul Moore 01a555ed64
Merge pull request #4932 from doloopwhile/bugfix/4917-decoding-stdout-of-shell
Vendor Update - stdout and stderr of shell should be decoded with system encoding
2018-03-01 17:52:33 +00:00
xoviat 163149fff3 Install build requirements before calling setup.py (#4799)
Setup build environment before first invocation of setup.py and improve test to actually make check that build requirements are installed upon invocation.
2018-03-01 14:20:06 +05:30
BrownTruck 72f219c410 Add expansion of environment variables in requirement files (#3728) 2018-02-05 16:50:50 +05:30
Семён Марьясин 51a3f6f823
Fix typo in --help for --no-deps option 2018-02-02 16:05:59 +03:00
Ed Morley 4b81388199 Use log level info when ignoring packages due to environment markers
The use of environment markers implies that the user expects the
packages to not be installed in some cases (eg depending on version
of Python), so the log output shouldn't be classed as a warning,
particularly since this results in it being sent to `stderr` rather
than `stdout`.

Fixes #4876.
2018-01-28 15:36:23 +00:00
Anubhav Patel 33cc74427f merge master branch into pull request. 2018-01-24 22:55:09 +05:30
Anubhav Patel dea8892768 Move get_terminal_size to pip._internal.compat 2018-01-24 22:34:05 +05:30
Pradyun Gedam beffa5d35d
Merge pull request #4982 from pradyunsg/misc/error-out-on-input
Handle stdin correctly when calling subprocesses
2018-01-24 10:10:42 +05:30
Paul Moore 81fb5159d0
Merge pull request #4764 from pradyunsg/cache/ephem-wheel-cache
Do wheel installs from VCS/directories using ephemeral caching
2018-01-23 22:08:14 +00:00
Pradyun Gedam 4c147397ea
Merge branch 'master' into cache/ephem-wheel-cache 2018-01-24 02:15:21 +05:30
Pradyun Gedam 3acb90fb8e
Error out on encoding issues while loading configuration (#4976) 2018-01-23 21:56:20 +05:30
OMOTO Kenji 916e7f393f Removed unnecessary newsfile #4917 2018-01-23 14:59:12 +09:00
Anubhav Patel 6e62b872ad
Created 4996.bugfix news 2018-01-22 21:19:15 +05:30
Pradyun Gedam 88e801ce8b
📰 2018-01-21 16:49:20 +05:30
GOTO Hayato 4f8541972f The parameter include_editables of pip.get_installed_distributions() is desribed as editables in the docstring (#4975)
Fix the mismatched parameter name in get_installed_distributions().
2018-01-20 11:18:37 +00:00
Segev Finer bca2f4ed59 Add auto completion of short options
Fixes #4954
2018-01-06 11:00:41 +02:00
Anuj Godase f038fe47bd Add a note about temporary directories to --build help text (#4944)
Document that an initial build occurs in a temporary directory, even when --build is specified.
2018-01-01 23:46:50 +05:30
OMOTO Kenji 39b4f3b3ad Fixed issue #4917 and Upgraded vendored distro to v1.2.0
Fixed UnicodeDecodeError on Linux which system encoding is not UTF-8.
2017-12-26 10:25:42 +09:00
Pradyun Gedam f30aea2c01
Merge branch 'master' of github.com:pradyunsg/pip into vendoring/enable-c-libs 2017-12-23 17:18:33 +05:30
Mariatta 094afefe26 Quickstart doc: improve the grammar (#4934)
"got elsewhere" sounds odd. Rephrased to: "obtained from elsewhere".

* Add trivial news
2017-12-22 14:55:34 +05:30
Mariatta 6ccb5e1d77 Quickstart doc: lowercase the i in Install. (#4933)
Seems to be more grammatically correct that way.
2017-12-22 14:54:44 +05:30
Giftlin Rajaiah 7bb73f60ad Fix local variable 'base_url' referenced before assignment (#4914)
Fixes #4908
2017-12-17 20:12:39 +05:30
Pradyun Gedam 9b4af01a29
Merge branch 'master' into vendoring/enable-c-libs 2017-12-16 18:05:37 +05:30
Donald Stufft b0a762a8f6
Merge pull request #4920 from asottile/no_need_for_distro_patch
Drop vendoring patch for distro
2017-12-15 06:55:19 -05:00
Donald Stufft ad0d3f524d
Merge pull request #4923 from asottile/pyupgrade_tests
Upgrade syntax in ./tests
2017-12-15 06:52:17 -05:00
Anthony Sottile e21e2d3f8f Upgrade syntax in ./tests
Changes were automated via https://github.com/asottile/pyupgrade

See #4921
2017-12-14 21:59:41 -08:00
Anthony Sottile 9762eb02e3 Upgrade syntax in src/pip/_internal
Changes were automated via https://github.com/asottile/pyupgrade

See #4921
2017-12-14 21:59:22 -08:00
Anthony Sottile 6bf55db7c0 Drop vendoring patch for distro
- python2.6 is no longer supported by pip

```bash
git apply --reverse tasks/vendoring/patches/distro.patch
git rm tasks/vendoring/patches/distro.patch
```
2017-12-14 20:46:06 -08:00
Gabriel Curio ce674d2ca1 Fix unassigned variable.
In the event of an error, 'req' will be unassigned. This will cause another error in the exception.

Replace 'req' with 'name.'
2017-12-02 15:50:03 +01:00
Pradyun Gedam cd14240529
Merge branch 'master' into cache/ephem-wheel-cache 2017-12-01 19:16:27 +05:30
Xavier Fernandez 9ff3c18bf2
Merge pull request #4529 from mwilliamson/download-platform-no-deps
Allow download with specific platform and --no-deps
2017-11-17 23:28:16 +01:00
Pradyun Gedam 01d97e71f0
Merge branch 'master' into cache/ephem-wheel-cache 2017-11-17 12:32:40 +05:30
Anthony Sottile 3651dd8687 Update comment now that -d is not an install option (#4851) 2017-11-12 19:53:18 +05:30
Erwin Janssen e9a0e4c3cd Fix typos in mailing list links in README (#4850)
The links to the mailing lists contained a trailing '>',
resulting in a 404 error.
2017-11-10 16:51:38 +05:30
Pradyun Gedam 945196e5f0
Merge branch 'master' into vendoring/enable-c-libs 2017-11-07 15:38:07 +05:30
Min RK 0715d67bb2 add news for missing-newline fix 2017-11-05 16:16:10 +01:00
Pradyun Gedam b9feb191a9
Merge pull request #4642 from pradyunsg/feature/idempotent-uninstall 2017-11-05 15:32:32 +05:30
Oz N Tiram 4370a5a37b Add a global option to disable colors (#4739)
* Add a global option to disable colors

 This is a fix for issue #2449

 All it does is simply add a global option --no-color

 Internally it switches ColorizedStreamHandler to StreamHandler if
 this flag is detected.

* Fix lint errors

 * not sure it makes the code more readable though ...

* Fix typo

* Choose logging class before assigning

 * As requested per review
 * Make the code shorter and easier to follow

* Be polite to followers, add commas

* Add functional test for the --no-color output

* Better detection of windows

* Fix fragile tests - can't trust script --quiet

 * The version found in Travis-CI does not respect this flag
   It added a prefix line and suffix line found if one does not
   add the flag --quiet (script from util-linux 2.26.2).

   As such the out  put is:

     Script started on Fri 27 Oct 2017 07:17:30 AM CEST
     \x1b[31mCannot uninstall requirement noSuchPackage, not installed\x1b[0m\n

     Script done on Fri 27 Oct 2017 07:17:31 AM CEST

  With this change, the test should pass, and is hopefully more stable.

* Simplify testing for color or no-color
2017-11-05 15:23:57 +05:30
Pradyun Gedam 032009380f
Merge branch 'master' into pr/4612 2017-11-04 12:45:15 +05:30
Pradyun Gedam fb47e1814f
📰 2017-11-03 22:28:24 +05:30
Pradyun Gedam 87d2735487
Merge pull request #4819 from pradyunsg/vendoring/late-oct-2017
* Update distlib to 0.2.6
* Update six to 1.11.0
* Update pkg_resources (via setuptools) to 36.6.0.
2017-11-03 20:08:43 +05:30
Calvin Smith 4e97d3d5f9 Freeze not installed (#4292, #4293) 2017-10-31 11:13:46 +05:30
Pradyun Gedam 058f3b695f
Update pkg_resources (via setuptools) to 36.6.0. 2017-10-28 18:46:21 +05:30
Pradyun Gedam bb2c490ca1
Update six to 1.11.0 2017-10-28 18:45:31 +05:30
Pradyun Gedam f2cf472d91
Update distlib to 0.2.6 2017-10-28 18:44:48 +05:30
Mathieu Bridon 62875be050 Record installed files in a deterministic order
Installed files are recorded by Pip in the order the underlying tool
(Distutils, Setuptools, ...) recorded them.

Unfortunately, at least Setuptools doesn't record them in a
deterministic order in the case of a directory being installed, as it
uses os.walk to find the list of files.

We could fix all those underlying tools to record their files in a
deterministic order in all situations. But fixing it once here in Pip
for all tools is certainly simpler and more future-proof.

This makes the installation more reproducible, and therefore more
verifiable.
2017-10-26 22:29:19 +02:00
Pradyun Gedam e36bb6d5c3 Merge branch 'master' into cache/ephem-wheel-cache 2017-10-24 15:44:43 +05:30
Bartek Ogryczak 62a695c4b9 More HTTP status codes to retry on (#4473)
* Add `--retry-status <HTTP code>` to allow specifying custom HTTP staus codes to retry on.
This is useful for AWS S3 or Cloudflare, which at times return codes other than 503 for
itermitent failures.

* stripping option related code, hardcoding the statuses

* Reword the news file

* changing ndash to regular ascii dash
2017-10-24 10:55:42 +02:00
Chris Jerdonek b112292068 Address issue #1139: make --force-reinstall not require --upgrade (#4432)
* Add failing tests for issue #1139 re: --force-reinstall.

* Address issue #1139: make --force-reinstall not require --upgrade.

* Address review comments.

* Address @xavfernandez's review comments.

This makes the new tests not require network access.
2017-10-24 00:03:20 +02:00
Jon Dufresne feab014b13 Add missing trove classifiers for supported CPython implementations (#4804) 2017-10-22 23:55:05 +05:30
Pradyun Gedam 1c6a450643
Merge branch 'master' of github.com:pypa/pip into cache/ephem-wheel-cache 2017-10-20 13:51:22 +05:30
Jon Dufresne 37f236de70 Include license file in the generated wheel package (#4790) 2017-10-20 13:40:34 +05:30
Jon Dufresne 9b42a2b7de Fix ResourceWarning generated by setup.py when warnings are enabled
Appears as:

  ResourceWarning: unclosed file ...

Always explicitly close open files. Use context manager to make this
easier.
2017-10-18 21:57:02 +02:00
Michael Williamson d7c3cd4b89 Add news for allowing download specific platform with --no-deps 2017-10-12 09:30:28 +01:00
Dustin Ingram ff5b2013a0 Use correct executable name for completion command (#4755) 2017-10-12 10:59:53 +05:30
Benoit Pierre 2243562b0e Fix install warning message about mismatched versions 2017-10-08 00:18:52 +02:00
Pradyun Gedam df083c7916 Polish docs and change theme (#4758) 2017-10-07 17:45:27 +01:00
Pradyun Gedam ae1a7550bc Delete 4545.feature 2017-10-06 22:33:51 +05:30
Chris Jerdonek 86e936931f Add news file. 2017-10-05 10:40:55 -07:00
Chris Jerdonek b0d116017c Add news entry. 2017-10-05 02:32:54 -07:00
Chris Jerdonek c66ecc73ab Address issue #4507: don't warn when installing from a commit hash (#4674)
* Add failing test for issue #4507.

* Add looks_like_hash() with tests.

* Add news file.

* Address issue #4507 by using looks_like_hash().

* Tweak warning text.

* Fix test after rebasing.

* Remove extra line.
2017-10-05 00:16:10 +02:00
Pradyun S. Gedam ebf06ceb9d Merge master 2017-10-04 16:58:31 +05:30
Chris Jerdonek 3498b19a8b Address issue #1130: make pip ignore GIT_DIR and GIT_WORK_TREE. 2017-10-02 15:35:30 -07:00
anatoly techtonik 77dad642f4 Travis: Enable fast_finish (#4693)
* .travis.tml: Enable fast_finish

https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/

* https://pip.pypa.io/en/latest/development/#adding-a-news-entry
2017-10-02 23:54:21 +02:00
Antony Lee d339351a41 Autocomplete installed dists in pip show .... (#4749)
* Autocomplete installed dists in `pip show ...`.

* 🎨 Assign to a variable to satisfy linters
2017-10-02 22:56:17 +02:00
Pradyun Gedam fc7ca26489 Warn user when installing scripts outside PATH (#4553) 2017-10-02 17:54:37 +01:00
Chris Jerdonek 3e56733df4 Add a RevOptions class (#4707)
* Add the RevOptions class, and test.

* Start using the RevOptions class.

* Add news file.

* Update for mypy.

* Fix test after rebasing.

* Address @xavfernandez's review comments.
2017-10-02 00:21:11 +02:00
Eric Hopper 72f677f263 Update supported Mercurial schemes with hg+file (#4357)
Empirically, pip supports pip [-e] hg+file:///path/to/repo
2017-09-30 00:37:45 +02:00
Dustin Ingram 8d96363882 Don't assume master branch exists when reinstalling editable package from Git (#4450)
* Add failing test

* Don't assume master branch is default

* Don't expect output to stderr

* Use the 'short ref' instead of the 'full ref'
2017-09-30 00:30:30 +02:00
kpinc e3288bb15c Improve sentence in docs vis passing multiple values in an environment variable (#4677)
* Improve repeated command line options sentence

* Add trivial news entry

* Update user_guide.rst

* Shorten sentence
2017-09-29 23:49:22 +02:00
Paul Moore 4ac223585a Add documentation on how to call pip from user code (#4743)
* Add documentation on how to call pip from user code
* Document the lack of a Python API for pip
2017-09-28 22:15:51 +01:00
Donald Stufft 13a3f1d52a Upgrade requests 2017-09-07 15:54:22 -04:00
Donald Stufft b14a62f36e Upgrade cachecontrol, setuptools, and pytoml 2017-09-07 12:47:05 -04:00
Pradyun S. Gedam 11451c54ec Merge branch 'master' into mypy/infrastructure 2017-09-02 16:06:48 +05:30
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Filip Kokosiński 6ebec4a87e Added offending line from requirements file (#4227) (#4635) 2017-08-31 13:07:42 -04:00
Ian Stapleton Cordasco 283cf2ca78 Add support for wheel build tags (#4299) 2017-08-31 07:58:02 -04:00
Pradyun S. Gedam a2bf077111 Fix a typo I made in #4579 (#4641) 2017-08-16 13:07:13 -04:00
Chris Jerdonek d5402d33e1 Refactor in preparation for issue #1139 fix. (#4644) 2017-08-09 16:30:13 -04:00
Pradyun S. Gedam 573a501181 Per requirement global options (#4579)
* Stop using a mutable default value

* 📰
2017-08-02 18:03:38 -04:00
Pradyun S. Gedam c365304f66 Merge branch 'master' into mypy/infrastructure 2017-08-03 03:26:59 +05:30
Pradyun S. Gedam 281061fca7 Upgrade some vendored dependencies (#4638) 2017-08-02 17:50:45 -04:00
pip 2f76fbe6fa Limit the disabling of requests' pyopenssl import to Windows 2017-07-19 14:26:49 -04:00
Pradyun S. Gedam bc637a8491 📰 2017-07-17 22:19:31 +05:30
Thomas Kluyver a32ebea3c4 Add news file 2017-07-05 20:04:56 -04:00
Pradyun S. Gedam bf4c613071 Add man pages for pip (#4491)
* Add man pages to pip

* 📰
2017-07-05 19:56:13 -04:00
Paul Moore d3f040e120 Handle sys.__stderr__.encoding not existing (#4599)
Handle sys.__stderr__.encoding not existing
2017-07-05 15:46:36 +01:00
Pradyun S. Gedam 69ef4d9224 From RequirementSet to Resolver - Part 1 (#4546) 2017-06-27 12:37:38 -04:00
Pradyun S. Gedam 29bab5adbd Support forward slash on windows (#4563)
Support forward slash on windows
2017-06-26 22:07:49 +01:00
Pradyun S. Gedam 21be153044 Display where pip is looking for packages (#4483)
Display where PackageFinder is looking for packages
2017-06-26 21:45:47 +01:00
Pradyun S. Gedam c92cbe7aba Add Required-by field to pip show (#4564) 2017-06-26 08:58:52 -04:00
Pradyun S. Gedam 49abd55fe5 Configuration - Documentation updates (#4556) 2017-06-24 13:24:13 -04:00
Pradyun S. Gedam a24c59fc27 Only apply re-runs marker on CI runs (#4541) 2017-06-17 12:21:14 -04:00
Pradyun S. Gedam 44e82c4cf4 📰 2017-06-16 12:32:10 +05:30
Donald Stufft 78573d9897 Merge pull request #4240 from pradyunsg/configuration-command
Add a configuration command
2017-06-13 15:21:20 -04:00
Donald Stufft f5558026c5 Merge pull request #4526 from pradyunsg/refactor/resolve
Move prepare_files logic to pip.resolve
2017-06-13 14:41:32 -04:00
Donald Stufft 32601af01c Merge pull request #4481 from pradyunsg/more-checks
Travis CI - Updates and Additions (sorted imports)
2017-06-13 13:54:36 -04:00
Pradyun S. Gedam b0ed0f7e9b Merge branch 'master' into configuration-command 2017-06-13 21:26:10 +05:30
Donald Stufft fc3a8e77e6 Merge pull request #4495 from pradyunsg/installed-files-bug-373
Fix for #373
2017-06-13 09:43:13 -04:00
Pradyun S. Gedam 0bd4ba9467 📰 2017-06-13 17:59:33 +05:30
Pradyun S. Gedam 9923c1ad7e Sort imports and minor Flake8 changes (#4520)
* Run isort on the codebase

Command: isort --recursive --skip __main__.py --skip _vendor -o pip._vendor -sd THIRDPARTY -m 5 -p pip -p tests ./pip ./tests

* 📰
2017-06-13 14:17:00 +02:00
Pradyun S. Gedam 5e6be8b4b0 📰 2017-06-13 11:35:40 +05:30
Pradyun S. Gedam 8b5cf0de1d 🎨 Misc change to re-trigger CI 2017-06-13 10:33:13 +05:30
David Tucker 7b88f2bbe4 Fall back to sys.getdefaultencoding in auto_decode (#4430)
* Test auto_decode when getpreferredencoding is None

* Fall back to sys.getdefaultencoding in auto_decode

* Add a news file fragment for 4184
2017-06-01 21:41:01 +02:00
Pradyun S. Gedam 0bdbee5c30 TemporaryDirectory abstraction (#4332)
* Rename BuildDirectory to TempDirectory

Because that's what it is.

* Use TempDirectory in more places (take 2)

* Fix indentation...

* 🎨

* Dumb mistake.

* Defer creation of temporary directory

* Misc

* Oops!

* Use better name

* Fix mistakes made in rebasing

* Remove unnecessary wrapping

* 📰

* Misc change to trigger a new CI build

* Make TempDirectory more robust

Update test accordingly

* 🎨 Remove unused import

* 🔧 Fix mistake made during merge

* Move kind to prefix

* Move delete initalization to __init__

* Remove unrelated message

* Improve existing test

* Oops.

* Add a test to verify that readonly files are also deleted

* 🎨

* Increase places where TempDirectory is used

* Remove unused import

* Improve tests, fix bug

* 🎨

* Update test for new behaviour

* Missed no_clean argument

* Make temp_dir private

* Delete the temporary directory based on no_clean

* Give TemporaryDirectory use a unique name

* 🎨

* 📝 Add basic documentation
2017-06-01 14:54:29 +02:00
Donald Stufft 2dd2375c11 Merge pull request #4509 from pradyunsg/misc/indent-completion-snippets
Indent the completion text and use textwrap.dedent
2017-05-30 07:48:36 -04:00
Paul Moore 8a101321f6 Another attempt to fix encoding issues (#4486)
When reading bytes from subprocesses, use the locale encoding. Don't fail if the data is encoded incorrectly - instead, use the backslashreplace error handler (and warn the user).
2017-05-27 22:02:08 +01:00
Pradyun S. Gedam 067dd14082
📰 2017-05-25 22:16:56 +05:30
Pradyun S. Gedam d6db3b0429 📰 2017-05-20 13:22:31 +05:30
Pradyun S. Gedam 9ed0dd73a1 Add a news file 2017-05-20 12:53:13 +05:30
Donald Stufft 9c03780319 Merge pull request #4454 from dstufft/securetransport
Use SecureTransport on macOS
2017-05-19 18:15:13 -04:00
Donald Stufft 410549db9d Merge pull request #4500 from pradyunsg/switch-default-strategy
Switch default upgrade strategy to only-if-needed
2017-05-19 18:10:18 -04:00
Pradyun S. Gedam 053218b991 📰 2017-05-19 19:40:59 +05:30
Donald Stufft 7c4353e683 Merge pull request #4144 from takluyver/pep518
Install build dependencies as specified in PEP 518
2017-05-19 09:48:43 -04:00
Donald Stufft 84677844e3 Inject securetransport support into pip
Older versions of OpenSSL (before 1.0.1) did not support TLSv1.2 and
in the near future PyPI will be configured to *only* support TLSv1.2+.
This allows us to utilize SecureTransport on these systems where the
linked OpenSSL is *not* new enough to handle TLSv1.2.
2017-05-19 09:47:23 -04:00
Donald Stufft bf5c388aa1 Merge pull request #4499 from dstufft/upgrade
Upgrade Dependencies
2017-05-19 09:10:26 -04:00
Donald Stufft 5fcd202a11 Merge pull request #4492 from pradyunsg/rerun-network-tests
Mark network tests as flaky and do reruns on fail
2017-05-19 08:28:12 -04:00
Donald Stufft de829c4017 Merge pull request #4233 from pradyunsg/nicer-permissions-error
Nicer permissions error message
2017-05-19 08:04:18 -04:00
Donald Stufft c665bc1369 Upgrade setuptools to 35.0.2 2017-05-19 08:01:44 -04:00
Donald Stufft 20b2f324f5 Upgrade requests to 2.14.2 2017-05-19 08:01:43 -04:00
Donald Stufft 065b9de2c8 Upgrade distlib to 0.2.5 2017-05-19 08:01:43 -04:00
Donald Stufft cd2bfd20a6 Upgrade colorama to 0.3.9 2017-05-19 08:01:43 -04:00
Donald Stufft 686ea382fe Merge pull request #4484 from pradyunsg/readme-modification
README: Move badges before links
2017-05-19 07:12:44 -04:00
Donald Stufft d24581fedf Merge pull request #4493 from pradyunsg/nicer-uninstall
Make uninstall less verbose
2017-05-19 07:12:15 -04:00
Thomas Kluyver 20955812bf Merge branch 'master' into pep518 2017-05-19 11:04:32 +01:00
Pradyun S. Gedam 053fa2f3f3 📰 2017-05-19 14:42:26 +05:30
Pradyun S. Gedam 5605976160 📰 2017-05-19 12:45:12 +05:30
Pradyun S. Gedam 501b774d7e 📰 2017-05-19 11:20:49 +05:30
Pradyun S. Gedam dc6ce2260a 📰 2017-05-19 08:48:57 +05:30
Donald Stufft f16de42863 Merge pull request #4485 from pradyunsg/isort-only
Sort all imports
2017-05-18 15:58:28 -04:00
Pradyun S. Gedam 4a86d894de 📰 2017-05-18 20:11:12 +05:30
Pradyun S. Gedam ad0349624d 📰 2017-05-18 18:55:07 +05:30
Pradyun S. Gedam 206bf1f041 📰 2017-05-17 23:59:06 +05:30
Pradyun S. Gedam 476fbf2d2a 📰 2017-05-16 23:50:43 +05:30
Pradyun S. Gedam 464e9d14ec 📰 2017-05-16 15:54:03 +05:30
Pradyun S. Gedam e3abcbc658 📰 2017-05-16 10:29:33 +05:30
Pradyun S. Gedam 6c201b7c8e New entry 2017-05-13 15:59:13 +05:30
Paul Moore ccd75d4daf Merge pull request #4442 from pfmoore/user_site
Ensure USER_SITE is set by calling getusersitepackages() on Python 3.2+
2017-05-05 15:53:00 +01:00
AraHaan 0d513acd0f Inform users when vcs's are not in the path. (#4461)
Inform users when the vcs command is not in the path.

This provides extra information when someone who tries to use git with pip but can't because git is not in the path environment variable.
2017-05-03 08:46:36 +01:00
Xavier Fernandez 548a913652 Deprecate SVN specific code based on dependency links
This seems to have been around since forever (c2000d7de6 at least)
for an undocumented, untested and quite specific corner case based
on the deprecated dependency links.
2017-04-19 23:20:16 +02:00
Paul Moore 048dacde21 Ensure USER_SITE is set by calling getusersitepackages() 2017-04-12 19:36:11 +01:00
Xavier Fernandez 2552da3f27 Bump progress to 1.3
Closes #3015
2017-04-10 15:49:43 +02:00
Dustin Ingram 253d2a673e
Support installing from Git refs 2017-04-07 09:50:58 -04:00
Xavier Fernandez 4ee868553c Merge pull request #4208 from frame-technology/relative-file-paths
Support relative paths for file links.
2017-04-07 10:02:48 +02:00
Donald Stufft 88fa958db2 Merge pull request #4224 from kuzmiigo/fix-search-latest-version
Fix the latest version number in search results
2017-04-06 18:18:06 -04:00
Igor Kuzmitshov fe9f070133 Add NEWS entry 2017-04-06 18:29:10 +01:00
Dustin Ingram 13373c37cf
Generalize help text for compile/no-compile flags 2017-04-06 13:27:46 -04:00
Donald Stufft 4749845a51 Merge pull request #4413 from luojiebin/Fixed-issue#4008
Allowed combinations of -q and -v to act sanely
2017-04-06 12:37:02 -04:00
luojiebin d0c0cc9e80 Fixed issue #949 (#4414)
* Showed installers when list command runs with -vv option

* Added news entry

* Updated code to show both location and installer of a package when '-v' is used

* Removed installer from freeze format

* Moved get_installer function to pip.utils.packaging
2017-04-06 15:16:18 +02:00
Dustin Ingram 07d0bb7928
Upgrade webencodings==0.5.1 2017-04-05 17:31:53 -04:00
Brandon L. Reiss 465ca092c0 Add news/4208.bugfix. 2017-04-05 10:17:02 -04:00
Luo Jiebin 9aee3e6e82 Added news entry 2017-04-04 14:51:55 +08:00
Donald Stufft 0abb87d39a Merge pull request #4402 from luojiebin/master
Fixed issue #979
2017-04-03 08:56:40 -04:00
Luo Jiebin 58346dfab8 Added a news entry 2017-04-03 09:57:27 +08:00
Donald Stufft 77154ead85 Fix a typo in the news file entry 2017-04-01 17:12:26 -04:00
Donald Stufft 2e534b0c92 Merge pull request #4393 from qdamian/handle-url-encoded-credentials
Finish PR 3732: Handle url encoded credentials
2017-04-01 15:41:11 -04:00
Thomas Kluyver b0b6ec1c7a Add news file 2017-04-01 19:35:01 +01:00
Donald Stufft 418a4dea41 Merge pull request #4395 from dstufft/upgrade-distro
Upgrade distro to 1.0.4
2017-04-01 14:17:02 -04:00
Donald Stufft 197c057b48 Merge pull request #4384 from vphilippon/install-whell-with-non-pep440-version
Install wheel with a non-PEP 440 version in the filename.
2017-04-01 10:59:01 -04:00
Donald Stufft 270ea3af20 Upgrade distro to 1.0.4 2017-04-01 10:51:45 -04:00
Damian Quiroga 3cdd162a7b Expect and return str when handling URL credentials 2017-03-30 22:01:43 -03:00
Donald Stufft 985dd899e0 Merge pull request #4388 from dstufft/upgrade
Upgrade CacheControl and setuptools
2017-03-30 20:48:12 -04:00
Donald Stufft 55c43aa364 Removed setup.py test support 2017-03-30 16:52:49 -04:00
Donald Stufft 69734f1627 Upgrade setuptools to 34.3.3 2017-03-30 08:49:11 -04:00
Donald Stufft 0078723269 Upgrade CacheControl to 0.12.2 2017-03-30 08:48:14 -04:00
Vincent Philippon 8378567b61 Install wheel with a non-PEP 440 version in the filename.
PEP 427 has no specific requirements for the format of the version.
As pip wheel allows to create a wheel with a non-PEP 440 version,
it should also be able to install that same wheel.
2017-03-27 23:12:42 -04:00
fiber-space fa7aeb6cc8 Fixes destination directory of data_files when 'pip install --target' is used (#4092) (#4152) 2017-03-26 23:55:50 +02:00
Xavier Fernandez 49f259814f tests: addapt test_install_quiet
-qqq is now needed to hide warnings
2017-03-26 17:39:32 +02:00
Cooper Lees e41b8b1959 Add PR 4336 news file 2017-03-23 11:12:35 -07:00
Xavier Fernandez 7adacc8b18 Fix deduce_helpful_msg in python3
Add a test and changelog for #4127
2017-03-23 12:57:57 +01:00
Donald Stufft 49af40e173 Merge pull request #4355 from dstufft/deprecate-3.3
Deprecate support for Python 3.3
2017-03-22 21:53:20 -04:00
Donald Stufft bca2cf3824 Merge pull request #4362 from alex/patch-4
Remove pip download --editable, it doesn't make sense
2017-03-22 19:33:35 -04:00
Donald Stufft 6b54145783 Deprecate support for Python 3.3 2017-03-22 19:22:56 -04:00
Paul Kehrer 476d297ff6 add support for returning setuptools version for bigquery statistics (#4209)
* add support for returning setuptools version for bigquery statistics

* don't send the data if None

* add changelog entry
2017-03-22 23:59:43 +01:00
Alex Gaynor 935b11896e Added a newsfile 2017-03-22 18:47:06 -04:00
Donald Stufft 2f7007ca0a Merge pull request #4351 from dstufft/remove-10
Officially bump to 10.0 and remove deprecated items.
2017-03-20 14:45:02 -04:00
Donald Stufft c15e112287 Merge pull request #4353 from dstufft/changelog-for-4322
Add a missing changelog for #4322
2017-03-20 12:11:01 -04:00
Donald Stufft 078f4444bf Add a missing changelog for #4322 2017-03-20 11:08:06 -04:00
Donald Stufft 8c2a1b44b0 Upgrade distro to 1.0.3 2017-03-20 11:03:15 -04:00
Donald Stufft fabb73971e Remove the ability to uninstall distutils installed projects 2017-03-20 10:49:57 -04:00
Donald Stufft ffac1c2180 Removed the deprecated --default-vcs option 2017-03-20 10:49:57 -04:00
Donald Stufft 95b9541ed4 Remove the deprecated --(no-)use-wheel flags 2017-03-20 10:49:56 -04:00
Donald Stufft 0b1f521059 Switch the default for pip list to the columns format 2017-03-20 10:49:56 -04:00
Donald Stufft e6bfa12403 Remove the deprecated --download option to install 2017-03-20 10:49:56 -04:00
Donald Stufft bb41490225 Removed the deprecated --allow-* commands from PEP 438 2017-03-19 20:51:54 -04:00
Donald Stufft bb48371714 Removed the deprecated `--egg` flag 2017-03-19 20:31:23 -04:00
Donald Stufft 90dd13f6a6 Add a special kind of towncrier type for vendored lib updates 2017-03-19 16:49:55 -04:00
Donald Stufft c36cca51ca Allow marking a change as "trivial" for the news file 2017-03-19 16:39:27 -04:00
Donald Stufft a45c2f5e24 Generate our NEWS.rst with towncrier 2017-03-19 12:00:31 -04:00