Skip to content

gh-103646: Remove --include-pip-user from default APPX package build - #105064

Merged
zooba merged 1 commit into
python:mainfrom
zooba:gh-103646
May 29, 2023
Merged

gh-103646: Remove --include-pip-user from default APPX package build#105064
zooba merged 1 commit into
python:mainfrom
zooba:gh-103646

Conversation

@zooba

@zoobazooba commented May 29, 2023

Copy link
Copy Markdown
Member

@pfmoorepfmoore left a comment

Copy link
Copy Markdown
Member

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

zooba commented May 29, 2023

Copy link
Copy Markdown
MemberAuthor

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:mainMay 29, 2023
@miss-islington

Copy link
Copy Markdown
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
…build (pythonGH-105064)
(cherry picked from commit 6da7015)
Co-authored-by: Steve Dower <steve.dower@python.org>
@bedevere-bot

Copy link
Copy Markdown

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

@bedevere-botbedevere-bot removed the needs backport to 3.12 only security fixes label May 29, 2023
@zooba

Copy link
Copy Markdown
MemberAuthor

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
…H-105064)
(cherry picked from commit 6da7015)
Co-authored-by: Steve Dower <steve.dower@python.org>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OS-windowstype-bugAn unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@zooba@miss-islington@bedevere-bot@pfmoore