Skip to content

Conversation

zooba
Copy link
Member

@zooba zooba commented May 29, 2023

Copy link
Member

@pfmoore pfmoore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it not possible to completely remove the "pip-user" option? As far as I can see, it's only used in get_pip_layout in PC\layout\support\pip.py. Having the option present but never used seems like a potential source of confusion.

@zooba
Copy link
Member Author

zooba commented May 29, 2023

Deprecating and removing a command line option is a bigger change than just changing a preset, since the presets are deliberately unspecified.

I doubt anyone is actually using it, but I see no reason to find out by simply removing it. There are potentially useful scenarios that might be using it where they wouldn't be covered by the unwritable-Lib fallback (I know of one such scenario, though I don't know that they're actively using this option).

@zooba zooba merged commit 6da7015 into python:main May 29, 2023
@miss-islington
Copy link
Contributor

Thanks @zooba for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 29, 2023
@bedevere-bot
Copy link

GH-105065 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label May 29, 2023
@zooba
Copy link
Member Author

zooba commented May 29, 2023

Want to make sure this is in for 3.12.0b2 tomorrow, but we can look at cleaning up unused options later.

@zooba zooba deleted the gh-103646 branch May 29, 2023 16:58
zooba added a commit that referenced this pull request May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-windows type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants