Skip to content

Commit 9d4f2f9

Browse files
authored
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
1 parent b339493 commit 9d4f2f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pythonforandroid/prerequisites.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def darwin_installer(self):
262262

263263
class OpenSSLPrerequisite(Prerequisite):
264264
name = "openssl"
265-
homebrew_formula_name = "openssl@1.1"
265+
homebrew_formula_name = "openssl@3"
266266
mandatory = dict(linux=False, darwin=True)
267267
installer_is_supported = dict(linux=False, darwin=True)
268268

tests/test_prerequisites.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ def setUp(self):
9999
self.mandatory = dict(linux=False, darwin=True)
100100
self.installer_is_supported = dict(linux=False, darwin=True)
101101
self.prerequisite = OpenSSLPrerequisite()
102-
self.expected_homebrew_formula_name = "openssl@1.1"
103-
self.expected_homebrew_location_prefix = "/opt/homebrew/opt/openssl@1.1"
102+
self.expected_homebrew_formula_name = "openssl@3"
103+
self.expected_homebrew_location_prefix = "/opt/homebrew/opt/openssl@3"
104104

105105
@mock.patch(
106106
"pythonforandroid.prerequisites.Prerequisite._darwin_get_brew_formula_location_prefix"

0 commit comments

Comments
 (0)