Skip to content

Commit 85ce052

Browse files
authored
docs(config): fix default value for install_command (#3126)
The `install_command` config is documented as having the default value: python -I -m pip install <opts> <packages> The last two arguments are not substituable and are thus passed as is (eg as packages to install) resulting in: py3-test: install_deps> python -I -m pip install -v '<opts>' '<packages>' '.[test]' ERROR: Invalid requirement: '<opts>' Adjust the documentation to use the replaceable variables: `{opts}` and `{packages}`.
1 parent 9429881 commit 85ce052

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/changelog/3126.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix default value for ``install_command`` - by :user:`hashar`.

docs/config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ Pip installer
795795

796796
.. conf::
797797
:keys: install_command
798-
:default: python -I -m pip install <opts> <packages>
798+
:default: python -I -m pip install {opts} {packages}
799799
:version_added: 1.6
800800

801801
Determines the command used for installing packages into the virtual environment; both the package under test and its

0 commit comments

Comments
 (0)