jw-pkg/src/python/jw
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 7af9a705d7
cmds.projects.CmdBuild: Sort build order
The build order printed by projects build is not reproducible:
calculate_order() picks the next module by iterating all_deps, a set, so
the order among modules that are ready at the same time depends on the hash
seed of the Python process, and two runs of the same invocation can print
different orders.

Select the next module from the sorted set instead. The order stays
topologically valid, and is now identical across runs and hash seeds. Sort
the unresolvable-dependency error message the same way, so that it is
stable, too.

Signed-off-by: Jan Lindemann <jan@janware.com>
Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.86.1
2026-09-22 09:07:26 +02:00
..
pkg cmds.projects.CmdBuild: Sort build order 2026-09-22 09:07:26 +02:00
__init__.py jw.pkg: Fix "make check" static code check fallout 2026-05-31 18:20:38 +02:00
Makefile py-ns-dir.mk: Support __init__.py generation 2026-09-05 13:39:51 +02:00