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

206 commits

Author SHA1 Message Date
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Pradyun S. Gedam 6f29b5d552 Move wheel_cache out of RequirementSet (#4600)
It now goes into both Resolver and WheelBuilder, where it belongs.
2017-07-05 19:57:35 -04:00
Pradyun S. Gedam 581c12b5bc Move some RequirementSet attributes to RequirementPreparer (#4583)
* Move some attributes to RequirementPreparer

* 🎨

Remove unused import
2017-07-05 14:41:45 -04:00
Pradyun S. Gedam 2dad78a99f Refactor/move preparation logic out (#4577) 2017-06-28 18:29:32 -04:00
Pradyun S. Gedam 69ef4d9224 From RequirementSet to Resolver - Part 1 (#4546) 2017-06-27 12:37:38 -04:00
Pradyun S. Gedam fe5b7c9c9a Begin moving WheelCache to pip.cache 2017-06-15 18:34:05 +05:30
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
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 7424218b8c
Pull in remote changes 2017-06-01 18:56:10 +05:30
Pradyun S. Gedam 5ed8967743
🎨 unused imports 2017-06-01 18:56:00 +05:30
Pradyun S. Gedam d3bcbbdb05 Merge branch 'master' into refactor/resolve 2017-06-01 18:38:43 +05:30
Pradyun S. Gedam f4dd076b60
Merge branch 'pradyunsg/master' into refactor/resolve 2017-06-01 18:36:59 +05:30
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
Pradyun S. Gedam 60f4a9537b
Don't resolve inside WheelBuilder 2017-05-31 23:38:20 +05:30
Pradyun S. Gedam 4e70d96cd2
Build the resolver in basecommand
Use a method to prevent duplication across install and download
2017-05-31 15:18:25 +05:30
Pradyun S. Gedam 256f67e997
Start using the resolver 2017-05-31 14:47:14 +05:30
Pradyun S. Gedam c2bd01dbc1
🎨 Change the if condtion to be cleaner 2017-05-31 10:26:51 +05:30
Pradyun S. Gedam 0d33c5ae6b
🎨 2017-05-31 10:26:51 +05:30
Pradyun S. Gedam a18686d442
Move all of --target stuff into a separate function 2017-05-31 10:26:51 +05:30
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 375ed4d3fc Switch default upgrade strategy to only-if-needed 2017-05-19 17:09:48 +05:30
Pradyun S. Gedam a1ccc52970 Log the exception when verbosity > 1 2017-05-19 16:34:23 +05:30
Pradyun S. Gedam ef49ad6db6 Sort imports 2017-05-19 12:44:55 +05:30
Pradyun S. Gedam f07c49329f Nicer message, Return error 2017-05-19 12:44:07 +05:30
Pradyun S. Gedam db3e8570cc THIS IS A DUMB MISTAKE! 2017-05-19 12:43:29 +05:30
Pradyun S. Gedam cc786ba7a4 Improve the error message a bit more 2017-05-19 12:43:29 +05:30
Pradyun S. Gedam 8e1a353b6d Switch to a larger catch-all error 2017-05-19 12:43:28 +05:30
Pradyun S. Gedam 0557b0e2d1 Improve error message on PermissionError 2017-05-19 12:43:28 +05:30
Pradyun S. Gedam 1832569530 Sort all imports 2017-05-16 15:47:47 +05:30
Dustin Ingram 13373c37cf
Generalize help text for compile/no-compile flags 2017-04-06 13:27:46 -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
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 95b9541ed4 Remove the deprecated --(no-)use-wheel flags 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
Ville Skyttä cee7a53712 Python 3.6 invalid escape sequence deprecation fixes 2017-03-20 13:54:29 +01: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
Avner Cohen 0552ffeeda Add --no-progress <progress_bar> to `pip download and pip install` to suppress progress bar in the console 2017-01-30 10:14:07 +01:00
Xavier Fernandez 672e88adb6 Merge pull request #4048 from techtonik/insttype
Group package selection options together
2017-01-28 13:46:40 +01:00
Nikhil Benesch 20326d8b24 Failing exit status when no requirements specified (#4210)
* add failing tests for #2720

* fix #2720: exit status when no requirements specified

* Don't fail when blank requirements files specified
2017-01-06 23:21:46 +01:00
Ben Hoyt 2ea27501a3 Clarify default for --upgrade-strategy is eager (#4150) 2016-12-07 17:00:03 +01:00
anatoly techtonik cec581476c Group location selection options together 2016-11-02 15:40:38 +03:00
anatoly techtonik b622b2c968 Group package selection options together 2016-11-01 00:45:08 +03:00
Xavier Fernandez 1aa5e6a165 Merge pull request #3723 from wm75/mimodd_master
Report successfully installed versions of requirements
even if existing installations have been ignored
2016-10-27 23:22:52 +02:00
Xavier Fernandez 2df0ea9a26 Add --ignore-requires-python escape hatch 2016-10-27 18:43:59 +02:00
Pradyun 807f879422 Add an upgrade-strategy option (#3972) 2016-09-18 16:48:01 -04:00
Donald Stufft 403e398330 Deprecate --egg (#3956) 2016-09-07 16:43:58 -04:00
Wolfgang Maier e568adc41c consider root path when looking for installed versions 2016-05-30 11:33:25 +02:00
Chandrasekhar Atina b15c7f6b6a Fixed #3682 : pip install --target ignores platlib directories (#3694) 2016-05-26 06:39:44 -04:00
Wolfgang Maier 69dd4aefdf respect isolated mode when looking for installed versions 2016-04-12 10:29:32 +02:00