From bd45397401697b586b16fdd5bd7089bca3aceb0c Mon Sep 17 00:00:00 2001 From: Michka Popoff Date: Mon, 30 Dec 2019 23:39:37 +0100 Subject: [PATCH] molecule: use system Python 2 as we will delete the python@2 formula at the end of the year. Closes #48409. Signed-off-by: Michka Popoff --- Formula/molecule.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Formula/molecule.rb b/Formula/molecule.rb index 970924f11e..23da9b3746 100644 --- a/Formula/molecule.rb +++ b/Formula/molecule.rb @@ -5,7 +5,7 @@ class Molecule < Formula homepage "https://molecule.readthedocs.io" url "https://files.pythonhosted.org/packages/8d/51/a691f91a829e0be54c8d898ece232c723936faa408496e8ac87f32846bea/molecule-2.20.1.tar.gz" sha256 "621797c54299775f284bbb010d5bb9be485500eecaaa14a476cbc0df285d0da7" - revision 1 + revision 2 bottle do cellar :any @@ -16,7 +16,7 @@ class Molecule < Formula end depends_on "openssl@1.1" - depends_on "python@2" + uses_from_macos "python@2" # Does not support Python 3 # Collect requirements from: # molecule @@ -294,7 +294,6 @@ class Molecule < Formula end def install - ENV.prepend_path "PATH", Formula["python@2"].opt_libexec/"bin" virtualenv_install_with_resources end