jw-pkg/src/python/jw
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 023f4b17d7
cmds.projects.lib.pkg_relations(): Skip excluded modules
The [build] exclude list names platforms (OS cascade entries) on which a
project's build is excluded, not projects. pkg_relations() implements
--skip-excluded by walking the seeds' exclude values as if they were
project specs, so a value such as "debian" is visited as a project, the
installed-package check fails with "Unmet dependency on debian: the -run
package of project debian is not installed", and `make
pkg-install-testbuild-deps` breaks.

Implement the flag's documented semantics using
App.is_excluded_from_build(): an excluded seed is neither considered nor
output, an excluded module in the dependency closure contributes no
dependencies, and excluded modules are not output as jw dependencies. This
matches what required-os-pkg already does.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.87.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-09-23 17:35:58 +02:00
..
pkg cmds.projects.lib.pkg_relations(): Skip excluded modules 2026-09-23 17:35:58 +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