Commit 56c04ed
fix(julia): drop name/uuid from Project.toml to make it environment-only (#7614)
## Summary
- First impl-generate run for `makie/skewt-logp-atmospheric` ([run
26311670534](https://github.com/MarkusNeusinger/anyplot/actions/runs/26311670534))
failed at the **Setup Julia + Makie** step. All 311 transitive deps
precompiled cleanly, then Julia tried to precompile the project itself
and bailed:
```
ERROR: The following 1 direct dependency failed to precompile: anyplot
Error: Missing source file for Base.PkgId(UUID("5f9c7e1d-…"), "anyplot")
```
- Root cause: `Project.toml` declared `name = "anyplot"` + `uuid = …` +
`version = …`, which makes Julia treat the repo as a *package* and look
for `src/anyplot.jl`. anyplot isn't a Julia package; it just consumes
packages.
- Fix: remove `name`/`uuid`/`authors`/`version`. Turns `Project.toml`
into an *environment-only* project (the standard pattern used by Julia's
own docs/benchmark environments). `[deps]` and `[compat]` stay
untouched, so dep resolution and reproducibility are unchanged.
This was hidden during PR #7613 because the `Setup Julia + Makie`
action's smoke test only runs `using CairoMakie` and `save(...)` — Julia
only attempts to precompile the active project itself when there are
dependents being added to it, which happened on the first real
impl-generate run.
## Test plan
- [ ] CI green
- [ ] After merge: re-trigger `gh workflow run impl-generate.yml -f
specification_id=skewt-logp-atmospheric -f library=makie -f
issue_number=3802` and verify `Setup Julia + Makie` completes past
precompile.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 9e338b4 commit 56c04ed
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 1 | | |
7 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments