Skip to content

Commit 62355cc

Browse files
authored
Merge pull request #250001 from Homebrew/cf2tf-python
cf2tf: migrate to `[email protected]`
2 parents 4eed751 + 96488a7 commit 62355cc

File tree

1 file changed

+31
-29
lines changed

1 file changed

+31
-29
lines changed

Formula/c/cf2tf.rb

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,33 @@ class Cf2tf < Formula
1010
head "https://github.com/DontShaveTheYak/cf2tf.git", branch: "master"
1111

1212
bottle do
13-
rebuild 1
14-
sha256 cellar: :any, arm64_tahoe: "e33f6320ff9fe317fb257ca3e5d26d9c87017af11c86c256d50b40fc13a35d07"
15-
sha256 cellar: :any, arm64_sequoia: "58b4d16d56e6444cbacdb54b1673e387663eadbbe84c3badaf7c8e21b012c1db"
16-
sha256 cellar: :any, arm64_sonoma: "21bbc0286eb033a2a6801ff1bd3ae4969f1ef8def4f3fcb65e95451cd66de630"
17-
sha256 cellar: :any, arm64_ventura: "e85c4d4bce44cab594c31be432cec4a718029f79ffd885b544e6f6af13c0cc82"
18-
sha256 cellar: :any, sonoma: "fb42d64794f5d65ddba3f4fa3591f3c58d556c13bfb1cb51d4f1ce2c48b1b26b"
19-
sha256 cellar: :any, ventura: "8e9c8638a4a1603a43bbd14ef68945a9b47b00e2bc58c759ae37b859020d6656"
20-
sha256 cellar: :any_skip_relocation, arm64_linux: "1edee2efe4d507470e4d0244a539870da2f72b3df1025383598e306e157ea962"
21-
sha256 cellar: :any_skip_relocation, x86_64_linux: "081fee5499068882416bf48bf3ca1aed4163eb56ab3b8b8a00ea6d96d5db8eff"
13+
rebuild 2
14+
sha256 cellar: :any, arm64_tahoe: "13b9c480f4ffba697ed5ee2e5f2ae654a447b151879c7a0a3386a138c8f702f4"
15+
sha256 cellar: :any, arm64_sequoia: "15fb2e619a34279b53cafdd8dc48e426d3eb8a6c6cf3f1796337d51c5e31213e"
16+
sha256 cellar: :any, arm64_sonoma: "1019e60fe4e7b0fee00aff315635b30b31eb8ef9ea5e748cf45f40d7f4e039e8"
17+
sha256 cellar: :any, sonoma: "672575e333a88b144dde2401f2be63a6ede894d6adae1ab19bc02fc4071ba191"
18+
sha256 cellar: :any_skip_relocation, arm64_linux: "247b964be1c86b09559ac508413e9c7f4135bd12e282855b2aef8e8067ff2c75"
19+
sha256 cellar: :any_skip_relocation, x86_64_linux: "4bc13d4f4942443b65281289c9de53e073a38fcb45825667ea207bdbfc1d77c2"
2220
end
2321

2422
depends_on "cmake" => :build
25-
depends_on "certifi"
23+
depends_on "certifi" => :no_linkage
2624
depends_on "libyaml"
27-
depends_on "python@3.13"
25+
depends_on "python@3.14"
2826

2927
resource "cfn-flip" do
3028
url "https://files.pythonhosted.org/packages/ca/75/8eba0bb52a6c58e347bc4c839b249d9f42380de93ed12a14eba4355387b4/cfn_flip-1.3.0.tar.gz"
3129
sha256 "003e02a089c35e1230ffd0e1bcfbbc4b12cc7d2deb2fcc6c4228ac9819307362"
3230
end
3331

3432
resource "charset-normalizer" do
35-
url "https://files.pythonhosted.org/packages/e4/33/89c2ced2b67d1c2a61c19c6751aa8902d46ce3dacb23600a283619f5a12d/charset_normalizer-3.4.2.tar.gz"
36-
sha256 "5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63"
33+
url "https://files.pythonhosted.org/packages/13/69/33ddede1939fdd074bce5434295f38fae7136463422fe4fd3e0e89b98062/charset_normalizer-3.4.4.tar.gz"
34+
sha256 "94537985111c35f28720e43603b8e7b43a6ecfb2ce1d3058bbe955b73404e21a"
3735
end
3836

