From 4642a490700cd61d5d7d70696a3280f24a5a322b Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sun, 13 Aug 2023 08:15:29 +0300 Subject: [PATCH 1/3] Improve error message for missin `[cli]` extra MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If you copy paste the current message in bash / zsh it will error out with: ``` ยป pip install --upgrade hypothesis[cli] zsh: no matches found: hypothesis[cli] ``` --- hypothesis-python/src/hypothesis/extra/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypothesis-python/src/hypothesis/extra/cli.py b/hypothesis-python/src/hypothesis/extra/cli.py index b2c36be0bc..4c0834dbc0 100644 --- a/hypothesis-python/src/hypothesis/extra/cli.py +++ b/hypothesis-python/src/hypothesis/extra/cli.py @@ -53,7 +53,7 @@ The Hypothesis command-line interface requires the `{}` package, which you do not have installed. Run: - python -m pip install --upgrade hypothesis[cli] + python -m pip install --upgrade 'hypothesis[cli]' and try again. """ From b8f2f693161b2f0b9298cf7e0aa730f5653c3e75 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sun, 13 Aug 2023 08:16:43 +0300 Subject: [PATCH 2/3] Create RELEASE.rst --- hypothesis-python/RELEASE.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 hypothesis-python/RELEASE.rst diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst new file mode 100644 index 0000000000..c0821c372a --- /dev/null +++ b/hypothesis-python/RELEASE.rst @@ -0,0 +1,3 @@ +RELEASE_TYPE: patch + +Fixes the error message for missing ``[cli]]`` extra. From 8bf23c500a3a99c544b6fe0f7149b2d60b65e484 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sun, 13 Aug 2023 23:08:05 +0300 Subject: [PATCH 3/3] Update hypothesis-python/RELEASE.rst Co-authored-by: Matthew Barber --- hypothesis-python/RELEASE.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst index c0821c372a..4575f706fc 100644 --- a/hypothesis-python/RELEASE.rst +++ b/hypothesis-python/RELEASE.rst @@ -1,3 +1,3 @@ RELEASE_TYPE: patch -Fixes the error message for missing ``[cli]]`` extra. +Fixes the error message for missing ``[cli]`` extra.