Build and packaging library
  • Python 50.6%
  • Makefile 36.1%
  • Shell 13.3%
Find a file
Jan Lindemann 7820fde4e6
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m17s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m9s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m19s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m59s
CI / Packaging test (push) Successful in 0s
test: Fix test.py duplicate module name error

Mypy scans both src/python/ and test/ under the same jw namespace, and finds three test files named test.py. Without a package root at the test/ level, mypy resolves all of them to the bare module name test, and rejects them as duplicates.

Add __init__.py at test/ marks it as a package root, so each test.py resolves to a unique full path, e.g.

test.unit.python.jw.pkg.lib.Result.test

Assisted-by: unsloth/Qwen3.6-35B-A3B-GGUF:IQ4_NL with pi.dev v0.80.2
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-07-04 07:35:17 +02:00
.github/workflows ci.yaml: test-packaging.yaml@{master-test -> master} 2026-06-08 19:43:15 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf conf/templates: Fix installation 2026-06-11 13:30:43 +02:00
make py-test.mk: Generate conftest.py 2026-07-02 19:52:35 +02:00
scripts py-test.mk: Generate conftest.py 2026-07-02 19:52:35 +02:00
src lib.Distro: Fix typo instaniate to instantiate 2026-07-04 07:29:11 +02:00
test test: Fix test.py duplicate module name error 2026-07-04 07:35:17 +02:00
.gitignore test: Add subdirectory with integration test 2026-06-25 14:40:53 +02:00
HASH Release 1.0.0-246@suse-tumbleweed/x86_64 2026-07-02 23:28:31 +00:00
Makefile $(TOPDIR)/Makefile: include py-topdir.mk 2026-05-31 18:20:35 +02:00
RELEASES Release 1.0.0-246@suse-tumbleweed/x86_64 2026-07-02 23:28:31 +00:00
VERSION Start version: 1.0.0-246 2026-07-02 23:09:40 +00:00