🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #649

Bug#1150567: Debian NEW review of pylibftdi 0.24.1-1: ACCEPTED

#649
From: awm
Date: Tue, 13 Oct 2026 03:00
68 lines
4537 bytes
This is an automated message from the Debian DFSG, Licensing & New
Packages Team.

The Debian NEW review of pylibftdi 0.24.1-1 has been completed.

Decision: ACCEPTED
Reviewer: Andrew McMillan

Review comment:

Hi,

Some issues found in the review that could be fixed...

1. [important] [packaging] Autopkgtest cannot run: python3-pytest is not installed

 - Files: `debian/tests/control:1-4`, `debian/tests/unittests:6-10`
 - Evidence: `debian/tests/control` has `Depends: @builddeps@`; `debian/tests/unittests` runs `python${i} -m pytest -v tests`; `pyproject.toml` lists pytest only under `[dependency-groups] dev`.
 - Problem: The only dependency of the declared `Testsuite: autopkgtest` (DSC `Testsuite: autopkgtest`) is `@builddeps@`, which expands to the Build-Depends of the source; none of them provides the pytest runner, and the Debian build never installs upstream's dev dependency group. The test therefore fails with `ModuleNotFoundError: No module named 'pytest'`, so the salsa-ci pipeline and the autopkgtest suite advertised in the package are red. This is a genuine functional defect, not a lintian nit.
 - Fix: Declare the runner, e.g. `Depends: @, @builddeps@, python3-pytest` (or add python3-pytest to Build-Depends).

2. [minor] [packaging] Autopkgtest does not test the installed package

 - Files: `debian/tests/control:2`, `pyproject.toml:113-115`
 - Evidence: `Depends: @builddeps@` only (no `@`), plus `[tool.pytest.ini_options] pythonpath = ["src", "."]`.
 - Problem: Because the test Depends omit `@` (the binary package(s) built by this source), python3-pylibftdi is not installed in the testbed; together with `pythonpath = ["src", "."]`, pytest imports pylibftdi from the unpacked source tree, so the shipped bytes are never exercised. The tests could pass while a broken installed package goes unnoticed.
 - Fix: Use `Depends: @, @builddeps@, python3-pytest` so the tests run against the installed binary (this also fixes the missing pytest issue).

3. [minor] [packaging] debian/watch is in the old version 3 format

 - Files: `debian/watch`
 - Evidence: `version=3`
 - Problem: Version 5 is the current format of `debian/watch`.
 - Fix: Convert it to version 5; a mechanical conversion is suggested below:

==========================================================
Version: 5

 # Run the "uscan" command to check for upstream updates and more.
 Template: Github
 Dist: https://github.com/codedstructure/pylibftdi
==========================================================


Thanks!

Full review details: https://dfsg-new-queue.debian.org/reviews/pylibftdi
Technical Details
Message-ID: <NNAU9-5bBk-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NMM1j-4KNN-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: <awm@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150567: Debian NEW review of pylibftdi 0.24.1-1: ACCEPTED
Date: Tue, 13 Oct 2026 05:00:01 +0200
Message-ID: <NNAU9-5bBk-1@gated-at.bofh.it>
References: <NMM1j-4KNN-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 13 02:59:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.203
Reply-To: <awm@debian.org>, 1150567@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: wnpp@debian.org
X-Debian-Pr-Message: followup 1150567
X-Debian-Pr-Package: wnpp
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996486
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
List-Archive: https://lists.debian.org/msgid-search/debian-bugs-dist
Approved: robomod@news.nic.it
Lines: 68
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: <1150567@bugs.debian.org>
X-Original-Date: Tue, 13 Oct 2026 02:57:32 +0000
X-Original-Message-ID: <-LbdmSPEuKP.A.GKOL.85ZzqB@bendel>
X-Original-References: <ee4d5803-df84-453e-b92d-bdd94f3e94cb@eds.org>