Skip to content

Commit 8f352d9

Browse files
authored
Merge pull request #251016 from Homebrew/rawdog-rpds-py
rawdog: use brewed `pydantic-core`/`rpds-py` dependency
2 parents 64125ac + 5c58ade commit 8f352d9

File tree

2 files changed

+33
-57
lines changed

2 files changed

+33
-57
lines changed

Formula/r/rawdog.rb

Lines changed: 32 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,31 @@ class Rawdog < Formula
1010
head "https://github.com/AbanteAI/rawdog.git", branch: "main"
1111

1212
bottle do
13-
rebuild 2
14-
sha256 cellar: :any, arm64_tahoe: "9cbb7c73d516ad3a78db3f1f40798c9b7883ad225baac1216df2c870d112d783"
15-
sha256 cellar: :any, arm64_sequoia: "c4ecee0d66a983345fb065a8051177fdbf59c7e0329f8f31e041acd60f7e8916"
16-
sha256 cellar: :any, arm64_sonoma: "46e643f7cbec4347a10ac94baf1824c95f51840b62afa90fa52b794ee1b42e19"
17-
sha256 cellar: :any, sonoma: "1835c27b0f277885ffe22b1659b23df12046e93f5ca4ec85367165b85419be20"
18-
sha256 cellar: :any_skip_relocation, arm64_linux: "703cba17c970e03198ecbe6539676c1eac336725919820c630d5f9201062f7c5"
19-
sha256 cellar: :any_skip_relocation, x86_64_linux: "25f52160771ed0076464099a98538fbbbd4d23bbe1b1a561d1f022e4bd381ead"
13+
rebuild 3
14+
sha256 cellar: :any, arm64_tahoe: "167eda95176cf5ccf3af330058bd53786a37f8c0d8b81638ac8a85f271851d62"
15+
sha256 cellar: :any, arm64_sequoia: "4a2640caa2eb1e7ba0cc3d16016dcdda221c56cb346fcd6ec043a72c725126ac"
16+
sha256 cellar: :any, arm64_sonoma: "c08d2bd0e0e41faf4a149b4ba56d14877f73b64a7bf503cf4964db1585ced12f"
17+
sha256 cellar: :any, sonoma: "766b67a8aa372c99428558512edd34c185093c02296dce86fd398acb53e04d82"
18+
sha256 cellar: :any_skip_relocation, arm64_linux: "227807903b568161f4d45f4f4ec3de4aed1667287f6be40c25d1a1ec109838f3"
19+
sha256 cellar: :any_skip_relocation, x86_64_linux: "6a77c85f04c017cbe796fec0027b1fe0c1164c2dee3b530255ff6fd485ba9433"
2020
end
2121

2222
depends_on "pkgconf" => :build
23-
depends_on "rust" => :build
23+
depends_on "rust" => :build # for jitter
2424
depends_on "certifi" => :no_linkage
2525
depends_on "libyaml"
26+
depends_on "pydantic-core" => :no_linkage
2627
depends_on "[email protected]"
28+
depends_on "rpds-py" => :no_linkage
2729

2830
resource "aiohappyeyeballs" do
2931
url "https://files.pythonhosted.org/packages/26/30/f84a107a9c4331c14b2b586036f40965c128aa4fee4dda5d3d51cb14ad54/aiohappyeyeballs-2.6.1.tar.gz"
3032
sha256 "c3f9d0113123803ccadfdf3f0faa505bc78e6a72d1cc4806cbd719826e943558"
3133
end
3234

3335
resource "aiohttp" do
34-
url "https://files.pythonhosted.org/packages/62/f1/8515650ac3121a9e55c7b217c60e7fae3e0134b5acfe65691781b5356929/aiohttp-3.13.0.tar.gz"
35-
sha256 "378dbc57dd8cf341ce243f13fa1fa5394d68e2e02c15cd5f28eae35a70ec7f67"
36+
url "https://files.pythonhosted.org/packages/ba/fa/3ae643cd525cf6844d3dc810481e5748107368eb49563c15a5fb9f680750/aiohttp-3.13.1.tar.gz"
37+
sha256 "4b7ee9c355015813a6aa085170b96ec22315dabc3d866fd77d147927000e9464"
3638
end
3739

3840
resource "aiosignal" do
@@ -56,8 +58,8 @@ class Rawdog < Formula
5658
end
5759

5860
resource "charset-normalizer" do
59-
url "https://files.pythonhosted.org/packages/83/2d/5fd176ceb9b2fc619e63405525573493ca23441330fcdaee6bef9460e924/charset_normalizer-3.4.3.tar.gz"
60-
sha256 "6fce4b8500244f6fcb71465d4a4930d132ba9ab8e71a7859e6a5d59851068d14"
61+
url "https://files.pythonhosted.org/packages/13/69/33ddede1939fdd074bce5434295f38fae7136463422fe4fd3e0e89b98062/charset_normalizer-3.4.4.tar.gz"
62+
sha256 "94537985111c35f28720e43603b8e7b43a6ecfb2ce1d3058bbe955b73404e21a"
6163
end
6264

