Review: python-lg-rs232-tv 1.3.2-2
Package Information
| Description | asynchronous library for controlling LG TVs over RS-232 The library can query power status, switch inputs, adjust picture and sound settings, and send remote control key codes. It connects through a local serial port or a TCP serial bridge and uses set IDs to address individual TVs on a shared serial connection. A command-line tool can display TV status, change settings, and scan for responding set IDs. |
|---|---|
| Maintainer | Home Assistant Team <team+homeassistant@tracker.debian.org> |
| Changed By | Edward Betts <edward@4angle.com> |
| Sponsor | edward@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/homeassistant-team/deps/python-lg-rs232-tv.git (browse) |
| Tracker | https://tracker.debian.org/pkg/python-lg-rs232-tv |
| Uploaded | 3 days ago |
New Package Report
.changes
| Architecture | all source |
|---|---|
| Distribution | unstable |
| Date | Wed, 02 Dec 2026 11:41:15 +0000 |
| Source | python-lg-rs232-tv |
| Version | 1.3.2-2 |
| Changed-By | Edward Betts <edward@4angle.com> |
Changelog
python-lg-rs232-tv (1.3.2-2) unstable; urgency=medium
.
* Set the installed Python metadata version from the Debian upstream
version..dsc
| Package-List | python3-lg-rs232-tv deb python optional arch=all |
|---|---|
| Section | python |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: lg-rs232-tv Upstream-Contact: Paulus Schoutsen <Paulus Schoutsen <balloob@gmail.com>> Source: https://github.com/home-assistant-libs/lg-rs232-tv Files: * Copyright: 2026 Paulus Schoutsen 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, 1 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 3 days ago.
Report
DFSG NEW review for python-lg-rs232-tv version 1.3.2-2
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: No
- Issues: 0 blocker, 1 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The tree is MIT throughout: upstream's LICENSE carries the full MIT text with Paulus Schoutsen's notice, pyproject.toml declares license = "MIT", and no other file carries a different licence or additional holder (the prescan's holder check agrees). debian/copyright is DEP-5 with the canonical Format URL, a Files: * stanza for upstream and a debian/* stanza for the packaging, both MIT, plus a complete standalone MIT paragraph. The only flaw is a malformed Upstream-Contact line; no DFSG problem.
Packaging
The packaging is otherwise solid: compat 14 with dh and pybuild, pyproject/uv_build build, autopkgtest-pkg-pybuild, current Standards-Version, Vcs-* and upstream metadata, sane changelog, no patches. But the runtime dependency on python3-serialx is only produced by dh_python3 when that package is installed at build time, and it is marked <!nocheck>; a nocheck build therefore ships python3-lg-rs232-tv without the Depends it needs.
Issues
important
packaging
1. python3-serialx <!nocheck> removes the runtime Depends from a nocheck build
◂
- Files:
debian/control:17,pyproject.toml:12 - Basis: checked, in the package or with a reference tool
- Evidence: Build-Depends-Indep:
python3-serialx <!nocheck>,and pyprojectdependencies = ["serialx>=1.9.0"]; the binary stanza has noDepends - Problem: The package has no explicit Depends, so the runtime dependency comes from dh_python3 mapping the Requires-Dist entry from the installed .dist-info/METADATA to a Debian package with
dpkg -Sagainst the build environment (/usr/share/dh-python/dhpython/pydist.py,guess_dependency;serialxis not in dh-python's/usr/share/dh-python/dist/cpython3_fallbacklist). In aDEB_BUILD_OPTIONS=nocheckbuild the<!nocheck>dependency is not installed, no other Build-Depends brings python3-serialx in, dh_python3 cannot mapserialxand logsCannot find package that provides serialx, and the resulting python3-lg-rs232-tv is shipped withoutDepends: python3-serialxeven thoughlg_rs232_tvimports it. Such a build does not fail; it silently produces a broken binary. - Fix: Take
<!nocheck>offpython3-serialx(the tests need it anyway, so it stays installed in normal builds), or add an explicitDepends: python3-serialx (>= 1.9.0)to the binary stanza.
minor licensing 2. Upstream-Contact in debian/copyright is a malformed mailbox (name repeated inside the angle brackets) ◂
- Files:
debian/copyright:3 - Basis: checked, in the package or with a reference tool
- Evidence:
Upstream-Contact: Paulus Schoutsen <Paulus Schoutsen <balloob@gmail.com>> - Problem: copyright-format 1.0 section 6.3 expects the preferred upstream address as an RFC 5322 address (free-form text is allowed, but a nested mailbox is not a valid address), so tools reading the field get a broken contact. Copyright and licence statements themselves are correct and unaffected.
- Fix: Use
Upstream-Contact: Paulus Schoutsen <balloob@gmail.com>.
Verified ◂
- Read every file in the tree except .pc/ (21 names; the prescan's 19-file count excludes dotfiles and/or the duplicated dev docs): .gitignore, .python-version, AGENTS.md, AI_POLICY.md, CLAUDE.md, LICENSE, README.md, pyproject.toml, both .github/workflows files, the 8 files under src/lg_rs232_tv/ and the 3 under tests/.
- The only licence evidence is MIT: upstream LICENSE (
Copyright (c) 2026 Paulus Schoutsen, full MIT text), pyprojectlicense = "MIT"and its MIT classifier, README's 'License: MIT'. Grep for Copyright/(C)/SPDX/Permission/GNU/Apache/BSD/LGPL found no other notices; grep for non-free wording (non-commercial, no modification, Good not Evil, CC-*-NC/ND) found nothing. - The prescan's
dfsg-author-checkreported every holder it found is named in debian/copyright; the tree has no other holder, so no file needed a line of its own. - debian/copyright is DEP-5 with the exact canonical Format URL;
Files: *covers upstream (including dotfiles and .github/, per copyright-format 6.9) and the laterFiles: debian/*covers the packaging; the standalone MIT paragraph is complete and needs no /usr/share/common-licenses reference. - No built, minified, generated or vendored third-party code, and no fonts/images/PDFs in the tree;
py.typedis an empty marker, tests are not installed, and the PDF mentioned in AGENTS.md/CLAUDE.md is only referenced, not shipped. - All names in debian/control exist or are provided: dh-sequence-python3 by dh-python, dh-sequence-single-binary by debhelper, and pybuild-plugin-pyproject, python3-uv-build, python3-serialx, python3-pytest, python3-pytest-asyncio, python3-pytest-timeout, python3-all in unstable; python3-serialx 1.15.1 satisfies upstream's >=1.9.0, and nothing else in the Build-Depends pulls it in.
- Compat 14 is supported and recommended (debhelper tool), ${python3:Depends} and ${misc:Depends} are applied automatically by dh_gencontrol, and
dh-sequence-single-binaryis the addon compat 14's single-binary warning calls for. Testsuite: autopkgtest-pkg-pybuildresolves through autodep8's pybuild/control-field path topybuild-autopkgtestwith@builddeps@; a debian/tests/control is therefore not required.- debian/rules' sed of the upstream pyproject version uses DEB_VERSION_UPSTREAM and restores pyproject.toml with an EXIT trap; debian/source/format is 3.0 (quilt) with no patches; changelog target, version and date are sane; Vcs-* and debian/upstream/metadata are consistent; Standards-Version 4.7.4 matches Policy 4.7.4.x.
- uscan found the packaged version as the newest upstream release (upstream
1.3.2, packaged1.3.2).
Not confirmed ◂
- Whether uv_build 0.9.17 (Debian's python3-uv-build, outside pyproject's
uv_build>=0.8.4,<0.9.0) builds the tree; pybuild invokes the backend with--skip-dependency-check --no-isolation, so only an actual build would confirm the backend API. - No build or test run was possible in this read-only review; no build or test failure is claimed.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader rejected this upload in response to the review.
Review Information
rejected — allocated to dfsg-uploader 3 days ago, started 3 days ago, completed 3 days ago.
Final Comment
The uploader rejected this upload in response to the automated (LLM) review of it, so that they can fix the problems it found and upload again.
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 1.3.2-1 | bd5a4461… | 2026-12-02 11:34 | 2026-12-02 11:34 | dfsg-uploader | rejected | VIEW |