Commit b4910f0
authored
rewrite R2 publishing in Python (#1051)
This rips out the mirror uploading logic from the `pythonbuild` rust CLI
and moves it to Python, mainly because the rust aws sdk is clearly not
mature enough to support our use case, as evidenced by
#1047
I've also had to start using `--no-dev` on some existing `uv run`
invocations because `moto` wouldn't cleanly install in some build jobs
(like when building CPython for Windows).
## Test plan
Apart from unit tests, there's now an integration test with a local,
mocked S3 provider (using `moto`).
Dry run release on this branch:
https://github.com/astral-sh/python-build-standalone/actions/runs/235507423761 parent 77c46f1 commit b4910f0
File tree
15 files changed
+2051
-1433
lines changed- .github/workflows
- docs
- pythonbuild
- src
- tests
15 files changed
+2051
-1433
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
0 commit comments