Skip to content

Commit 226e695

Browse files
authored
Merge pull request #224217 from Homebrew/brew-pip-audit-sgr-1747815090
sgr: bump python resources
2 parents f14da20 + 6353305 commit 226e695

File tree

1 file changed

+50
-50
lines changed

1 file changed

+50
-50
lines changed

Formula/s/sgr.rb

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,25 @@ class Sgr < Formula
66
url "https://files.pythonhosted.org/packages/dd/61/7d6cf822edb39d2426f6f185c7fc4de0ad4b80e0da3e5f50d94952795c11/splitgraph-0.3.12.tar.gz"
77
sha256 "76a4476002b5ac5a2b9fba36b6fcffd85b878bcc25f5aae411387e04a5532459"
88
license "Apache-2.0"
9-
revision 12
9+
revision 13
1010

1111
bottle do
12-
rebuild 1
13-
sha256 cellar: :any, arm64_sequoia: "e24e8e23188a71cf3c9fc2cdc882e8df121d6c57a5b7d1b497325f036d90abcb"
14-
sha256 cellar: :any, arm64_sonoma: "7011df43f337e962f6096289d2977f647abaaaac574a9cdfaecafffa98686776"
15-
sha256 cellar: :any, arm64_ventura: "73a811fd6b38dad68a34a4d10cbac9eab2eac2d33ec2a83fe7f65964d60ac66c"
16-
sha256 cellar: :any, sonoma: "4bd60cdcc4352090c6bddbe71b1aa59ecc165aed2589e04b100529c86e706960"
17-
sha256 cellar: :any, ventura: "41a3d7953cf04002d66e9000949ed920d7e0a7a58a63b536141fb368518efb61"
18-
sha256 cellar: :any_skip_relocation, arm64_linux: "9a385d849ae4408eac7b94ebbb160a9c6437f41b278a041586472a29bf372fa6"
19-
sha256 cellar: :any_skip_relocation, x86_64_linux: "4a98218b3ca5c8416ebfcabe5f1aaa3cc6a6a57aa6e94b7e3e8df0ab596ca4e2"
12+
sha256 cellar: :any, arm64_sequoia: "db20ed00c7f28d1884e5532dc0438ca59540790898fdbaf1c58c1eef36bd632d"
13+
sha256 cellar: :any, arm64_sonoma: "628f8550d5cc8827feaf871741a8deee69da3e65417cbea153bbc527f9c46515"
14+
sha256 cellar: :any, arm64_ventura: "f2c5752758f3ce00735b23615e30592e2a82eee38852b20f51b39272c54f4d1e"
15+
sha256 cellar: :any, sonoma: "05ddb46cbe9fda4c3e515a497bf94a80217e3b2fdc9a23831840ba2f89c2d718"
16+
sha256 cellar: :any, ventura: "5ffa755152d082223726bcd875552ba15fa6bff72c39f9c9b79e6040c5f00878"
17+
sha256 cellar: :any_skip_relocation, arm64_linux: "1ddd6bf34a9d009f71f6bf92e2954356e82b94e803c217e0e1dd85d8f36f3d43"
18+
sha256 cellar: :any_skip_relocation, x86_64_linux: "c32a6bd8f4646c852a5155ba5609308687042831becd2410595e598604c9d303"
2019
end
2120

22-
depends_on "cython" => :build # TODO: remove with newer `pglast` (4.4+)
2321
depends_on "rust" => :build # for pydantic
2422
depends_on "certifi"
2523
depends_on "cryptography"
2624
depends_on "libpq" # for psycopg2-binary
2725
depends_on "openssl@3"
2826
depends_on "[email protected]"
2927

30-
# Manually update `pglast` from ==3.4 to support python 3.11
31-
# https://github.com/splitgraph/sgr/pull/814
32-
3328
resource "annotated-types" do
3429
url "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz"
3530
sha256 "aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"
@@ -51,8 +46,8 @@ class Sgr < Formula
5146
end
5247

5348
resource "attrs" do
54-
url "https://files.pythonhosted.org/packages/fc/0f/aafca9af9315aee06a89ffde799a10a582fe8de76c563ee80bbcdc08b3fb/attrs-24.2.0.tar.gz"
55-
sha256 "5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346"
49+
url "https://files.pythonhosted.org/packages/5a/b0/1367933a8532ee6ff8d63537de4f1177af4bff9f3e829baf7331f595bb24/attrs-25.3.0.tar.gz"
50+
sha256 "75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b"
5651
end
5752

