Commit 83ea464
authored
Switch to
This is a follow-up of:
- #21692
... where a review comment rightfully suggested that:
> Instead, we should run a normal single-arch Python distribution where
> everything will just work by default and we can remove the renaming
> logic. The source of distributions should be the
> [python-build-standalone](https://github.com/astral-sh/python-build-standalone)
> project which the makers of UV recently adopted. They are used by
> everyone nowadays, even
> [rules_python](https://github.com/bazel-contrib/rules_python/blob/cf594f780c91f13d48e77faad34df48ac57398da/python/versions.bzl#L29).
The present change aims at embracing the above-recommended approach,
which looks indeed promising because the need for bundling targeted
architectures is then addressed without additional environment
variables, while still allowing `delocate_wheel` to verify architecture
requirements.
Also, the PBS distribution happens to be pretty lightweight (16MB vs
71MB).Python Build Standalone for macOS wheels (#21716)1 parent 6d8718a commit 83ea464
2 files changed
+13
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 127 | | |
131 | 128 | | |
132 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
209 | 211 | | |
210 | | - | |
211 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
212 | 216 | | |
213 | | - | |
214 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
215 | 224 | | |
216 | 225 | | |
217 | 226 | | |
| |||
0 commit comments