Commit 87b510f
committed
Create relenv toolchain symlink in GitHub Actions
Python's sysconfig has hardcoded paths expecting toolchains at
~/.local/relenv/toolchain/, but relenv extracts them to
~/.cache/relenv/toolchains/. When pip builds packages with C extensions
like timelib, the build fails with 'gcc command failed: No such file or
directory' because it can't find the compiler at the sysconfig path.
This adds a workflow step to create the symlink after decompressing
dependencies, matching what we do in local container setups.
Fixes functional/integration test failures on Python 3.11+ when tests
create virtualenvs and install requirements that need compilation.1 parent 4354e88 commit 87b510f
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
224 | 231 | | |
225 | 232 | | |
226 | 233 | | |
| |||
555 | 562 | | |
556 | 563 | | |
557 | 564 | | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
558 | 572 | | |
559 | 573 | | |
560 | 574 | | |
| |||
0 commit comments