Skip to content

Commit 7eff2b0

Browse files
committed
yamlfix: use brewed pydantic-core dependency
1 parent 482f225 commit 7eff2b0

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

Formula/y/yamlfix.rb

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Yamlfix < Formula
1616
sha256 cellar: :any_skip_relocation, x86_64_linux: "e8008d7f37865cb7a66593f744f02efac0bf69016e26f5618dfb01e3d578cea7"
1717
end
1818

19-
depends_on "rust" => :build # for pydantic_core
19+
depends_on "pydantic-core" => :no_linkage
2020
depends_on "[email protected]"
2121

2222
resource "annotated-types" do
@@ -60,13 +60,8 @@ class Yamlfix < Formula
6060
end
6161

6262
resource "pydantic" do
63-
url "https://files.pythonhosted.org/packages/c3/da/b8a7ee04378a53f6fefefc0c5e05570a3ebfdfa0523a878bcd3b475683ee/pydantic-2.12.0.tar.gz"
64-
sha256 "c1a077e6270dbfb37bfd8b498b3981e2bb18f68103720e51fa6c306a5a9af563"
65-
end
66-
67-
resource "pydantic-core" do
68-
url "https://files.pythonhosted.org/packages/7d/14/12b4a0d2b0b10d8e1d9a24ad94e7bbb43335eaf29c0c4e57860e8a30734a/pydantic_core-2.41.1.tar.gz"
69-
sha256 "1ad375859a6d8c356b7704ec0f547a58e82ee80bb41baa811ad710e124bc8f2f"
63+
url "https://files.pythonhosted.org/packages/f3/1e/4f0a3233767010308f2fd6bd0814597e3f63f1dc98304a9112b8759df4ff/pydantic-2.12.3.tar.gz"
64+
sha256 "1da1c82b0fc140bb0103bc1441ffe062154c8d38491189751ee00fd8ca65ce74"
7065
end
7166

7267
resource "pygments" do
@@ -95,13 +90,8 @@ class Yamlfix < Formula
9590
end
9691

9792
resource "typer" do
98-
url "https://files.pythonhosted.org/packages/21/ca/950278884e2ca20547ff3eb109478c6baf6b8cf219318e6bc4f666fad8e8/typer-0.19.2.tar.gz"
99-
sha256 "9ad824308ded0ad06cc716434705f691d4ee0bfd0fb081839d2e426860e7fdca"
100-
end
101-
102-
resource "typing-extensions" do
103-
url "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz"
104-
sha256 "0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466"
93+
url "https://files.pythonhosted.org/packages/8f/28/7c85c8032b91dbe79725b6f17d2fffc595dff06a35c7a30a37bef73a1ab4/typer-0.20.0.tar.gz"
94+
sha256 "1aaf6494031793e4876fb0bacfa6a912b551cf43c1e63c800df8b1a866720c37"
10595
end
10696

10797
resource "typing-inspection" do

pypi_formula_mappings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,6 +1111,9 @@
11111111
"exclude_packages": ["certifi"]
11121112
},
11131113
"xonsh": "xonsh[ptk,pygments,proctitle]",
1114+
"yamlfix": {
1115+
"exclude_packages": ["pydantic-core"]
1116+
},
11141117
"yewtube": {
11151118
"exclude_packages": ["certifi"]
11161119
},

0 commit comments

Comments
 (0)