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

9209 commits

Author SHA1 Message Date
Pradyun Gedam
ba81cc9bd0
Move Configuration.get_value to earlier section 2020-03-27 17:19:20 +05:30
Pradyun Gedam
cb7b3af06f
Put the bracketed text in the correct position 2020-03-27 17:19:20 +05:30
Pradyun Gedam
b0687a0aa7
Fix the bullets 2020-03-27 17:19:08 +05:30
Pradyun Gedam
9229de9858
Switch to an API-describing format 2020-03-24 15:43:34 +05:30
Pradyun Gedam
8eb33303fc
Document the two lifecycles of Configuration 2020-03-23 17:47:00 +05:30
Pradyun Gedam
96ea512de1
WIP: Add better overview for configuration deep dive 2020-03-23 17:46:44 +05:30
Pradyun Gedam
a83ea610d2
WIP: Add initial draft of configuration deep dive 2020-03-23 17:46:36 +05:30
Paul Moore
98b3221fd4
Merge pull request #7850 from uranusjr/resolvelib-vendor
Vendor ResolveLib from Git
2020-03-13 13:44:21 +00:00
Tzu-ping Chung
36065cf2e0 Vendor ResolveLib from Git
We are vendoring from the Git source for now, so the bug fix turnover
can be quicker if there's anything wrong in the resolution logic.

HEAD up-to-date as of 2020-03-12.
2020-03-12 22:37:30 +08:00
Pradyun Gedam
4f6bef6eb4
Merge pull request #7792 from pradyunsg/misc/utils-tags
Rename pep425tags -> utils.compatibility_tags
2020-03-12 14:46:52 +05:30
Paul Moore
10f41571b1
Merge pull request #7843 from pfmoore/resolvelib_requirement
Implement the new resolver's Requirement class
2020-03-11 13:18:21 +00:00
Paul Moore
9b10b93503 Implement the resolvelib Requirement class 2020-03-11 11:37:56 +00:00
Paul Moore
f981facb70
Merge pull request #7845 from uranusjr/resolver-flag
Add --unstable-feature=resolver
2020-03-11 11:34:07 +00:00
Tzu-ping Chung
fc810d7353 Add --unstable-feature=resolver
This introduces a new general option --unstable-feature that can be used
to opt into "preview" features in pip not enabled by default. Currently
the only available feature is "resolver".

A stub resolver interface (which would fail on invocation) is provided
to respond to the flag.