6365
resource "click" do
@@ -71,19 +73,8 @@ class Rawdog < Formula
7173
end
7274

7375
resource "fastuuid" do
74-
url "https://files.pythonhosted.org/packages/15/80/3c16a1edad2e6cd82fbd15ac998cc1b881f478bf1f80ca717d941c441874/fastuuid-0.13.5.tar.gz"
75-
sha256 "d4976821ab424d41542e1ea39bc828a9d454c3f8a04067c06fca123c5b95a1a1"
76-
77-
# Fix to build with Python 3.14
78-
# PR ref: https://github.com/fastuuid/fastuuid/pull/59
79-
patch do
80-
url "https://github.com/fastuuid/fastuuid/commit/2ec12beccb8ab6bb000251731ee9c2f89c459dfe.patch?full_index=1"
81-
sha256 "325b6f157e3aa2e7ccba564d4abff1300754724fa45e18883f38a769b6c33c13"
82-
end
83-
patch do
84-
url "https://github.com/fastuuid/fastuuid/commit/bed5060596a6d63766bb4f2a73c8b3cef55f1fe5.patch?full_index=1"
85-
sha256 "a42285417f4cb35de6ceb6f3fb683044c9fb86f1e275a98130cb19994a5c6968"
86-
end
76+
url "https://files.pythonhosted.org/packages/c3/7d/d9daedf0f2ebcacd20d599928f8913e9d2aea1d56d2d355a93bfa2b611d7/fastuuid-0.14.0.tar.gz"
77+
sha256 "178947fc2f995b38497a74172adee64fdeb8b7ec18f2a5934d037641ba265d26"
8778
end
8879

8980
resource "filelock" do
@@ -107,8 +98,8 @@ class Rawdog < Formula
10798
end
10899

109100
resource "hf-xet" do
110-
url "https://files.pythonhosted.org/packages/74/31/feeddfce1748c4a233ec1aa5b7396161c07ae1aa9b7bdbc9a72c3c7dd768/hf_xet-1.1.10.tar.gz"
111-
sha256 "408aef343800a2102374a883f283ff29068055c111f003ff840733d3b715bb97"
101+
url "https://files.pythonhosted.org/packages/5e/6e/0f11bacf08a67f7fb5ee09740f2ca54163863b07b70d579356e9222ce5d8/hf_xet-1.2.0.tar.gz"
102+
sha256 "a8c27070ca547293b6890c4bf389f713f80e8c478631432962bb7f4bc0bd7d7f"
112103
end
113104

114105
resource "httpcore" do
@@ -122,8 +113,8 @@ class Rawdog < Formula
122113
end
123114

124115
resource "huggingface-hub" do
125-
url "https://files.pythonhosted.org/packages/10/7e/a0a97de7c73671863ca6b3f61fa12518caf35db37825e43d63a70956738c/huggingface_hub-0.35.3.tar.gz"
126-
sha256 "350932eaa5cc6a4747efae85126ee220e4ef1b54e29d31c3b45c5612ddf0b32a"
116+
url "https://files.pythonhosted.org/packages/98/63/4910c5fa9128fdadf6a9c5ac138e8b1b6cee4ca44bf7915bbfbce4e355ee/huggingface_hub-0.36.0.tar.gz"
117+
sha256 "47b3f0e2539c39bf5cde015d63b72ec49baff67b6931c3d97f3f84532e2b8d25"
127118
end
128119

129120
resource "idna" do
@@ -142,8 +133,8 @@ class Rawdog < Formula
142133
end
143134

144135
resource "jiter" do
145-
url "https://files.pythonhosted.org/packages/9d/c0/a3bb4cc13aced219dd18191ea66e874266bd8aa7b96744e495e1c733aa2d/jiter-0.11.0.tar.gz"
146-
sha256 "1d9637eaf8c1d6a63d6562f2a6e5ab3af946c66037eb1b894e8fad75422266e4"
136+
url "https://files.pythonhosted.org/packages/a3/68/0357982493a7b20925aece061f7fb7a2678e3b232f8d73a6edb7e5304443/jiter-0.11.1.tar.gz"
137+
sha256 "849dcfc76481c0ea0099391235b7ca97d7279e0fa4c86005457ac7c88e8b76dc"
147138
end
148139

149140
resource "jsonschema" do
@@ -157,8 +148,8 @@ class Rawdog < Formula
157148
end
158149

159150
resource "litellm" do
160-
url "https://files.pythonhosted.org/packages/fd/3e/1a96a3caeeb6092d85e70904e2caa98598abb7179cefe734e2fbffac6978/litellm-1.78.0.tar.gz"
161-
sha256 "020e40e0d6e16009bb3a6b156d4c1d98cb5c33704aa340fdf9ffd014bfd31f3b"
151+
url "https://files.pythonhosted.org/packages/16/d5/339b60011b49d7a7976ca9dd33b20842de59e7ec202d17a1d6736ef1e0a9/litellm-1.78.7.tar.gz"
152+
sha256 "6b10f5c7dc217bde3481fa4f70b5c37edbfa617bec7149276833d311f76a6783"
162153
end
163154

