File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
src/pip/_internal/operations Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change
1
+ Improve deprecation warning regarding the copying of source trees when installing from a local directory.
Original file line number Diff line number Diff line change @@ -216,11 +216,12 @@ def unpack_url(
216
216
# be removed.
217
217
if link .is_existing_dir ():
218
218
deprecated (
219
- "A future pip version will change local packages to be built "
220
- "in-place without first copying to a temporary directory. "
221
- "We recommend you use --use-feature=in-tree-build to test "
222
- "your packages with this new behavior before it becomes the "
223
- "default.\n " ,
219
+ "pip currently copies the source tree into a temporary directory "
220
+ "before building it. In the future, pip will build packages in-place "
221
+ "within the original source tree (\" in-tree build\" ). Before the "
222
+ "default behavior changes, we recommend testing your packages by "
223
+ "adding the --use-feature=in-tree-build argument. Regarding the "
224
+ "current out-of-tree default build behavior,\n " ,
224
225
replacement = None ,
225
226
gone_in = "21.3" ,
226
227
issue = 7555
You can’t perform that action at this time.
0 commit comments