Skip to content

Commit cf1483d

Browse files
authored
Merge pull request Homebrew#193481 from branchvincent/python@3.13-oci-cli
oci-cli: migrate to `python@3.13`
2 parents a36a307 + df1ed00 commit cf1483d

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

Formula/o/oci-cli.rb

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@ class OciCli < Formula
99
head "https://github.com/oracle/oci-cli.git", branch: "master"
1010

1111
bottle do
12-
sha256 cellar: :any, arm64_sequoia: "96275eaba1720b8edd5e6adaeaf4aca23adac715682e2cf21c1d1be396588410"
13-
sha256 cellar: :any, arm64_sonoma: "a04afdff7ebf191a745616b8d61e4e472cb4b45d2cfbe82636a3eba6f5daa22c"
14-
sha256 cellar: :any, arm64_ventura: "6adffdf1f8ea86c9eb2c95a7ef993e8ccb7ba907f3d585892a37988a482db05b"
15-
sha256 cellar: :any, sonoma: "acf5ebcb85fd18aa65bbe6e5a23bf68a9c63e00fc8c4cd3db79ed14bcacb605f"
16-
sha256 cellar: :any, ventura: "e08835d4570cbc09b6eb53278eb6f0b58dc347953e88845d25890f539886406c"
17-
sha256 cellar: :any_skip_relocation, x86_64_linux: "2539527cad57a7fd4c8c96559d0b44e8885890414e100ae55e288a78da53dff3"
12+
rebuild 1
13+
sha256 cellar: :any, arm64_sequoia: "20607beb8968bebbf1c4b673c145bf8d641519cc6a5e21cef49039c253bf8656"
14+
sha256 cellar: :any, arm64_sonoma: "d9366cc6add2e848a0576b1c5fbcd361dbc3466990b05bc13bc371eb638c9d84"
15+
sha256 cellar: :any, arm64_ventura: "217b89c431642d73139308757fe970177246a87f515fd464807405fbc9626e4b"
16+
sha256 cellar: :any, sonoma: "f1eb3a315554a9ef56c92dda6253e879dc4b8fc2bcf189dc5ee26133f2ac7a38"
17+
sha256 cellar: :any, ventura: "a3f767357bf8950dc1c7d76ada5b734674099d5ac9eb54eee29c22ea888250b7"
18+
sha256 cellar: :any_skip_relocation, x86_64_linux: "ce03682cb9e5b09706b550ad2952746b3dae1cea58cef9272ab4cc36bb7140c4"
1819
end
1920

2021
depends_on "certifi"
2122
depends_on "cryptography"
2223
depends_on "libyaml"
23-
depends_on "python@3.12"
24+
depends_on "python@3.13"
2425

2526
resource "arrow" do
2627
url "https://files.pythonhosted.org/packages/2e/00/0f6e8fcdb23ea632c866620cc872729ff43ed91d284c866b515c6342b173/arrow-1.3.0.tar.gz"
@@ -68,8 +69,8 @@ class OciCli < Formula
6869
end
6970

7071
resource "pyyaml" do
71-
url "https://files.pythonhosted.org/packages/cd/e5/af35f7ea75cf72f2cd079c95ee16797de7cd71f29ea7c68ae5ce7be1eda0/PyYAML-6.0.1.tar.gz"
72-
sha256 "bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"
72+
url "https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz"
73+
sha256 "d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"
7374
end
7475

7576
resource "six" do
@@ -93,7 +94,9 @@ class OciCli < Formula
9394
end
9495

9596
def install
96-
venv = virtualenv_create(libexec, "python3.12")
97+
# Loosen `pyyaml` version pin: https://github.com/oracle/oci-cli/pull/858
98+
inreplace "setup.py", "PyYAML>=5.4,<=6.0.1", "PyYAML>=5.4,<=6.0.2"
99+
venv = virtualenv_create(libexec, "python3.13")
97100

98101
# Switch build-system to poetry-core to avoid rust dependency on Linux.
99102
# Remove when released: https://github.com/matthewdeanmartin/terminaltables/pull/1

0 commit comments

Comments
 (0)