Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove executable name option from help #1151

Closed
wants to merge 1 commit into from
Closed

Remove executable name option from help #1151

wants to merge 1 commit into from

Conversation

maxwell-k
Copy link
Contributor

This is only one approach to addressing #1150 and may not be preferred.

  • I have added an entry to docs/changelog.md

Summary of changes

This is a change to the help text for install and run to remove the description of passing an executable name. After this change the help does not suggest invocations including --python python3.11 which lead to #1150 . Fixes #1150

Test plan

Tested by running:

.nox/develop-3-12/bin/python src/pipx install --help
.nox/develop-3-12/bin/python src/pipx run --help

Example excerpt from output:

  --python PYTHON       Python to run with. Possible values can be the version to pass to py launcher
                        (3.11) or the full path to the executable. Requires Python 3.8 or above.

@maxwell-k maxwell-k marked this pull request as draft December 15, 2023 05:21
@maxwell-k
Copy link
Contributor Author

After some testing without python-launcher installed I am not sure this is the right fix.

@maxwell-k maxwell-k deleted the maxwell-k-remove-python-from-help branch July 5, 2024 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--python python3.11 results in an error
2 participants