Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b1bce70

Browse files
committed
Adds latest versions and hashes of uv releases
- Also provides a Python script in the tools directory that I used to pull the latest releases and update the file - Also provides unit tests for the Python script. - Updates changelog.
1 parent f4fde65 commit b1bce70

File tree

4 files changed

+870
-1
lines changed

4 files changed

+870
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,16 @@ Unreleased changes template.
5757
{#v0-0-0-fixed}
5858
### Fixed
5959
* (pypi) The `ppc64le` is now pointing to the right target in the `platforms` package.
60-
* (gazelle) No longer incorrectly merge `py_binary` targets during partial updates in
60+
* (gazelle) No longer incorrectly merge `py_binary` targets during partial updates in
6161
`file` generation mode. Fixed in [#2619](https://github.com/bazelbuild/rules_python/pull/2619).
6262
* (bzlmod) Running as root is no longer an error. `ignore_root_user_error=True`
6363
is now the default. Note that running as root may still cause spurious
6464
Bazel cache invalidation
6565
([#1169](https://github.com/bazelbuild/rules_python/issues/1169)).
6666
* (gazelle) Don't collapse depsets to a list or into args when generating the modules mapping file.
6767
Support spilling modules mapping args into a params file.
68+
* (uv) Adds support for versions 0.5.26 through 0.6.3 and a maintenance script
69+
for future releases. Fixed in [#2647](https://github.com/bazelbuild/rules_python/pull/2647).
6870

6971
{#v0-0-0-added}
7072
### Added

python/uv/private/versions.bzl

Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,236 @@ UV_PLATFORMS = {
6868

6969
# From: https://github.com/astral-sh/uv/releases
7070
UV_TOOL_VERSIONS = {
71+
"0.6.3": {
72+
"aarch64-apple-darwin": struct(
73+
sha256 = "51b84818bbfe08358a298ba3389c6d448d3ddc0f2601a2d63c5a62cb7b704062",
74+
),
75+
"aarch64-unknown-linux-gnu": struct(
76+
sha256 = "447726788204106ffd8ecc59396fccc75fae7aca998555265b5ea6950b00160c",
77+
),
78+
"powerpc64le-unknown-linux-gnu": struct(
79+
sha256 = "e41eec560bd166f5bd155772ef120ec7220a80dcb4b70e71d8f4781276c5d102",
80+
),
81+
"s390x-unknown-linux-gnu": struct(
82+
sha256 = "2c3c03d95c20adb2e521efaeddf6f9947c427c5e8140e38585595f3c947cebed",
83+
),
84+
"x86_64-apple-darwin": struct(
85+
sha256 = "a675d2d0fcf533f89f4b584bfa8ee3173a1ffbc87d9d1d48fcc3abb8c55d946d",
86+
),
87+
"x86_64-pc-windows-msvc": struct(
88+
sha256 = "40b50b3da3cf74dc5717802acd076b4669b6d7d2c91c4482875b4e5e46c62ba3",
89+
),
90+
"x86_64-unknown-linux-gnu": struct(
91+
sha256 = "b7a37a33d62cb7672716c695226450231e8c02a8eb2b468fa61cd28a8f86eab2",
92+
),
93+
},
94+
"0.6.2": {
95+
"aarch64-apple-darwin": struct(
96+
sha256 = "4af802a1216053650dd82eee85ea4241994f432937d41c8b0bc90f2639e6ae14",
97+
),
98+
"aarch64-unknown-linux-gnu": struct(
99+
sha256 = "ca4c08724764a2b6c8f2173c4e3ca9dcde0d9d328e73b4d725cfb6b17a925eed",
100+
),
101+
"powerpc64le-unknown-linux-gnu": struct(
102+
sha256 = "f341fd4874d2d007135626a0657d1478f331a78991d8a1a06aaa0d52fbe16183",
103+
),
104+
"s390x-unknown-linux-gnu": struct(
105+
sha256 = "17fd89bd8de75da9c91baf918b8079c1f1f92bb6a398f0cfbc5ddefe0c7f0ee5",
106+
),
107+
"x86_64-apple-darwin": struct(
108+
sha256 = "2b9e78b2562aea93f13e42df1177cb07c59a4d4f1c8ff8907d0c31f3a5e5e8db",
109+
),
110+
"x86_64-pc-windows-msvc": struct(
111+
sha256 = "5f33c3cc5c183775cc51b3e661a0d2ce31142d32a50406a67c7ad0321fc841d9",
112+
),
113+
"x86_64-unknown-linux-gnu": struct(
114+
sha256 = "37ea31f099678a3bee56f8a757d73551aad43f8025d377a8dde80dd946c1b7f2",
115+
),
116+
},
117+
"0.6.1": {
118+
"aarch64-apple-darwin": struct(
119+
sha256 = "90e10cc7f26cbaf3eaa867cf99344ffd550e942fd4b660e88f2f91c23022dc5a",
120+
),
121+
"aarch64-unknown-linux-gnu": struct(
122+
sha256 = "f355989fb5ecf47c9f9087a0b21e2ee7d7c802bc3d0cf6edae07560d4297751f",
123+
),
124+
"powerpc64le-unknown-linux-gnu": struct(
125+
sha256 = "becf4913112c475b2713df01a8c0536b38dc2c48f04b1d603cd6f0a74f88caa2",
126+
),
127+
"s390x-unknown-linux-gnu": struct(
128+
sha256 = "ee687d56ba1e359a7a2e20e301b992b83882df5ffb1409d301e1b0d21b3fa16a",
129+
),
130+
"x86_64-apple-darwin": struct(
131+
sha256 = "d8609b53f280d5e784a7586bf7a3fd90c557656af109cee8572b24a0c1443191",
132+
),
133+
"x86_64-pc-windows-msvc": struct(
134+
sha256 = "32de1730597db0a7c5f34e2257ab491b660374b22c016c3d9a59ae279d837697",
135+
),
136+
"x86_64-unknown-linux-gnu": struct(
137+
sha256 = "0dcad9831d3f10f3bc4dcd7678948dfc74c0b3ab3f07aa684eb9e5135b971a58",
138+
),
139+
},
140+
"0.6.0": {
141+
"aarch64-apple-darwin": struct(
142+
sha256 = "ff4f1ec24a3adb3dd251f9523e4b7a7cba379e9896ae6ed1efa163fcdcd6af8a",
143+
),
144+
"aarch64-unknown-linux-gnu": struct(
145+
sha256 = "47fa7ada7352f69a5efd19628b86b83c0bbda34541de3a4254ba75a188414953",
146+
),
147+
"powerpc64le-unknown-linux-gnu": struct(
148+
sha256 = "d782751a6ec8a0775aa57087275225b6562a115004c1f41935bec1609765508d",
149+
),
150+
"s390x-unknown-linux-gnu": struct(
151+
sha256 = "664f4165767a0cd808d1784d1d70243da4789024ec5cd779a861201b54a479b7",
152+
),
153+
"x86_64-apple-darwin": struct(
154+
sha256 = "530ef3b6f563448e8e017a8cd6693d6c72c146fb0a3c43440bb0e93fcf36264f",
155+
),
156+
"x86_64-pc-windows-msvc": struct(
157+
sha256 = "65836dae55d3a63e5fc1d51ae52e6ea175aaab1c82c4a6660d46462b27d19c2a",
158+
),
159+
"x86_64-unknown-linux-gnu": struct(
160+
sha256 = "1a26ce241f7ff1f52634d869f86db533fffba21e528597029ee9d1423bf3df18",
161+
),
162+
},
163+
"0.5.31": {
164+
"aarch64-apple-darwin": struct(
165+
sha256 = "396c9bd6acd98466fdb585da2ed040eecea15228e580d4bd649c09215b490bf9",
166+
),
167+
"aarch64-unknown-linux-gnu": struct(
168+
sha256 = "e7f358efb0718bd8f98dc0c29fd0902323b590381ca765537063a2ca23ed34c7",
169+
),
170+
"powerpc64le-unknown-linux-gnu": struct(
171+
sha256 = "e292dc0a7b23fab01bbf2b6fdddf8bb0c531805b1dbc3905637af70a88ff1f5f",
172+
),
173+
"s390x-unknown-linux-gnu": struct(
174+
sha256 = "66232646bd15a38cf6877c6af6bf8668fadb2af910d7cf7a1159885487a15e70",
175+
),
176+
"x86_64-apple-darwin": struct(
177+
sha256 = "5316b82da14fab9a76b3521c901e7c0a7d641fb9d28eb07874e26a00b0ac2725",
178+
),
179+
"x86_64-pc-windows-msvc": struct(
180+
sha256 = "1ad54dace424c259b603ecd36262cb235af2bc8d6f280e24063d57919545f593",
181+
),
182+
"x86_64-unknown-linux-gnu": struct(
183+
sha256 = "017ce7ed02c967f1b0489f09162e19ee3df4586a44e681211d16206e007fce62",
184+
),
185+
},
186+
"0.5.30": {
187+
"aarch64-apple-darwin": struct(
188+
sha256 = "654c3e010c9c53b024fa752d08b949e0f80f10ec4e3a1acea9437a1d127a1053",
189+
),
190+
"aarch64-unknown-linux-gnu": struct(
191+
sha256 = "d1ea4a2299768b2c8263db0abd8ea0de3b8052a34a51f5cf73094051456d4de2",
192+
),
193+
"powerpc64le-unknown-linux-gnu": struct(
194+
sha256 = "b10ba261377f89e598322f3329beeada6b868119581e2a7294e7585351d3733f",
195+
),
196+
"s390x-unknown-linux-gnu": struct(
197+
sha256 = "7341e6d62b0e02fbd33fe6ce0158e9f68617f43e5ec42fc6904d246bda5f6d34",
198+
),
199+
"x86_64-apple-darwin": struct(
200+
sha256 = "42c4a5d3611928613342958652ab16943d05980b1ab5057bb47e4283ef7e890d",
201+
),
202+
"x86_64-pc-windows-msvc": struct(
203+
sha256 = "43d6b97d2e283f6509a9199fd32411d67a64d5b5dca3e6e63e45ec2faec68f73",
204+
),
205+
"x86_64-unknown-linux-gnu": struct(
206+
sha256 = "9d82816c14c44054f0c679f2bcaecfd910c75f207e08874085cb27b482f17776",
207+
),
208+
},
209+
"0.5.29": {
210+
"aarch64-apple-darwin": struct(
211+
sha256 = "c89e96bde40402cc4db2f59bcb886882ab69e557235279283a2db9dea61135c3",
212+
),
213+
"aarch64-unknown-linux-gnu": struct(
214+
sha256 = "d1f716e8362d7da654a154b8331054a987c1fc16562bd719190a42458e945785",
215+
),
216+
"powerpc64le-unknown-linux-gnu": struct(
217+
sha256 = "0e38436e4068eec23498f88a5c1b721411986e6a983f243680a60b716b7c301c",
218+
),
219+
"s390x-unknown-linux-gnu": struct(
220+
sha256 = "6a42886dd10c6437a1a56982cd0c116d063f05483aa7db1cc0343f705ef96f91",
221+
),
222+
"x86_64-apple-darwin": struct(
223+
sha256 = "2f13ef5a82b91ba137fd6441f478c406a0a8b0df41e9573d1e61551a1de5a3a2",
224+
),
225+
"x86_64-pc-windows-msvc": struct(
226+
sha256 = "2453b17df889822a5b8dcd3467dd6b75a410d61f5e6504362e3852fb3175c19c",
227+
),
228+
"x86_64-unknown-linux-gnu": struct(
229+
sha256 = "46d3fcf04d64be42bded914d648657cd62d968172604e3aaf8386142c09d2317",
230+
),
231+
},
232+
"0.5.28": {
233+
"aarch64-apple-darwin": struct(
234+
sha256 = "57cbf655a5bc5c1ffa7315c0b25ff342f44a919fa099311c0d994914011b421e",
235+
),
236+
"aarch64-unknown-linux-gnu": struct(
237+
sha256 = "fe3c481940c5542d034a863239f23d64ee45abcd636c480c1ea0f34469a66c86",
238+
),
239+
"powerpc64le-unknown-linux-gnu": struct(
240+
sha256 = "74bc6aacea26c67305910bcbe4b6178b96fefe643b2002567cc094ad2c209ef1",
241+
),
242+
"s390x-unknown-linux-gnu": struct(
243+
sha256 = "b3f49b0268ab971ff7f39ca924fb8291ce3d8ffe8f6c0d7ff16bc12055cd1e85",
244+
),
245+
"x86_64-apple-darwin": struct(
246+
sha256 = "36484907ec1988f1553bdc7de659d8bc0b46b8eaca09b0f67359b116caac170d",
247+
),
248+
"x86_64-pc-windows-msvc": struct(
249+
sha256 = "31053741c49624726d5ce8cb1ab8f5fc267ed0333ab8257450bd71a7c2a68d05",
250+
),
251+
"x86_64-unknown-linux-gnu": struct(
252+
sha256 = "1f2a654627e02fed5f8b883592439b842e74d98091bbafe9e71c7101f4f97d74",
253+
),
254+
},
255+
"0.5.27": {
256+
"aarch64-apple-darwin": struct(
257+
sha256 = "efe367393fc02b8e8609c38bce78d743261d7fc885e5eabfbd08ce881816aea3",
258+
),
259+
"aarch64-unknown-linux-gnu": struct(
260+
sha256 = "7b8175e7370056efa6e8f4c8fec854f3a026c0ecda628694f5200fdf666167fa",
261+
),
262+
"powerpc64le-unknown-linux-gnu": struct(
263+
sha256 = "b63051bdd5392fa6a3d8d98c661b395c62a2a05a0e96ae877047c4c7be1b92ff",
264+
),
265+
"s390x-unknown-linux-gnu": struct(
266+
sha256 = "07377ed611dbf1548f06b65ad6d2bb84f3ff1ccce936ba972d7b7f5492e47d30",
267+
),
268+
"x86_64-apple-darwin": struct(
269+
sha256 = "a75c9d77c90c4ac367690134cd471108c09b95226c62cd6422ca0db8bbea2197",
270+
),
271+
"x86_64-pc-windows-msvc": struct(
272+
sha256 = "195d43f6578c33838523bf4f3c80d690914496592b2946bda8598b8500e744f6",
273+
),
274+
"x86_64-unknown-linux-gnu": struct(
275+
sha256 = "27261ddf7654d4f34ed4600348415e0c30de2a307cc6eff6a671a849263b2dcf",
276+
),
277+
},
278+
"0.5.26": {
279+
"aarch64-apple-darwin": struct(
280+
sha256 = "3b503c630dc65b991502e1d9fe0ffc410ae50c503e8df6d4900f23b9ad436366",
281+
),
282+
"aarch64-unknown-linux-gnu": struct(
283+
sha256 = "6ce061c2f14bf2f0b12c2b7a0f80c65408bf2dcee9743c4fc4ec1f30b85ecb98",
284+
),
285+
"powerpc64le-unknown-linux-gnu": struct(
286+
sha256 = "fe1d770840110b59554228b12382881abefc1ab2d2ca009adc1502179422bc0d",
287+
),
288+
"s390x-unknown-linux-gnu": struct(
289+
sha256 = "086c8d03ee4aff702a32d58086accf971ce58a2f000323414935e0f50e816c04",
290+
),
291+
"x86_64-apple-darwin": struct(
292+
sha256 = "7cf20dd534545a74290a244d3e8244d1010ba38d2d5950f504b6c93fab169f57",
293+
),
294+
"x86_64-pc-windows-msvc": struct(
295+
sha256 = "a938eebb7433eb7097ae1cf3d53f9bb083edd4c746045f284a1c8904af1a1a11",
296+
),
297+
"x86_64-unknown-linux-gnu": struct(
298+
sha256 = "555f17717e7663109104b62976e9da6cfda1ad84213407b437fd9c8f573cc0ef",
299+
),
300+
},
71301
"0.4.25": {
72302
"aarch64-apple-darwin": struct(
73303
sha256 = "bb2ff4348114ef220ca52e44d5086640c4a1a18f797a5f1ab6f8559fc37b1230",
@@ -92,3 +322,4 @@ UV_TOOL_VERSIONS = {
92322
),
93323
},
94324
}
325+

0 commit comments

Comments
 (0)