@@ -117,91 +117,11 @@ pip.parse(
117
117
)
118
118
use_repo (pip , "pypi" )
119
119
120
- ### UV SETUP
121
- ## todo: this is a lot of setup. Why did I have to copy/paste all this?
122
-
123
- uv = use_extension ("@rules_python//python/uv:uv.bzl" , "uv" )
124
-
125
- # Here is how we can define platforms for the `uv` binaries - this will affect
126
- # all of the downstream callers because we are using the extension without
127
- # `dev_dependency = True`.
128
- uv .default (
129
- base_url = "https://github.com/astral-sh/uv/releases/download" ,
130
- manifest_filename = "dist-manifest.json" ,
131
- version = "0.6.3" ,
132
- )
133
- uv .default (
134
- compatible_with = [
135
- "@platforms//os:macos" ,
136
- "@platforms//cpu:aarch64" ,
137
- ],
138
- platform = "aarch64-apple-darwin" ,
139
- )
140
- uv .default (
141
- compatible_with = [
142
- "@platforms//os:linux" ,
143
- "@platforms//cpu:aarch64" ,
144
- ],
145
- platform = "aarch64-unknown-linux-gnu" ,
146
- )
147
- uv .default (
148
- compatible_with = [
149
- "@platforms//os:linux" ,
150
- "@platforms//cpu:ppc" ,
151
- ],
152
- platform = "powerpc64-unknown-linux-gnu" ,
153
- )
154
- uv .default (
155
- compatible_with = [
156
- "@platforms//os:linux" ,
157
- "@platforms//cpu:ppc64le" ,
158
- ],
159
- platform = "powerpc64le-unknown-linux-gnu" ,
160
- )
161
- uv .default (
162
- compatible_with = [
163
- "@platforms//os:linux" ,
164
- "@platforms//cpu:s390x" ,
165
- ],
166
- platform = "s390x-unknown-linux-gnu" ,
167
- )
168
- uv .default (
169
- compatible_with = [
170
- "@platforms//os:linux" ,
171
- "@platforms//cpu:riscv64" ,
172
- ],
173
- platform = "riscv64-unknown-linux-gnu" ,
174
- )
175
- uv .default (
176
- compatible_with = [
177
- "@platforms//os:macos" ,
178
- "@platforms//cpu:x86_64" ,
179
- ],
180
- platform = "x86_64-apple-darwin" ,
181
- )
182
- uv .default (
183
- compatible_with = [
184
- "@platforms//os:windows" ,
185
- "@platforms//cpu:x86_64" ,
186
- ],
187
- platform = "x86_64-pc-windows-msvc" ,
188
- )
189
- uv .default (
190
- compatible_with = [
191
- "@platforms//os:linux" ,
192
- "@platforms//cpu:x86_64" ,
193
- ],
194
- platform = "x86_64-unknown-linux-gnu" ,
195
- )
196
- use_repo (uv , "uv" )
197
-
198
- register_toolchains ("@uv//:all" )
199
-
200
120
uv_dev = use_extension (
201
121
"@rules_python//python/uv:uv.bzl" ,
202
122
"uv" ,
203
123
dev_dependency = True ,
204
124
)
205
125
uv_dev .configure (
206
- version = "0.6.2 " ,
126
+ version = "0.8.22 " ,
207
127
)
0 commit comments