DFSG NEW Queue

DFSG, Licensing & New Packages Team

python-knx-telegram-store 0.16.0-1

Package Information

DescriptionLibrary for storing and querying KNX telegrams

This library keeps a history of KNX home automation messages in memory or in a SQLite or PostgreSQL database. Queries can filter by source, destination, telegram type, direction, datapoint type and time range, and can include nearby telegrams for context.

The library also reads and writes raw cEMI frames in KNX CommunicationLog XML, the format used by ETS6 group monitor exports and Gira IP router data logger dumps.

MaintainerHome Assistant Team <team+homeassistant@tracker.debian.org>
Changed ByEdward Betts <edward@4angle.com>
Sponsoredward@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/homeassistant-team/deps/python-knx-telegram-store.git (browse)
Closes#1154979
Trackerhttps://tracker.debian.org/pkg/python-knx-telegram-store
Uploaded2 hours ago

New Package Report

.changes◂
Architectureall source
Distributionunstable
DateMon, 23 Nov 2026 08:41:41 +0000
Sourcepython-knx-telegram-store
Version0.16.0-1
Changed-ByEdward Betts <edward@4angle.com>
Changelog◂
python-knx-telegram-store (0.16.0-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1154979)
.dsc◂
Componentmain
Package-Listpython3-knx-telegram-store deb python optional arch=all
Sectionpython
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: knx-telegram-store
Upstream-Contact: Martin Höfling <martin.hoefling@gmx.de>
Source: https://github.com/XKNX/knx-telegram-store

Files: *
Copyright: 2026 Martin Höfling
License: MIT

Files: debian/*
Copyright: 2026 Edward Betts <edward@4angle.com>
License: MIT


License: MIT
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation
 files (the "Software"), to deal in the Software without
 restriction, including without limitation the rights to use,
 copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the
 Software is furnished to do so, subject to the following
 conditions:
 .
 The above copyright notice and this permission notice shall be
 included in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 1 hour ago.

Report◂

DFSG NEW review for python-knx-telegram-store version 0.16.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

The whole tree is MIT: LICENSE names Martin Höfling (2026), README.md, docs/design_and_implementation.md and pyproject.toml agree, and the only other copyright notice in the tree is debian/copyright itself. debian/copyright is DEP-5 with the standard format URL, a Files: * stanza (MIT, Martin Höfling, 2026) and a debian/* stanza (MIT, Edward Betts, 2026), and reproduces the MIT text in full. Every file is plain text written by the upstream project; no vendored third-party code, no non-free terms, no generated-without-source files, so the licence is DFSG-free and the description is accurate and complete.

Packaging

Standard, clean python packaging: compat 14 debhelper with dh-sequence-python3, pybuild and the pyproject plugin, a single Architecture: all binary, test-only dependencies in Build-Depends-Indep with <!nocheck>, Testsuite: autopkgtest-pkg-pybuild, 3.0 (quilt) with no patches, good Vcs-*/Homepage/upstream metadata and a sane changelog. The one gap is that the optional SQLite/PostgreSQL backends need python3-sqlalchemy/python3-aiosqlite/python3-asyncpg, and nothing in the binary package's relationships mentions them; the only hard runtime dependency, python3-defusedxml, is added automatically from Requires-Dist. Minor, not release-blocking.

Issues

minor packaging 1. No Recommends/Suggests for the modules the SQLite and PostgreSQL backends need (python3-sqlalchemy, python3-aiosqlite, python3-asyncpg) ◂
  • Files: debian/control:22-28, pyproject.toml:43-44, src/knx_telegram_store/backends/sqlite.py:9, src/knx_telegram_store/backends/sqlite.py:161, src/knx_telegram_store/backends/postgres.py:11-13, src/knx_telegram_store/connection.py:156
  • Basis: checked, in the package or with a reference tool
  • Evidence: pyproject.toml: sqlite = ["aiosqlite>=0.20", "sqlalchemy[asyncio]>=2.0"], postgres = ["asyncpg>=0.29", "sqlalchemy[asyncio]>=2.0"]; backends/sqlite.py:9 from sqlalchemy import URL, inspect, text and :161 URL.create("sqlite+aiosqlite", ...); the binary stanza in debian/control has no Depends, Recommends or Suggests.
  • Problem: The package's headline feature is persistent storage in SQLite and PostgreSQL, and knx_telegram_store.backends.sqlite, .postgres and the lazily exported BufferedSqliteStore/BufferedPostgresStore import SQLAlchemy unconditionally; SQLAlchemy loads aiosqlite for the sqlite+aiosqlite dialect and asyncpg for the PostgreSQL driver. python3-defusedxml is the only dependency that reaches Depends automatically (dh_python3 translates Requires-Dist), so an apt install python3-knx-telegram-store leaves the documented [sqlite]/[postgres] backends failing with ModuleNotFoundError, with nothing in the archive relationships to point the user at the Debian packages. Upstream models these as extras, so this is a relationship-completeness gap rather than a broken package.
  • Fix: Add e.g. Recommends: python3-sqlalchemy, python3-aiosqlite and Suggests: python3-asyncpg to the python3-knx-telegram-store stanza (or put all three under Suggests if the Home Assistant team prefers not to pull SQLAlchemy in by default).
