From 4422fe5d9055dacd274301d14764204bb3f7a23b Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Sun, 10 Mar 2024 16:57:35 -0400 Subject: [PATCH] python@3.12: avoid hyphens --- Formula/p/python@3.12.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/p/python@3.12.rb b/Formula/p/python@3.12.rb index 4a6dc0a44e151..af5e13ef8dead 100644 --- a/Formula/p/python@3.12.rb +++ b/Formula/p/python@3.12.rb @@ -394,14 +394,14 @@ def post_install xyz, where xyz is the package you are trying to install. - If you wish to install a non-brew-packaged Python package, + If you wish to install a Python library that isn't in Homebrew, use a virtual environment: python -m venv path/to/venv source env/bin/activate python -m pip install xyz - If you wish to install a non-brew packaged Python application, + If you wish to install a Python application that isn't in Homebrew, it may be easiest to use 'pipx install xyz', which will manage a virtual environment for you. You can install pipx with @@ -527,7 +527,7 @@ def caveats system bin/"pip#{version.major_minor}", "list", "--format=columns" # Check our externally managed marker - assert_match "If you wish to install a non-brew-packaged", + assert_match "If you wish to install a Python library", shell_output("#{python3} -m pip install pip 2>&1", 1) end end