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

132 commits

Author SHA1 Message Date
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
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
Pradyun S. Gedam bc637a8491 📰 2017-07-17 22:19:31 +05:30
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