3937
resource "click" do
40-
url "https://files.pythonhosted.org/packages/60/6c/8ca2efa64cf75a977a0d7fac081354553ebe483345c734fb6b6515d96bbc/click-8.2.1.tar.gz"
41-
sha256 "27c491cc05d968d271d5a1db13e3b5a184636d9d930f148c50b038f0d0646202"
38+
url "https://files.pythonhosted.org/packages/46/61/de6cd827efad202d7057d93e0fed9294b96952e188f7384832791c7b2254/click-8.3.0.tar.gz"
39+
sha256 "e7b8232224eba16f4ebe410c25ced9f7875cb5f3263ffc93cc3e8da705e229c4"
4240
end
4341

4442
resource "click-log" do
@@ -52,13 +50,13 @@ class Cf2tf < Formula
5250
end
5351

5452
resource "gitpython" do
55-
url "https://files.pythonhosted.org/packages/c0/89/37df0b71473153574a5cdef8f242de422a0f5d26d7a9e231e6f169b4ad14/gitpython-3.1.44.tar.gz"
56-
sha256 "c87e30b26253bf5418b01b0660f818967f3c503193838337fe5e573331249269"
53+
url "https://files.pythonhosted.org/packages/9a/c8/dd58967d119baab745caec2f9d853297cec1989ec1d63f677d3880632b88/gitpython-3.1.45.tar.gz"
54+
sha256 "85b0ee964ceddf211c41b9f27a49086010a190fd8132a24e21f362a4b36a791c"
5755
end
5856

5957
resource "idna" do
60-
url "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz"
61-
sha256 "12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9"
58+
url "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60/idna-3.11.tar.gz"
59+
sha256 "795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902"
6260
end
6361

6462
resource "iniconfig" do
@@ -77,28 +75,28 @@ class Cf2tf < Formula
7775
end
7876

7977
resource "pygments" do
80-
url "https://files.pythonhosted.org/packages/7c/2d/c3338d48ea6cc0feb8446d8e6937e1408088a72a39937982cc6111d17f84/pygments-2.19.1.tar.gz"
81-
sha256 "61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f"
78+
url "https://files.pythonhosted.org/packages/b0/77/a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924/pygments-2.19.2.tar.gz"
79+
sha256 "636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887"
8280
end
8381

8482
resource "pytest" do
85-
url "https://files.pythonhosted.org/packages/08/ba/45911d754e8eba3d5a841a5ce61a65a685ff1798421ac054f85aa8747dfb/pytest-8.4.1.tar.gz"
86-
sha256 "7c67fd69174877359ed9371ec3af8a3d2b04741818c51e5e99cc1742251fa93c"
83+
url "https://files.pythonhosted.org/packages/a3/5c/00a0e072241553e1a7496d638deababa67c5058571567b92a7eaa258397c/pytest-8.4.2.tar.gz"
84+
sha256 "86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01"
8785
end
8886

8987
resource "pyyaml" do
90-
url "https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz"
91-
sha256 "d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"
88+
url "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz"
89+
sha256 "d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f"
9290
end
9391

9492
resource "rapidfuzz" do
95-
url "https://files.pythonhosted.org/packages/ed/f6/6895abc3a3d056b9698da3199b04c0e56226d530ae44a470edabf8b664f0/rapidfuzz-3.13.0.tar.gz"
96-
sha256 "d2eaf3839e52cbcc0accbe9817a67b4b0fcf70aaeb229cfddc1c28061f9ce5d8"
93+
url "https://files.pythonhosted.org/packages/ed/fc/a98b616db9a42dcdda7c78c76bdfdf6fe290ac4c5ffbb186f73ec981ad5b/rapidfuzz-3.14.1.tar.gz"
94+
sha256 "b02850e7f7152bd1edff27e9d584505b84968cacedee7a734ec4050c655a803c"
9795
end
9896

9997
resource "requests" do
100-
url "https://files.pythonhosted.org/packages/e1/0a/929373653770d8a0d7ea76c37de6e41f11eb07559b103b1c02cafb3f7cf8/requests-2.32.4.tar.gz"
101-
sha256 "27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422"
98+
url "https://files.pythonhosted.org/packages/c9/74/b3ff8e6c8446842c3f5c837e9c3dfcfe2018ea6ecef224c710c85ef728f4/requests-2.32.5.tar.gz"
99+
sha256 "dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf"
102100
end
103101

104102
resource "six" do
@@ -122,6 +120,10 @@ class Cf2tf < Formula
122120
end
123121

124122
def install
123+
# Unpin Python for 3.14
124+
# Issue ref: https://github.com/DontShaveTheYak/cf2tf/issues/415
125+
inreplace "pyproject.toml", 'python = ">=3.9,<3.14"', 'python = ">=3.9"'
126+
125127
virtualenv_install_with_resources
126128

127129
generate_completions_from_executable(bin/"cf2tf", shell_parameter_format: :click)

0 commit comments

Comments
 (0)