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

Identify invalid/unknown options or environment variables via "pip config debug" #8523

Open
deveshks opened this issue Jul 2, 2020 · 0 comments
Labels
C: configuration Configuration management and loading type: enhancement Improvements to functionality

Comments

@deveshks
Copy link
Contributor

deveshks commented Jul 2, 2020

Now that #6741 has been closed, a follow up for that has been requested in #8096 (review)

To reiterate, we should be able identify options specified in pip config files which are invalid, optionally trying to identify the closest option available to the provided option, and suggesting it to the user.

For e.g. PIP_TOTO=titi pip config debug should state that TOTO is an invalid option, but for something like global.timout: 10, we can both state that timout is an invalid option, but timeout is a suggestion which can be suggested.

We should ideally discuss first on whether this is a good enough extension of debug subcommand of pip config to be implemented, and come up with a rough idea to implement it, and iterate on it over a PR.

@triage-new-issues triage-new-issues bot added the S: needs triage Issues/PRs that need to be triaged label Jul 2, 2020
@pradyunsg pradyunsg added the type: enhancement Improvements to functionality label Jul 3, 2020
@triage-new-issues triage-new-issues bot removed the S: needs triage Issues/PRs that need to be triaged label Jul 3, 2020
@pradyunsg pradyunsg added the C: configuration Configuration management and loading label Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: configuration Configuration management and loading type: enhancement Improvements to functionality
Projects
None yet
Development

No branches or pull requests

2 participants