5853
resource "chardet" do
@@ -61,8 +56,8 @@ class Sgr < Formula
6156
end
6257

6358
resource "charset-normalizer" do
64-
url "https://files.pythonhosted.org/packages/f2/4f/e1808dc01273379acc506d18f1504eb2d299bd4131743b9fc54d7be4df1e/charset_normalizer-3.4.0.tar.gz"
65-
sha256 "223217c3d4f82c3ac5e29032b3f1c2eb0fb591b72161f86d93f5719079dae93e"
59+
url "https://files.pythonhosted.org/packages/e4/33/89c2ced2b67d1c2a61c19c6751aa8902d46ce3dacb23600a283619f5a12d/charset_normalizer-3.4.2.tar.gz"
60+
sha256 "5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63"
6661
end
6762

6863
resource "click" do
@@ -91,8 +86,8 @@ class Sgr < Formula
9186
end
9287

9388
resource "joblib" do
94-
url "https://files.pythonhosted.org/packages/64/33/60135848598c076ce4b231e1b1895170f45fbcaeaa2c9d5e38b04db70c35/joblib-1.4.2.tar.gz"
95-
sha256 "2382c5816b2636fbd20a09e0f4e9dad4736765fdfb7dca582943b9c1366b3f0e"
89+
url "https://files.pythonhosted.org/packages/30/08/8bd4a0250247861420a040b33ccf42f43c426ac91d99405374ef117e5872/joblib-1.5.0.tar.gz"
90+
sha256 "d8757f955389a3dd7a23152e43bc297c2e0c2d3060056dad0feefc88a06939b5"
9691
end
9792

9893
resource "jsonschema" do
@@ -101,18 +96,18 @@ class Sgr < Formula
10196
end
10297

10398
resource "jsonschema-specifications" do
104-
url "https://files.pythonhosted.org/packages/10/db/58f950c996c793472e336ff3655b13fbcf1e3b359dcf52dcf3ed3b52c352/jsonschema_specifications-2024.10.1.tar.gz"
105-
sha256 "0f38b83639958ce1152d02a7f062902c41c8fd20d558b0c34344292d417ae272"
99+
url "https://files.pythonhosted.org/packages/bf/ce/46fbd9c8119cfc3581ee5643ea49464d168028cfb5caff5fc0596d0cf914/jsonschema_specifications-2025.4.1.tar.gz"
100+
sha256 "630159c9f4dbea161a6a2205c3011cc4f18ff381b189fff48bb39b9bf26ae608"
106101
end
107102

108103
resource "minio" do
109-
url "https://files.pythonhosted.org/packages/92/76/f05b7398835c17cc7f03817ebe5dd3421323664c6e2477dd8c33638ddd3e/minio-7.2.9.tar.gz"
110-
sha256 "a83c2fcd981944602a8dc11e8e07543ed9cda0a9462264e3f46a13171c56bccb"
104+
url "https://files.pythonhosted.org/packages/9e/68/86a1cef80396e6a35a6fc4fafee5d28578c1a137bddd3ca2aa86f9b26a22/minio-7.2.15.tar.gz"
105+
sha256 "5247df5d4dca7bfa4c9b20093acd5ad43e82d8710ceb059d79c6eea970f49f79"
111106
end
112107

113108
resource "packaging" do
114-
url "https://files.pythonhosted.org/packages/51/65/50db4dda066951078f0a96cf12f4b9ada6e4b811516bf0262c0f4f7064d4/packaging-24.1.tar.gz"
115-
sha256 "026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"
109+
url "https://files.pythonhosted.org/packages/a1/d4/1fc4078c65507b51b96ca8f8c3ba19e6a61c8253c72794544580a7b6c24d/packaging-25.0.tar.gz"
110+
sha256 "d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f"
116111
end
117112

118113
resource "parsimonious" do
@@ -121,8 +116,8 @@ class Sgr < Formula
121116
end
122117

