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

9340 commits

Author SHA1 Message Date
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
sinscary 7e2bab41b9 update newsfile 2020-02-27 14:12:01 +05:30
sinscary 716c9202ee Raise error if --user and --target arguments are used together 2020-02-27 12:22:56 +05:30
sinscary 268a2dd818 Revert "Raise error if --user and --target arguments are used together"
This reverts commit b6d775d98837a5eaf2cba73a719821c89a71fc8f.
2020-02-27 12:22:56 +05:30
sinscary 8380b2b09a Raise error if --user and --target arguments are used together 2020-02-27 12:22:56 +05:30
Pradyun Gedam 3fa356a772
Update references to pep425tags 2020-02-26 10:24:43 -08:00
Pradyun Gedam 22bbc67bdd
Move pep425tags -> utils.compatibility_tags 2020-02-26 10:20:21 -08:00
Pradyun Gedam 9e884a46f6
Merge pull request #7755 from pradyunsg/docs/conventions
Add initial draft for documentation conventions
2020-02-26 03:40:27 -08:00
Pradyun Gedam c04798f5fd
Merge pull request #7786 from xavfernandez/appdirs_patch
vendoring: move /etc appdir patch to pip wrapper
2020-02-26 02:57:47 -08:00
Pradyun Gedam 0d7f5d1372
Merge pull request #7773 from chrahunt/refactor/move-legacy-resolver
Move legacy_resolve to resolution.legacy.resolver
2020-02-26 02:55:31 -08:00
Xavier Fernandez db377cec28 vendoring: move /etc appdir patch to pip wrapper 2020-02-25 23:52:18 +01:00
Chris Hunt 8362c20da5 Rename legacy resolver unit tests
It's a little long, but better to be consistent with our other test file
naming conventions until we come up with better ones.
2020-02-25 09:04:07 -05:00
Chris Hunt fd74d0362c Move legacy_resolve to resolution.legacy.resolver
This gives us a concrete place to put the new resolver code and
resolver-specific modules (`resolution.resolver`).

The reason for another level of hierarchy compared to other modules
is to allow us to move other modules here as they
become implementation details of the legacy resolver. Examples I
have in mind are: `req.req_set`, `req.req_install`,
`req.constructors`, and `operations.prepare`.
2020-02-25 09:04:06 -05:00
Christopher Hunt 35181cdf01
Merge pull request #7775 from chrahunt/refactor/better-handle-build-dir
Globally manage temp build dir in requirement commands
2020-02-25 12:22:01 +08:00
Pradyun Gedam 80b952b6e2
Apply suggestions from code review
Co-Authored-By: Christopher Hunt <chrahunt@gmail.com>
2020-02-25 04:06:25 +05:30
Chris Hunt 60a2fa4dce Inline unconditionally-executed blocks 2020-02-23 18:05:09 -05:00
Chris Hunt 45911713db Globally manage temp build dir
This will let us remove the indentation associated with the `with`
statement and eventually refactor these functions more easily.
2020-02-23 18:04:46 -05:00
Christopher Hunt ea47be571e
Merge pull request #7772 from chrahunt/refactor/command-level-scoped-tracker
Use Command context helper to cleanup requirement tracker
2020-02-24 06:51:06 +08:00
Christopher Hunt 94c83c0766
Merge pull request #7771 from chrahunt/refactor/remove-extra-no-clean
Do not update `no_clean` option value in install/wheel
2020-02-24 06:50:54 +08:00
Christopher Hunt 5fffbb6c82
Merge pull request #7774 from chrahunt/refactor/move-networking-unit-tests
Move network unit tests to align with subpackage names
2020-02-24 06:49:22 +08:00
Anudit Nagar e6ed38dbce
Add info log when wheel building is skipped (#7768) 2020-02-23 22:56:36 +01:00
Chris Hunt 40bc4ea8fe Move network unit tests to align with subpackage names 2020-02-23 16:22:30 -05:00
Chris Hunt eb91e8ca39 Use Command context helper to cleanup requirement tracker
The lifetime of the requirement tracker will be essentially the same,
but now we have more flexibility on where in the code we create it.

In a followup we can do the same thing with build_dir and remove the
`with` statement (and its indentation) entirely from these commands.
2020-02-23 14:37:01 -05:00
Chris Hunt 83b0295be9 Dedent block 2020-02-23 14:29:01 -05:00
Chris Hunt ccc6d77a73 Do not update no_clean option value on PreviousBuildDirError
Since a recent refactoring of our temporary directory handling,
`no_clean` is only read prior to these `except` blocks. Since it's not
needed, remove it!
2020-02-23 14:28:59 -05:00