Skip to content

Commit

Permalink
azure-cli: migrate to python@3.12
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
luckman212 authored and chenrui333 committed Aug 6, 2024
1 parent 606748f commit 4be076e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/a/azure-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AzureCli < Formula
depends_on "pkg-config" => :build
depends_on "rust" => :build
depends_on "openssl@3"
depends_on "python@3.11" # Python 3.12 issue: https://github.com/Azure/azure-cli/issues/27673
depends_on "python@3.12"

uses_from_macos "libffi"

Expand Down Expand Up @@ -721,7 +721,7 @@ def install
ENV["OPENSSL_DIR"] = Formula["openssl@3"].opt_prefix
ENV["OPENSSL_NO_VENDOR"] = "1"

venv = virtualenv_create(libexec, "python3.11", system_site_packages: false, without_pip: false)
venv = virtualenv_create(libexec, "python3.12", system_site_packages: false)
venv.pip_install resources

# Get the CLI components we'll install
Expand Down

0 comments on commit 4be076e

Please sign in to comment.