The --unstable-feature option is hidden from --help since the resolver
does not yet work. This suppression should be removed when we release
the resolver for general/public testing.
2020-03-11 18:51:01 +08:00
Pradyun Gedam
e15ef595dd
Merge pull request #7840 from xavfernandez/revert_progress_bar_format_change
cli: revert format() related changes
2020-03-11 01:36:31 +05:30
Xavier Fernandez
a096d4cd76 cli: revert format() related changes
Since the progress bar API is % related, it seems simpler to stick with
it.
2020-03-10 13:21:53 +01:00
Pradyun Gedam
4d1932fcdd
Merge pull request #7826 from jaraco/bugfix/6973-format-method
Convert the remaining '%' formatters to '.format'.
2020-03-10 14:58:25 +05:30
Christopher Hunt
4653cde977
Merge pull request #7834 from chrahunt/refactor/simplify-download-copy
Remove pip._internal.operations.prepare._copy_file
2020-03-09 22:50:09 -04:00
Prashant Sharma
115a83698f
fix(tests/lib/path): Remove duplicate resolve method (#7837) 2020-03-09 23:29:27 +01:00
Xavier Fernandez
dfd6a163bd
GitHub Actions: update cache key to include interpreter path (#7835)
And make it more portable by using python
2020-03-09 15:17:17 +01:00
Jason R. Coombs
047e249767
Update src/pip/_internal/cli/progress_bars.py
Co-Authored-By: Xavier Fernandez <xav.fernandez@gmail.com>
2020-03-08 18:36:01 -04:00
Jason R. Coombs
9669c0b312
Update src/pip/_internal/cli/progress_bars.py
Co-Authored-By: Xavier Fernandez <xav.fernandez@gmail.com>
2020-03-08 18:35:53 -04:00
Chris Hunt
fad99dce4a Inline _copy_file 2020-03-08 18:10:17 -04:00
Chris Hunt
cd5d8b7865 Inline unconditional block 2020-03-08 18:10:17 -04:00
Chris Hunt
36d52edeb4 Inline variable 2020-03-08 18:10:17 -04:00
Chris Hunt
e1d1b1c192 Remove dead code
Since download_location doesn't exist, this block could've never been
executed.
2020-03-08 18:10:16 -04:00
Chris Hunt
b0cd7a7a0b Assert that download_location doesn't exist in _copy_file 2020-03-08 18:04:43 -04:00
Chris Hunt
420a6d26de Pass combined download_location to _copy_file
This makes the function arguments look more like `src` and `dest`,
which makes more sense for a file copying function.
2020-03-08 18:01:49 -04:00
Jason R. Coombs
fd288ab0e5 Merge remote-tracking branch 'origin/master' into bugfix/6973-format-method 2020-03-06 18:17:10 -05:00
Jason R. Coombs
def75dc691 Fix issue where format_map isn't available on Python 2 2020-03-06 12:53:54 -05:00
Jason R. Coombs
6282a307dc 👹 Feed the hobgoblins (delint). 2020-03-06 12:43:10 -05:00
Jason R. Coombs
816efa1805 Update changelog 2020-03-06 12:43:10 -05:00
Jason R. Coombs
3511d3d493 Convert the remaining '%' formatters to '.format'. Fixes #6973. 2020-03-06 12:43:03 -05:00
Pradyun Gedam
3487df553f
Merge pull request #7824 from jaraco/bugfix/7823-need-svnadmin
Skip svn tests if svnadmin is not available.
2020-03-06 23:04:28 +05:30
Jason R. Coombs
2c0d691893 Skip svn tests if svnadmin is not available. Fixes #7823. 2020-03-06 04:09:48 -05:00
Pradyun Gedam
60d640276a
Merge pull request #7721 from pradyunsg/misc/fix-nox-docs
Fix nox -s docs
2020-03-05 12:26:10 +05:30
Christopher Hunt
f2fbc7da81
Merge pull request #7812 from atugushev/fix-preprocess-docstrig
Fix the docstring of preprocess() function
2020-03-03 20:23:16 -05:00
Christopher Hunt
ba9218dde7
Merge pull request #7732 from KOLANICH/__repr___for_Configuration
Added __repr__ for Configuration
2020-03-03 20:20:26 -05:00
KOLANICH
958f4ec432 Added __repr__ for Configuration. 2020-03-03 13:36:50 +03:00
Albert Tugushev
63d93b4c7e Fix the docstring of preprocess() function 2020-03-02 22:48:46 +07:00
Pradyun Gedam
bf0da0fea0
Merge pull request #7720 from RDIL/patch-1
Updated sphinx to 2.4.3
2020-02-28 06:02:14 -08:00
Xavier Fernandez
6637ec3fb6
Merge pull request #7787 from xavfernandez/drop_user_data_dir
utils.appdirs: drop unused user_data_dir function
2020-02-28 11:33:44 +01:00
Xavier Fernandez
3ce1872aaf Actually test user_config_dir in TestUserConfigDir 2020-02-28 10:58:54 +01:00
Xavier Fernandez
b42a069920 utils.appdirs: drop unused user_data_dir function
The vendored appdir's user_data_dir function is used inside
user_config_dir which is itself tested.
2020-02-28 10:58:54 +01:00
Pradyun Gedam
520e76ddb9
Merge pull request #7777 from sinscary/fix_#7249
Raise error if --user and --target arguments are used together
2020-02-27 11:38:10 -08:00
Reece Dunham
07d2966e7b 2.4.3 just came out 2020-02-27 19:20:37 +00:00
Reece Dunham
a30b024040 Update tools/requirements/docs.txt
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-02-27 19:20:37 +00:00
Reece Dunham
ae80d7d179 Updated sphinx to 2.4.0 2020-02-27 19:20:37 +00:00
Pradyun Gedam
5b442d503a
Merge pull request #7798 from uranusjr/azure-virtualenv-20
Make tests relying virtualenv semantics pass
2020-02-27 04:58:26 -08:00
Tzu-ping Chung
9c57a6b898 Make tests relying virtualenv semantics pass 2020-02-27 17:43:14 +08:00