From 9d4f2f9335065640411fcffea028595fff8ca96a Mon Sep 17 00:00:00 2001 From: HyTurtle <81598434+HyTurtle@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:38:01 +0000 Subject: [PATCH] bump openssl to 3 (#3086) * bump openssl to 3 As version 1.1 disabled * Update test_prerequisites.py bump test version of openssl to 3 --- pythonforandroid/prerequisites.py | 2 +- tests/test_prerequisites.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pythonforandroid/prerequisites.py b/pythonforandroid/prerequisites.py index e85991948f..6b592046ed 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 70ffa0c0d1..8d577fde1c 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"