164155
resource "markupsafe" do
@@ -172,8 +163,8 @@ class Rawdog < Formula
172163
end
173164

174165
resource "openai" do
175-
url "https://files.pythonhosted.org/packages/de/90/8f26554d24d63ed4f94d33c24271559863223a67e624f4d2e65ba8e48dca/openai-2.3.0.tar.gz"
176-
sha256 "8d213ee5aaf91737faea2d7fc1cd608657a5367a18966372a3756ceaabfbd812"
166+
url "https://files.pythonhosted.org/packages/c4/44/303deb97be7c1c9b53118b52825cbd1557aeeff510f3a52566b1fa66f6a2/openai-2.6.1.tar.gz"
167+
sha256 "27ae704d190615fca0c0fc2b796a38f8b5879645a3a52c9c453b23f97141bb49"
177168
end
178169

179170
resource "packaging" do
@@ -187,13 +178,8 @@ class Rawdog < Formula
187178
end
188179

189180
resource "pydantic" do
190-
url "https://files.pythonhosted.org/packages/c3/da/b8a7ee04378a53f6fefefc0c5e05570a3ebfdfa0523a878bcd3b475683ee/pydantic-2.12.0.tar.gz"
191-
sha256 "c1a077e6270dbfb37bfd8b498b3981e2bb18f68103720e51fa6c306a5a9af563"
192-
end
193-
194-
resource "pydantic-core" do
195-
url "https://files.pythonhosted.org/packages/7d/14/12b4a0d2b0b10d8e1d9a24ad94e7bbb43335eaf29c0c4e57860e8a30734a/pydantic_core-2.41.1.tar.gz"
196-
sha256 "1ad375859a6d8c356b7704ec0f547a58e82ee80bb41baa811ad710e124bc8f2f"
181+
url "https://files.pythonhosted.org/packages/f3/1e/4f0a3233767010308f2fd6bd0814597e3f63f1dc98304a9112b8759df4ff/pydantic-2.12.3.tar.gz"
182+
sha256 "1da1c82b0fc140bb0103bc1441ffe062154c8d38491189751ee00fd8ca65ce74"
197183
end
198184

199185
resource "python-dotenv" do
@@ -207,25 +193,20 @@ class Rawdog < Formula
207193
end
208194

209195
resource "referencing" do
210-
url "https://files.pythonhosted.org/packages/2f/db/98b5c277be99dd18bfd91dd04e1b759cad18d1a338188c936e92f921c7e2/referencing-0.36.2.tar.gz"
211-
sha256 "df2e89862cd09deabbdba16944cc3f10feb6b3e6f18e902f7cc25609a34775aa"
196+
url "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz"
197+
sha256 "44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8"
212198
end
213199

214200
resource "regex" do
215-
url "https://files.pythonhosted.org/packages/49/d3/eaa0d28aba6ad1827ad1e716d9a93e1ba963ada61887498297d3da715133/regex-2025.9.18.tar.gz"
216-
sha256 "c5ba23274c61c6fef447ba6a39333297d0c247f53059dba0bca415cac511edc4"
201+
url "https://files.pythonhosted.org/packages/f8/c8/1d2160d36b11fbe0a61acb7c3c81ab032d9ec8ad888ac9e0a61b85ab99dd/regex-2025.10.23.tar.gz"
202+
sha256 "8cbaf8ceb88f96ae2356d01b9adf5e6306fa42fa6f7eab6b97794e37c959ac26"
217203
end
218204

219205
resource "requests" do
220206
url "https://files.pythonhosted.org/packages/c9/74/b3ff8e6c8446842c3f5c837e9c3dfcfe2018ea6ecef224c710c85ef728f4/requests-2.32.5.tar.gz"
221207
sha256 "dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf"
222208
end
223209

224-
resource "rpds-py" do
225-
url "https://files.pythonhosted.org/packages/e9/dd/2c0cbe774744272b0ae725f44032c77bdcab6e8bcf544bffa3b6e70c8dba/rpds_py-0.27.1.tar.gz"
226-
sha256 "26a1c73171d10b7acccbded82bf6a586ab8203601e565badc74bbbf8bc5a10f8"
227-
end
228-
229210
resource "sniffio" do
230211
url "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz"
231212
sha256 "f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"
@@ -246,11 +227,6 @@ class Rawdog < Formula
246227
sha256 "f8aef9c52c08c13a65f30ea34f4e5aac3fd1a34959879d7e59e63027286627f2"
247228
end
248229

249-
resource "typing-extensions" do
250-
url "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz"
251-
sha256 "0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466"
252-
end
253-
254230
resource "typing-inspection" do
255231
url "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz"
256232
sha256 "ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464"

pypi_formula_mappings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@
880880
"exclude_packages": ["certifi"]
881881
},
882882
"rawdog": {
883-
"exclude_packages": ["certifi"]
883+
"exclude_packages": ["certifi", "pydantic-core", "rpds-py"]
884884
},
885885
"rbtools": {
886886
"exclude_packages": ["certifi"]

0 commit comments

Comments
 (0)