Verified ◂
  • debian/copyright is DEP-5: standard Format: URL, Upstream-Name/Upstream-Contact/Source, a Files: * stanza, a Files: debian/* stanza and a stand-alone License: MIT paragraph whose text matches LICENSE; no Files-Excluded.
  • Tree inventory (excluding .pc/ and debian/): 54 files — src/ (13 modules plus py.typed, three subpackages), tests/ (23), tools/ (2), scripts/ (1), docs/ (1), .github/ (3), root LICENSE, README.md, agents.md, pyproject.toml, docker-compose.test.yml, .gitignore, .pre-commit-config.yaml. All plain text; no images, fonts, PDFs, archives, bytecode or other binaries, so nothing needed to be judged by provenance alone.
  • The only copyright notices in the tree are LICENSE:3 Copyright (c) 2026 Martin Höfling and debian/copyright:7,11; a grep for Copyright, (c), ©, SPDX-License-Identifier, All rights reserved, public domain, GNU, Apache, BSD and Mozilla found nothing else, and the prescan's holder check agrees every holder is named. Files: * covers src, tests, tools, docs, scripts, .github and the root files.
  • Licence evidence is consistent: LICENSE is MIT, README.md ends with MIT, docs/design_and_implementation.md:507 says LICENSE # MIT License, pyproject.toml:11 license = "MIT"; the Debian MIT text is the standard one and belongs in no /usr/share/common-licenses file.
  • No vendored third-party code: the only non-stdlib imports under src/ are defusedxml (formats/ets_xml.py:19), sqlalchemy in the SQL backends and a function-local asyncpg (connection.py:156); comments mentioning Home Assistant, xknx and SpectrumKNX are interoperability notes, not attribution.
  • python3-defusedxml is added to Depends automatically: pyproject.toml:22 has defusedxml>=0.7.1, dh_python3's guess_deps is on by default (/usr/share/dh-python/dhpython/options.py:40) and it translates the installed dist-info's Requires-Dist (depends.py:299-304); Debian ships python3-defusedxml 0.7.1-3, satisfying the floor, and at compat 14 dh_gencontrol adds the relationship substvars itself, so the empty Depends is not a fault.
  • Every dependency named in debian/control exists: debhelper 14.5 provides the dh-sequence-single-binary add-on (/usr/share/perl5/Debian/Debhelper/Sequence/single_binary.pm), pybuild-plugin-pyproject 7.20261030, python3-setuptools 84.2.0, python3-sqlalchemy 2.0.52, python3-aiosqlite 0.21.0, python3-asyncpg 0.31.0, python3-pytest 9.1.1, python3-pytest-asyncio 1.4.0, python3-defusedxml 0.7.1-3.
  • Test dependencies sit in Build-Depends-Indep with <!nocheck> and there is no override_dh_auto_test, so a nocheck build skips the test step entirely and needs none of them. pybuild's pyproject plugin copies pyproject.toml and tests/ into its build directory and runs pytest tests there (dhpython/build/base.py:77, base.py:281), so asyncio_mode = "auto" and the subprocess test in tests/test_optional_dependencies.py (which relies on cwd being the import root) still work.
  • tests/integration/test_postgres_integration.py:29-63 is gated on KNX_TEST_TIMESCALE_DSN/KNX_TEST_PG_DSN and pytest.importorskip("asyncpg"), so the pybuild autopkgtest passes with no database server; the unit tests only use pytest, pytest-asyncio, sqlalchemy, aiosqlite and defusedxml, all listed.
  • debian/source/format is 3.0 (quilt), there is no debian/patches and no DEP-3 question; debian/rules is the plain dh $@ --buildsystem=pybuild; debian/python3-knx-telegram-store.docs installs README.md and docs/design_and_implementation.md; there are no maintainer scripts, install/link files or debian/tests/, which the declared pybuild autopkgtest does not need.
  • Standards-Version: 4.7.4 against Policy 4.7.4.1 shares its first two components, so it is current; Vcs-Git/Vcs-Browser point at the same salsa repository, Section: python, Architecture: all, and the changelog's 0.16.0-1/unstable with the upstream version and a correct Monday date are sane. tools/migrate_sample_db.py refers to a testdata/sample_telegrams.db absent from the source, but it is a developer utility installed by nothing.
  • uscan found the packaged version as the newest upstream release (upstream 0.16.0, packaged 0.16.0).
Not confirmed ◂
  • The package was not built and no tests were run in this review; a clean-chroot build and the autopkgtest are assumed to pass.
  • autodep8 is not installed on the reviewing system, so its pkg-pybuild template could not be inspected; Testsuite: autopkgtest-pkg-pybuild is the value dh-python ships /usr/share/dh-python/pybuild-autopkgtest for.
  • Bug #1154979 closed in the changelog was not checked against the BTS.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 0 hours ago.

Back to Dashboard | View all reviews for this package