Skip to content

Commit f284b45

Browse files
matteiusoz123
authored andcommitted
Correction
1 parent 9c1080d commit f284b45

File tree

2 files changed

+38
-38
lines changed

2 files changed

+38
-38
lines changed

pipenv/patched/pip/_internal/commands/__init__.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,97 +14,97 @@
1414
# - Enables avoiding additional (costly) imports for presenting `--help`.
1515
# - The ordering matters for help display.
1616
#
17-
# Even though the module path starts with the same "pipenv.patched.pip_internal.commands"
17+
# Even though the module path starts with the same "pipenv.patched.pip._internal.commands"
1818
# prefix, the full path makes testing easier (specifically when modifying
1919
# `commands_dict` in test setup / teardown).
2020
commands_dict: Dict[str, CommandInfo] = {
2121
"install": CommandInfo(
22-
"pipenv.patched.pip_internal.commands.install",
22+
"pipenv.patched.pip._internal.commands.install",
2323
"InstallCommand",
2424
"Install packages.",
2525
),
2626
"lock": CommandInfo(
27-
"pipenv.patched.pip_internal.commands.lock",
27+
"pipenv.patched.pip._internal.commands.lock",
2828
"LockCommand",
2929
"Generate a lock file.",
3030
),
3131
"download": CommandInfo(
32-
"pipenv.patched.pip_internal.commands.download",
32+
"pipenv.patched.pip._internal.commands.download",
3333
"DownloadCommand",
3434
"Download packages.",
3535
),
3636
"uninstall": CommandInfo(
37-
"pipenv.patched.pip_internal.commands.uninstall",
37+
"pipenv.patched.pip._internal.commands.uninstall",
3838
"UninstallCommand",
3939
"Uninstall packages.",
4040
),
4141
"freeze": CommandInfo(
42-
"pipenv.patched.pip_internal.commands.freeze",
42+
"pipenv.patched.pip._internal.commands.freeze",
4343
"FreezeCommand",
4444
"Output installed packages in requirements format.",
4545
),
4646
"inspect": CommandInfo(
47-
"pipenv.patched.pip_internal.commands.inspect",
47+
"pipenv.patched.pip._internal.commands.inspect",
4848
"InspectCommand",
4949
"Inspect the python environment.",
5050
),
5151
"list": CommandInfo(
52-
"pipenv.patched.pip_internal.commands.list",
52+
"pipenv.patched.pip._internal.commands.list",
5353
"ListCommand",
5454
"List installed packages.",
5555
),
5656
"show": CommandInfo(
57-
"pipenv.patched.pip_internal.commands.show",
57+
"pipenv.patched.pip._internal.commands.show",
5858
"ShowCommand",
5959
"Show information about installed packages.",
6060
),
6161
"check": CommandInfo(
62-
"pipenv.patched.pip_internal.commands.check",
62+
"pipenv.patched.pip._internal.commands.check",
6363
"CheckCommand",
6464
"Verify installed packages have compatible dependencies.",
6565
),
6666
"config": CommandInfo(
67-
"pipenv.patched.pip_internal.commands.configuration",
67+
"pipenv.patched.pip._internal.commands.configuration",
6868
"ConfigurationCommand",
6969
"Manage local and global configuration.",
7070
),
7171
"search": CommandInfo(
72-
"pipenv.patched.pip_internal.commands.search",
72+
"pipenv.patched.pip._internal.commands.search",
7373
"SearchCommand",
7474
"Search PyPI for packages.",
7575
),
7676
"cache": CommandInfo(
77-
"pipenv.patched.pip_internal.commands.cache",
77+
"pipenv.patched.pip._internal.commands.cache",
7878
"CacheCommand",
7979
"Inspect and manage pip's wheel cache.",
8080
),
8181
"index": CommandInfo(
82-
"pipenv.patched.pip_internal.commands.index",
82+
"pipenv.patched.pip._internal.commands.index",
8383
"IndexCommand",
8484
"Inspect information available from package indexes.",
8585
),
8686
"wheel": CommandInfo(
87-
"pipenv.patched.pip_internal.commands.wheel",
87+
"pipenv.patched.pip._internal.commands.wheel",
8888
"WheelCommand",
8989
"Build wheels from your requirements.",
9090
),
9191
"hash": CommandInfo(
92-
"pipenv.patched.pip_internal.commands.hash",
92+
"pipenv.patched.pip._internal.commands.hash",
9393
"HashCommand",
9494
"Compute hashes of package archives.",
9595
),
9696
"completion": CommandInfo(
97-
"pipenv.patched.pip_internal.commands.completion",
97+
"pipenv.patched.pip._internal.commands.completion",
9898
"CompletionCommand",
9999
"A helper command used for command completion.",
100100
),
101101
"debug": CommandInfo(
102-
"pipenv.patched.pip_internal.commands.debug",
102+
"pipenv.patched.pip._internal.commands.debug",
103103
"DebugCommand",
104104
"Show information useful for debugging.",
105105
),
106106
"help": CommandInfo(
107-
"pipenv.patched.pip_internal.commands.help",
107+
"pipenv.patched.pip._internal.commands.help",
108108
"HelpCommand",
109109
"Show help for commands.",
110110
),

tasks/vendoring/patches/patched/import_scope.patch

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,115 +7,115 @@ index bc4f216a8..156846015 100644
77
# - The ordering matters for help display.
88
#
99
-# Even though the module path starts with the same "pip._internal.commands"
10-
+# Even though the module path starts with the same "pipenv.patched.pip_internal.commands"
10+
+# Even though the module path starts with the same "pipenv.patched.pip._internal.commands"
1111
# prefix, the full path makes testing easier (specifically when modifying
1212
# `commands_dict` in test setup / teardown).
1313
commands_dict: Dict[str, CommandInfo] = {
1414
"install": CommandInfo(
1515
- "pip._internal.commands.install",
16-
+ "pipenv.patched.pip_internal.commands.install",
16+
+ "pipenv.patched.pip._internal.commands.install",
1717
"InstallCommand",
1818
"Install packages.",
1919
),
2020
"lock": CommandInfo(
2121
- "pip._internal.commands.lock",
22-
+ "pipenv.patched.pip_internal.commands.lock",
22+
+ "pipenv.patched.pip._internal.commands.lock",
2323
"LockCommand",
2424
"Generate a lock file.",
2525
),
2626
"download": CommandInfo(
2727
- "pip._internal.commands.download",
28-
+ "pipenv.patched.pip_internal.commands.download",
28+
+ "pipenv.patched.pip._internal.commands.download",
2929
"DownloadCommand",
3030
"Download packages.",
3131
),
3232
"uninstall": CommandInfo(
3333
- "pip._internal.commands.uninstall",
34-
+ "pipenv.patched.pip_internal.commands.uninstall",
34+
+ "pipenv.patched.pip._internal.commands.uninstall",
3535
"UninstallCommand",
3636
"Uninstall packages.",
3737
),
3838
"freeze": CommandInfo(
3939
- "pip._internal.commands.freeze",
40-
+ "pipenv.patched.pip_internal.commands.freeze",
40+
+ "pipenv.patched.pip._internal.commands.freeze",
4141
"FreezeCommand",
4242
"Output installed packages in requirements format.",
4343
),
4444
"inspect": CommandInfo(
4545
- "pip._internal.commands.inspect",
46-
+ "pipenv.patched.pip_internal.commands.inspect",
46+
+ "pipenv.patched.pip._internal.commands.inspect",
4747
"InspectCommand",
4848
"Inspect the python environment.",
4949
),
5050
"list": CommandInfo(
5151
- "pip._internal.commands.list",
52-
+ "pipenv.patched.pip_internal.commands.list",
52+
+ "pipenv.patched.pip._internal.commands.list",
5353
"ListCommand",
5454
"List installed packages.",
5555
),
5656
"show": CommandInfo(
5757
- "pip._internal.commands.show",
58-
+ "pipenv.patched.pip_internal.commands.show",
58+
+ "pipenv.patched.pip._internal.commands.show",
5959
"ShowCommand",
6060
"Show information about installed packages.",
6161
),
6262
"check": CommandInfo(
6363
- "pip._internal.commands.check",
64-
+ "pipenv.patched.pip_internal.commands.check",
64+
+ "pipenv.patched.pip._internal.commands.check",
6565
"CheckCommand",
6666
"Verify installed packages have compatible dependencies.",
6767
),
6868
"config": CommandInfo(
6969
- "pip._internal.commands.configuration",
70-
+ "pipenv.patched.pip_internal.commands.configuration",
70+
+ "pipenv.patched.pip._internal.commands.configuration",
7171
"ConfigurationCommand",
7272
"Manage local and global configuration.",
7373
),
7474
"search": CommandInfo(
7575
- "pip._internal.commands.search",
76-
+ "pipenv.patched.pip_internal.commands.search",
76+
+ "pipenv.patched.pip._internal.commands.search",
7777
"SearchCommand",
7878
"Search PyPI for packages.",
7979
),
8080
"cache": CommandInfo(
8181
- "pip._internal.commands.cache",
82-
+ "pipenv.patched.pip_internal.commands.cache",
82+
+ "pipenv.patched.pip._internal.commands.cache",
8383
"CacheCommand",
8484
"Inspect and manage pip's wheel cache.",
8585
),
8686
"index": CommandInfo(
8787
- "pip._internal.commands.index",
88-
+ "pipenv.patched.pip_internal.commands.index",
88+
+ "pipenv.patched.pip._internal.commands.index",
8989
"IndexCommand",
9090
"Inspect information available from package indexes.",
9191
),
9292
"wheel": CommandInfo(
9393
- "pip._internal.commands.wheel",
94-
+ "pipenv.patched.pip_internal.commands.wheel",
94+
+ "pipenv.patched.pip._internal.commands.wheel",
9595
"WheelCommand",
9696
"Build wheels from your requirements.",
9797
),
9898
"hash": CommandInfo(
9999
- "pip._internal.commands.hash",
100-
+ "pipenv.patched.pip_internal.commands.hash",
100+
+ "pipenv.patched.pip._internal.commands.hash",
101101
"HashCommand",
102102
"Compute hashes of package archives.",
103103
),
104104
"completion": CommandInfo(
105105
- "pip._internal.commands.completion",
106-
+ "pipenv.patched.pip_internal.commands.completion",
106+
+ "pipenv.patched.pip._internal.commands.completion",
107107
"CompletionCommand",
108108
"A helper command used for command completion.",
109109
),
110110
"debug": CommandInfo(
111111
- "pip._internal.commands.debug",
112-
+ "pipenv.patched.pip_internal.commands.debug",
112+
+ "pipenv.patched.pip._internal.commands.debug",
113113
"DebugCommand",
114114
"Show information useful for debugging.",
115115
),
116116
"help": CommandInfo(
117117
- "pip._internal.commands.help",
118-
+ "pipenv.patched.pip_internal.commands.help",
118+
+ "pipenv.patched.pip._internal.commands.help",
119119
"HelpCommand",
120120
"Show help for commands.",
121121
),

0 commit comments

Comments
 (0)