Commit 143900e
authored
fix: commit wheels to repo for environments without pip (#567)
Reverts the wheel removal from #549. Wheels must be committed to the
repo because:
1. The webpack-bundled pyodide worker cannot use loadPackage from CDN
(Electron worker threads don't support pyodide's package installation)
2. micropip.install from PyPI cannot install cfn-lint because pydantic-core
has no wasm32 wheel for the version aws-sam-translator requires (>=2.12.5
needs pydantic-core>=2.41.5, but only 2.27.2 exists for wasm32)
3. Build environments like the canary don't have pip to run download-wheels
The maintenance workflow keeps these updated weekly.
Wheels are installed with deps=False to bypass the pydantic version
constraint (2.10.6 is API-compatible with what sam-translator needs).1 parent daeda4b commit 143900e
28 files changed
Lines changed: 2 additions & 19 deletions
File tree
- .github/workflows
- assets/wheels
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 37 | + | |
54 | 38 | | |
55 | 39 | | |
56 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments