Debian Patches

Status for kicad-library-utils/0.0~git20260626.e475dff-1

Patch Description Author Forwarded Bugs Origin Last update
0001-test_symbol-split-symbols-which-contain-two-symbols.patch test_symbol: split symbols which contain two symbols
The kicad_symdir test format requires exactly one top level symbol per
.kicad_sym file. This is enforced by KicadLibrary.from_dir. Two S6.1
Pass fixtures were exported from KiCad as two symbol libraries:

Pass__S6.1__CorrectRD.kicad_sym
Pass__S6.1__CorrectReferenceValue.kicad_sym

This caused the whole CI_Test_S6.x.kicad_symdir to fail to load and
silently skipping every S6.1 and S6.2 unit test. As the parse error
does not affect the process exit code it went unnoticed.

Remove the extra (misnamed `Pass__...Wrong...`) symbol from each file.
No coverage is lost as the corresponding failing cases now exist as
dedicated `Fail__S6.1__WrongRD.kicad_sym` and
`Fail__S6.1__WrongReferenceValue.kicad_sym` fixtures.
Christopher Obbard <obbardc@debian.org> yes 2026-06-29
0002-Set-executable-bit-on-scripts-that-have-a-shebang.patch Set executable bit on scripts that have a shebang
A number of scripts begin with a `#!/usr/bin/env python3` (or similar)
shebang line and are intended to be run directly, but were committed
to the repository without the executable bit set. Their sibling scripts
in the same directories are executable. Mark every such script executable
so that they can be ran in place.
Christopher Obbard <obbardc@debian.org> yes 2026-06-29
0003-from_csv_generator-fix-crash-on-CSV-without-optional.patch from_csv_generator: fix crash on CSV without optional metadata
The Metadata parser converted the optional generator_split_pin_names and
generator_min_aspect_ratio fields with `int(data.get(key) or "None")`.
When the key wasn't present it fed the literal string "None" into int()/
float() which raised "ValueError: invalid literal for int() with base 10:
'None'" instead of leaving the field as None as its `int | None` /
`float | None` type annotation intends.

Read each value first and only convert it when present, otherwise store
None. Generating a symbol from a CSV that omits these keys (e.g.
`BQ24004-example.csv`) now succeeds.
Christopher Obbard <obbardc@debian.org> yes 2026-06-29

All known versions for source package 'kicad-library-utils'

Links