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

pip config - unable to unset values #6940

Closed
dinkopehar opened this issue Aug 28, 2019 · 0 comments
Closed

pip config - unable to unset values #6940

dinkopehar opened this issue Aug 28, 2019 · 0 comments
Labels
auto-locked Outdated issues that have been locked by automation C: configuration Configuration management and loading type: enhancement Improvements to functionality

Comments

@dinkopehar
Copy link

Environment

  • pip version: pip 19.2.1 from /home/dinko/.local/lib/python3.6/site-packages/pip (python 3.6)
  • Python version: Python 3.6.8
  • OS: 18.04.1-Ubuntu x86_64

Description
I tried to set some pip config variables for pip to use, but I'm unable to unset some that contain underscores.

Expected behavior
pip config variables should be unset when used like pip config unset global.variable_name

How to Reproduce

  1. pip config set global.index-url example.com
  2. pip config list (global.index-url='example.com' listed)
  3. pip config unset global.index-url

Output

ERROR: Fatal Internal error [id=1]. Please report as a bug.

NOTE: I created some more variables like global.a-b-c and global.a-b-c-d but I'm able to unset some, while some return error like ERROR: Fatal Internal error [id=1]. Please report as a bug.

@triage-new-issues triage-new-issues bot added the S: needs triage Issues/PRs that need to be triaged label Aug 28, 2019
@xavfernandez xavfernandez added C: configuration Configuration management and loading type: enhancement Improvements to functionality labels Sep 2, 2019
@triage-new-issues triage-new-issues bot removed the S: needs triage Issues/PRs that need to be triaged label Sep 2, 2019
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Apr 15, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation C: configuration Configuration management and loading type: enhancement Improvements to functionality
Projects
None yet
Development

No branches or pull requests

2 participants