From 8e1eab89b4ae172fb1c2a30f5dd7eccfabcd01d6 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 14 Jul 2024 19:33:58 -0400 Subject: [PATCH 1/2] =?UTF-8?q?Docs:=20`=E2=80=94-ignore-conflicts`=20->?= =?UTF-8?q?=20`--ignore-conflicts`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../research-results/override-conflicting-dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/html/ux-research-design/research-results/override-conflicting-dependencies.md b/docs/html/ux-research-design/research-results/override-conflicting-dependencies.md index b087a8070b9..a8ef57493c1 100644 --- a/docs/html/ux-research-design/research-results/override-conflicting-dependencies.md +++ b/docs/html/ux-research-design/research-results/override-conflicting-dependencies.md @@ -48,7 +48,7 @@ In total, we received 415 responses to the survey. An overwhelming majority (>70%) of respondents indicated that they want some kind of override that allows them to install packages when there are dependency conflicts. Despite desiring this feature, most respondents said if it exists they would use it "not often" — this indicates that it is an advanced feature that is not critical to day-to-day usage. Nevertheless, because it would be difficult or very difficult to find a workaround (>60%), we suggest that pip should offer a override feature (see recommendations, below). -Over half of the respondents said that `pip install tea coffee --ignore-conflicts` was the most ideal syntax for this command when installing multiple packages at once with a conflicting dependency. When using the `pip install —-ignore-conflicts` command, a majority (>48%) of respondents said they would prefer pip to install to the most recent version of the conflicted dependency. +Over half of the respondents said that `pip install tea coffee --ignore-conflicts` was the most ideal syntax for this command when installing multiple packages at once with a conflicting dependency. When using the `pip install --ignore-conflicts` command, a majority (>48%) of respondents said they would prefer pip to install to the most recent version of the conflicted dependency. Most respondents suggested that installing the latest version by default is safer, because it could include security fixes or features that would be difficult to replicate on their own. They also trust that dependencies will be largely backwards-compatible. However, they said it was very important that it is necessary to have a way to override this default behavior, in case they need to use an older version of the conflicted package. From 85a47baeb45cd652db911718cbe801c6adaa5122 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 14 Jul 2024 19:39:01 -0400 Subject: [PATCH 2/2] add news --- news/12851.doc.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/12851.doc.rst diff --git a/news/12851.doc.rst b/news/12851.doc.rst new file mode 100644 index 00000000000..844545c73ac --- /dev/null +++ b/news/12851.doc.rst @@ -0,0 +1 @@ +Correct ``—-ignore-conflicts`` (including an em dash) to ``--ignore-conflicts``.