From 56722efe36dd5ef8320f1b3fd0a949d85e62e585 Mon Sep 17 00:00:00 2001
From: "Miss Islington (bot)"
 <31488909+miss-islington@users.noreply.github.com>
Date: Mon, 29 May 2023 10:21:03 -0700
Subject: gh-103646: Remove --include-pip-user from default APPX package build
 (GH-105064)

(cherry picked from commit 6da701511e70fb26ad4710153d8d5a82b809919c)

Co-authored-by: Steve Dower <steve.dower@python.org>
---
 .../next/Windows/2023-05-29-17-09-31.gh-issue-103646.U8oGQx.rst      | 5 +++++
 PC/layout/support/options.py                                         | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)
 create mode 100644 Misc/NEWS.d/next/Windows/2023-05-29-17-09-31.gh-issue-103646.U8oGQx.rst

diff --git a/Misc/NEWS.d/next/Windows/2023-05-29-17-09-31.gh-issue-103646.U8oGQx.rst b/Misc/NEWS.d/next/Windows/2023-05-29-17-09-31.gh-issue-103646.U8oGQx.rst
new file mode 100644
index 0000000..71c1e7c
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2023-05-29-17-09-31.gh-issue-103646.U8oGQx.rst
@@ -0,0 +1,5 @@
+When installed from the Microsoft Store, ``pip`` no longer defaults to
+per-user installs. However, as the install directory is unwritable, it
+should automatically decide to do a per-user install anyway. This should
+resolve issues when ``pip`` is passed an option that conflicts with
+``--user``.
diff --git a/PC/layout/support/options.py b/PC/layout/support/options.py
index 26d13f5..60256fb 100644
--- a/PC/layout/support/options.py
+++ b/PC/layout/support/options.py
@@ -41,7 +41,6 @@ PRESETS = {
         "options": [
             "stable",
             "pip",
-            "pip-user",
             "tcltk",
             "idle",
             "venv",
-- 
cgit v0.12