Commit 7d6dd70
committed
fix: set PYTHONPATH at job level so all steps can import build_backend
Step-level env only applies to a single step. uv sync passed but uv build
and tox steps still failed with ModuleNotFoundError: No module named build_backend.
Moving PYTHONPATH to job-level env ensures it is available for all steps:
uv sync, uv build, tox, and any future steps that invoke the build backend.
Also fix docstring example in build_backend.py to include packaging in
build-system.requires, matching what the packages actually declare.1 parent db4c89b commit 7d6dd70
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
108 | | - | |
109 | | - | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments