Skip to content

Commit 798b8fb

Browse files
authored
Merge pull request #247582 from Homebrew/py314-fixes
[email protected] python-freethreading: add `zstd`
2 parents 58f6e3c + 7abb5e7 commit 798b8fb

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

Formula/p/python-freethreading.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,23 @@ class PythonFreethreading < Formula
1010
end
1111

1212
bottle do
13-
sha256 arm64_tahoe: "a720a5915457e5a2608a492992a99eb75b4c4abb524eb3113b80ede44e4db651"
14-
sha256 arm64_sequoia: "b1a01f0dfa0190831a6f69f1b9e5770e02b10fc9a8284506be43795fa72bab3b"
15-
sha256 arm64_sonoma: "af191378654734dac611648098daa08df77c6df06d416fcffd2e8bbfd82457de"
16-
sha256 tahoe: "d3815a94bec47311412c48e26160d124c59d0be98ea7b79eee086ff8bb67dea0"
17-
sha256 sequoia: "10ea4460f655b748e10c95389ba3fb95b366f25b7f0ae40a224012a39f98cb8f"
18-
sha256 sonoma: "c4bd8beefaf6f44d31d58e52016240fdf1df3407400f5d5fe71d589b377a9c43"
19-
sha256 arm64_linux: "9fdffdfa1ac24c8f07894aa0977524758869c04c9811aff32421a0c5d196ff53"
20-
sha256 x86_64_linux: "91b79c93c586071afef0189b54767520a96c51016cd4e3afe2a8976289a7d535"
13+
rebuild 1
14+
sha256 arm64_tahoe: "1b49e584be645ead7942ac5c5607e0ecee6dac0b204bb0739121e8c39181a9f7"
15+
sha256 arm64_sequoia: "46065c652bc4d27bfe9b0c7738566f9a90d0718b61841006bb0f997a920a9689"
16+
sha256 arm64_sonoma: "ad9dc24cb8f1135896e30c64d66ad5d9015310365b3e1448e70dfd7445858340"
17+
sha256 tahoe: "2ec62fe4443e0c9e5a92f714d8f3942dab37cc6298af95371a0d7277d8a6635a"
18+
sha256 sequoia: "490608aadade7e4a0c0916cfa6faf941efbfaad0d909debc719cf973a0f8351d"
19+
sha256 sonoma: "70c1e7d5c24dccf8fdf9b0a2e361eee1a8bf1d87ab878fa04deb02aa2e3e8cdf"
20+
sha256 arm64_linux: "60e0e956098b66f93e059ae84ecafc4ffe1ea882d0497ee904c47618f5227b2c"
21+
sha256 x86_64_linux: "26b39e8864d5fabadb7717ec392a2ad4f6aafb04812c9cb0dbe83826f7a38a0f"
2122
end
2223

2324
depends_on "pkgconf" => :build
2425
depends_on "mpdecimal"
2526
depends_on "openssl@3"
2627
depends_on "sqlite"
2728
depends_on "xz"
29+
depends_on "zstd"
2830

2931
# not actually used, we just want this installed to ensure there are no conflicts.
3032
uses_from_macos "python" => :test
@@ -43,9 +45,6 @@ class PythonFreethreading < Formula
4345
depends_on "libtirpc"
4446
end
4547

46-
link_overwrite "lib/python3.13t/site-packages/pip*"
47-
link_overwrite "lib/python3.13t/site-packages/wheel*"
48-
4948
# Always update to latest release
5049
resource "flit-core" do
5150
url "https://files.pythonhosted.org/packages/69/59/b6fc2188dfc7ea4f936cd12b49d707f66a1cb7a1d2c16172963534db741b/flit_core-3.12.0.tar.gz"
@@ -428,6 +427,7 @@ def caveats
428427
system python3, "-c", "import pyexpat"
429428
system python3, "-c", "import readline"
430429
system python3, "-c", "import zlib"
430+
system python3, "-c", "import _zstd"
431431

432432
# tkinter is provided in a separate formula
433433
assert_match "ModuleNotFoundError: No module named '_tkinter'",

Formula/p/[email protected]

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,23 @@ class PythonAT314 < Formula
1111
end
1212

1313
bottle do
14-
sha256 arm64_tahoe: "13ecd342edad0d95e7116e0be5b1df3580f954e927b89bec4d233ccccb659052"
15-
sha256 arm64_sequoia: "c987dcc68acb3578826c0b466e3716a6a1c0e3f85766e557853b270b2264968f"
16-
sha256 arm64_sonoma: "21874e66de7d1fea484b78e50cdba62831bf8f0f821a0cdc83ab1bceec13c3ef"
17-
sha256 tahoe: "a459a2a4c5e24f448ab24bb2bd01946cc8a24f4d47e99e19d80bc7dd59a5ecf5"
18-
sha256 sequoia: "d02a98206e75532e22f5ac7366bef22903df1df16c5c9fc56c5b85929943298d"
19-
sha256 sonoma: "2d7e76dca5589d4639d03fd5bfccfa820c0638c0e1bc9223c5029c63741d7c34"
20-
sha256 arm64_linux: "b50b14b814a5b15f7e7abbd25e7723ffa8a4a894aa504ce0c7c4a78023d63a4a"
21-
sha256 x86_64_linux: "2a7f164a1f1d6b6a073462761f0552312a383198135c97b355a3b57132485c48"
14+
rebuild 1
15+
sha256 arm64_tahoe: "be242b10f709d6e9f0332ebc2c811ba4c9dc183212f3128386d7a055470c69f9"
16+
sha256 arm64_sequoia: "e7f6cf86e3b14f81d66826248f946c189311629f97c944ed1f07c20055552f63"
17+
sha256 arm64_sonoma: "6ad9d4fd4b12ff476c3f5300ebea4940210d8b3a2ac39895efc5d746baa074ad"
18+
sha256 tahoe: "8afb815bffe5891e88f63916b5c21ac18d7e4b4614ea3fb8462113fd82449a3e"
19+
sha256 sequoia: "f61e3805bff8ac0f43614d0e37bebecc7b9fc9d61fbb4f177adce39f8e9688b8"
20+
sha256 sonoma: "2d276a05fa3a3c34c31394c6613b31f7c783f411c639538d69468da3f67364de"
21+
sha256 arm64_linux: "e59a11335831960b55f1e285c8ba15731cf48d2c658a137ccc04de9e21300825"
22+
sha256 x86_64_linux: "53794199175cae58badc3b82a776923ebd5d0bfe769380b988484dfe44d8bda0"
2223
end
2324

2425
depends_on "pkgconf" => :build
2526
depends_on "mpdecimal"
2627
depends_on "openssl@3"
2728
depends_on "sqlite"
2829
depends_on "xz"
30+
depends_on "zstd"
2931

3032
uses_from_macos "bzip2"
3133
uses_from_macos "expat", since: :sequoia
@@ -472,6 +474,7 @@ def caveats
472474
system python3, "-c", "import pyexpat"
473475
system python3, "-c", "import readline"
474476
system python3, "-c", "import zlib"
477+
system python3, "-c", "import _zstd"
475478

476479
# tkinter is provided in a separate formula
477480
assert_match "ModuleNotFoundError: No module named '_tkinter'",

0 commit comments

Comments
 (0)