123118
resource "pglast" do
124-
url "https://files.pythonhosted.org/packages/dc/1f/35e26fb6ac645f16c99d720624b69aee94bd284e15e6878b9f759bbf08b0/pglast-3.18.tar.gz"
125-
sha256 "1703d5bde8f21f9d54e1bc20ff61aa0d64b490b3d27a2a8dce34940dc39a703c"
119+
url "https://files.pythonhosted.org/packages/cd/09/12807f704dfc3afc2bab151ead20edb6cb34a673416042f2ba5f0d6f6606/pglast-7.7.tar.gz"
120+
sha256 "5dfbfc1fa39819643a3b915a13668e43bbd6c0b014aadf5d0b4309e860bacbb0"
126121
end
127122

128123
resource "psycopg2-binary" do
@@ -131,23 +126,23 @@ class Sgr < Formula
131126
end
132127

133128
resource "pycryptodome" do
134-
url "https://files.pythonhosted.org/packages/13/52/13b9db4a913eee948152a079fe58d035bd3d1a519584155da8e786f767e6/pycryptodome-3.21.0.tar.gz"
135-
sha256 "f7787e0d469bdae763b876174cf2e6c0f7be79808af26b1da96f1a64bcf47297"
129+
url "https://files.pythonhosted.org/packages/8e/a6/8452177684d5e906854776276ddd34eca30d1b1e15aa1ee9cefc289a33f5/pycryptodome-3.23.0.tar.gz"
130+
sha256 "447700a657182d60338bab09fdb27518f8856aecd80ae4c6bdddb67ff5da44ef"
136131
end
137132

138133
resource "pydantic" do
139-
url "https://files.pythonhosted.org/packages/a9/b7/d9e3f12af310e1120c21603644a1cd86f59060e040ec5c3a80b8f05fae30/pydantic-2.9.2.tar.gz"
140-
sha256 "d155cef71265d1e9807ed1c32b4c8deec042a44a50a4188b25ac67ecd81a9c0f"
134+
url "https://files.pythonhosted.org/packages/77/ab/5250d56ad03884ab5efd07f734203943c8a8ab40d551e208af81d0257bf2/pydantic-2.11.4.tar.gz"
135+
sha256 "32738d19d63a226a52eed76645a98ee07c1f410ee41d93b4afbfa85ed8111c2d"
141136
end
142137

143138
resource "pydantic-core" do
144-
url "https://files.pythonhosted.org/packages/e2/aa/6b6a9b9f8537b872f552ddd46dd3da230367754b6f707b8e1e963f515ea3/pydantic_core-2.23.4.tar.gz"
145-
sha256 "2584f7cf844ac4d970fba483a717dbe10c1c1c96a969bf65d61ffe94df1b2863"
139+
url "https://files.pythonhosted.org/packages/ad/88/5f2260bdfae97aabf98f1778d43f69574390ad787afb646292a638c923d4/pydantic_core-2.33.2.tar.gz"
140+
sha256 "7cb8bc3605c29176e1b105350d2e6474142d7c1bd1d9327c4a9bdb46bf827acc"
146141
end
147142

148143
resource "referencing" do
149-
url "https://files.pythonhosted.org/packages/99/5b/73ca1f8e72fff6fa52119dbd185f73a907b1989428917b24cff660129b6d/referencing-0.35.1.tar.gz"
150-
sha256 "25b42124a6c8b632a425174f24087783efb348a6f1e0008e63cd4466fedf703c"
144+
url "https://files.pythonhosted.org/packages/2f/db/98b5c277be99dd18bfd91dd04e1b759cad18d1a338188c936e92f921c7e2/referencing-0.36.2.tar.gz"
145+
sha256 "df2e89862cd09deabbdba16944cc3f10feb6b3e6f18e902f7cc25609a34775aa"
151146
end
152147

153148
resource "requests" do
@@ -156,8 +151,8 @@ class Sgr < Formula
156151
end
157152

158153
resource "rpds-py" do
159-
url "https://files.pythonhosted.org/packages/55/64/b693f262791b818880d17268f3f8181ef799b0d187f6f731b1772e05a29a/rpds_py-0.20.0.tar.gz"
160-
sha256 "d72a210824facfdaf8768cf2d7ca25a042c30320b3020de2fa04640920d4e121"
154+
url "https://files.pythonhosted.org/packages/8c/a6/60184b7fc00dd3ca80ac635dd5b8577d444c57e8e8742cecabfacb829921/rpds_py-0.25.1.tar.gz"
155+
sha256 "8960b6dac09b62dac26e75d7e2c4a22efb835d827a7278c34f72b2b84fa160e3"
161156
end
162157

