Skip to content

Commit

Permalink
bump openssl to 3 (#3086)
Browse files Browse the repository at this point in the history
* bump openssl to 3

As version 1.1 disabled

* Update test_prerequisites.py

bump test version of openssl to 3
  • Loading branch information
HyTurtle authored Nov 26, 2024
1 parent b339493 commit 9d4f2f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pythonforandroid/prerequisites.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_prerequisites.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9d4f2f9

Please sign in to comment.