diff --git a/pythonforandroid/prerequisites.py b/pythonforandroid/prerequisites.py index e85991948..6b592046e 100644 --- a/pythonforandroid/prerequisites.py +++ b/pythonforandroid/prerequisites.py @@ -262,7 +262,7 @@ def darwin_installer(self): class OpenSSLPrerequisite(Prerequisite): name = "openssl" - homebrew_formula_name = "openssl@1.1" + homebrew_formula_name = "openssl@3" mandatory = dict(linux=False, darwin=True) installer_is_supported = dict(linux=False, darwin=True) diff --git a/tests/test_prerequisites.py b/tests/test_prerequisites.py index 70ffa0c0d..8d577fde1 100644 --- a/tests/test_prerequisites.py +++ b/tests/test_prerequisites.py @@ -99,8 +99,8 @@ def setUp(self): self.mandatory = dict(linux=False, darwin=True) self.installer_is_supported = dict(linux=False, darwin=True) self.prerequisite = OpenSSLPrerequisite() - self.expected_homebrew_formula_name = "openssl@1.1" - self.expected_homebrew_location_prefix = "/opt/homebrew/opt/openssl@1.1" + self.expected_homebrew_formula_name = "openssl@3" + self.expected_homebrew_location_prefix = "/opt/homebrew/opt/openssl@3" @mock.patch( "pythonforandroid.prerequisites.Prerequisite._darwin_get_brew_formula_location_prefix"