163158
resource "ruamel-yaml" do
@@ -166,13 +161,13 @@ class Sgr < Formula
166161
end
167162

168163
resource "setuptools" do
169-
url "https://files.pythonhosted.org/packages/07/37/b31be7e4b9f13b59cde9dcaeff112d401d49e0dc5b37ed4a9fc8fb12f409/setuptools-75.2.0.tar.gz"
170-
sha256 "753bb6ebf1f465a1912e19ed1d41f403a79173a9acf66a42e7e6aec45c3c16ec"
164+
url "https://files.pythonhosted.org/packages/8d/d2/ec1acaaff45caed5c2dedb33b67055ba9d4e96b091094df90762e60135fe/setuptools-80.8.0.tar.gz"
165+
sha256 "49f7af965996f26d43c8ae34539c8d99c5042fbff34302ea151eaa9c207cd257"
171166
end
172167

173168
resource "six" do
174-
url "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz"
175-
sha256 "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"
169+
url "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz"
170+
sha256 "ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"
176171
end
177172

178173
resource "sodapy" do
@@ -191,18 +186,23 @@ class Sgr < Formula
191186
end
192187

193188
resource "tqdm" do
194-
url "https://files.pythonhosted.org/packages/58/83/6ba9844a41128c62e810fddddd72473201f3eacde02046066142a2d96cc5/tqdm-4.66.5.tar.gz"
195-
sha256 "e1020aef2e5096702d8a025ac7d16b1577279c9d63f8375b63083e9a5f0fcbad"
189+
url "https://files.pythonhosted.org/packages/a8/4b/29b4ef32e036bb34e4ab51796dd745cdba7ed47ad142a9f4a1eb8e0c744d/tqdm-4.67.1.tar.gz"
190+
sha256 "f8aef9c52c08c13a65f30ea34f4e5aac3fd1a34959879d7e59e63027286627f2"
196191
end
197192

198193
resource "typing-extensions" do
199-
url "https://files.pythonhosted.org/packages/df/db/f35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557/typing_extensions-4.12.2.tar.gz"
200-
sha256 "1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"
194+
url "https://files.pythonhosted.org/packages/f6/37/23083fcd6e35492953e8d2aaaa68b860eb422b34627b13f2ce3eb6106061/typing_extensions-4.13.2.tar.gz"
195+
sha256 "e6c81219bd689f51865d9e372991c540bda33a0379d5573cddb9a3a23f7caaef"
196+
end
197+
198+
resource "typing-inspection" do
199+
url "https://files.pythonhosted.org/packages/f8/b1/0c11f5058406b3af7609f121aaa6b609744687f1d158b3c3a5bf4cc94238/typing_inspection-0.4.1.tar.gz"
200+
sha256 "6ae134cc0203c33377d43188d4064e9b357dba58cff3185f22924610e70a9d28"
201201
end
202202

203203
resource "urllib3" do
204-
url "https://files.pythonhosted.org/packages/ed/63/22ba4ebfe7430b76388e7cd448d5478814d3032121827c12a2cc287e2260/urllib3-2.2.3.tar.gz"
205-
sha256 "e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9"
204+
url "https://files.pythonhosted.org/packages/8a/78/16493d9c386d8e60e442a35feac5e00f0913c0f4b7c217c11e8ec2ff53e0/urllib3-2.4.0.tar.gz"
205+
sha256 "414bc6535b787febd7567804cc015fee39daab8ad86268f1310a9250697de466"
206206
end
207207

208208
# Switch build-system to poetry-core to avoid rust dependency on Linux.
@@ -213,11 +213,11 @@ class Sgr < Formula
213213
end
214214

215215
def install
216-
# TODO: remove with newer `pglast` (4.4+)
217-
ENV.append_path "PYTHONPATH", Formula["cython"].opt_libexec/Language::Python.site_packages("python3.13")
216+
# Fix to allow newer `pglast`
217+
# PR ref: https://github.com/splitgraph/sgr/pull/814
218+
inreplace "pyproject.toml", 'version = "==3.4"', 'version = ">=3.4"'
218219

219220
virtualenv_install_with_resources start_with: "setuptools"
220-
221221
generate_completions_from_executable(bin/"sgr", shells: [:fish, :zsh], shell_parameter_format: :click)
222222
end
223223

0 commit comments

Comments
 (0)