🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#1325
From: Hans-Christoph Steiner
Date: Mon, 19 Oct 2026 10:10
52 lines
6314 bytes
Thanks for the thorough and rapid review!  I applied all the fixes you 
suggested, and will upload the source package once the CI passes.

awm@debian.org:
> 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: <NPStz-6w0L-13@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NPStz-6w0L-15@gated-at.bofh.it> <NMM1j-4KNN-1@gated-at.bofh.it> <NPStz-6w0L-15@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!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Hans-Christoph Steiner <hans@eds.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150567: Debian NEW review of pylibftdi 0.24.1-1: ACCEPTED
Date: Mon, 19 Oct 2026 12:10:01 +0200
Message-ID: <NPStz-6w0L-13@gated-at.bofh.it>
References: <NPStz-6w0L-15@gated-at.bofh.it> <NMM1j-4KNN-1@gated-at.bofh.it> <NPStz-6w0L-15@gated-at.bofh.it>
X-Original-To: awm@debian.org, team+python@tracker.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 19 10:03:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Hans-Christoph Steiner <hans@eds.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
X-Me-Sender: <xms:eujVanFvuVPkeKYRs_13mt_Vzqg6wJ8JNFH01fjVnnvbleNsj00KMQ>
    <xme:eujVasF8CuOmR-t3HgWpfv5wPmAqr4ULsMmw_75bo1FXstAWvSSCKgQI4OuHpUkwp
    0t04bDDR7C4ChVKyIHMTIPoc_IKxNMVHS2_RMDHnaeqJfgmbYo>
X-Me-Received: <xmr:eujVasP_2eF4dC-EbdSpvMJYp9tOZ2L2MRE2zc3kuybKfyNoBQNeSEevGgI1AHT8>
X-Me-Proxy-Cause: dmFkZTEIMtOuRxdebs6uPMChwOyAieHb+OFeWDIcf0F6mEgf1z5sL6Cys8qSfQAa/dGLlx
    fIxllsB/rIuYebMMM4adBeKtUdMVBbvxvoQ/MbjsVbErv1TbWFpCBBj5GJHfFjzzj958Tk
    ybTkYZe6slPV1oIW+XkmChQQc2X1EuJpWq04KyXacVbqxUoK9DU9bMvVYE0/JWNqSVf5/4
    CnbBQLJo7O7Y3P1kqHGup9GWdi0QyYVTdtN6XkP6+eZ4qbJkc51l22ewXejilQWAEoI8/2
    WpPL3BNIgMSjoKQ5iWpaiKK0jW5hn2hNmEJ2BBq7hrg76uLPE1JDc88SPhDRRXOByxWeFI
    I2pehuYV51opUveJKvl/p0XZJMwF/ZHIy6he1Xw4U2dtz/wMraiMyEqk2iR+2RmasZfNmB
    xD/wMtheiL62YERx1aio2t6QmQFxB5vBzs1ZAQpNpdqT3+hmuZN0EgpbQKsc7lBfMXUn2c
    ALH3iuGr+K9M+pX4/yTD4AoY43kbrpcpD+fxdYBDQ7hd53YAfU9zgi7yhICeOYuNysQ45L
    c6TBwuGRdqoY1qNO03ZlKxjNJAIszVA8+qDF4g2jIbzKAqnSCeJdHu2Lgot1xT55DnAblL
    F7k45aIzv5E7Ekn3rGYJZyBvSsHHVnstOiFpH+SbxututKmTiSlWNJ4o1o6w
X-Me-Proxy: <xmx:eujVajGZ8PGRd-7hjbXirgXvZ73wKgbVaPlvzkpMb4N2QS-BVG96gQ>
    <xmx:eujVarNJElKNIeVfWupvrB-gOi5UGorVnKUEtp0CtaDcFP0eMPhBqQ>
    <xmx:eujVas_zMu5nTR87ibytSMFIdqrscM5Qhw6CoQeTXqCAo9W1cxpkuA>
    <xmx:eujVavTWe-UjgHu0q580F6GsZ05RkOb-b2yHOQlWA57AItL-1NciYQ>
    <xmx:eujVarkiZJV2RoZRODiplqvj1VFuz1BqgoHP2pmxkvlcALdwQfAlYMp7>
Feedback-ID: idc6c41f6:Fastmail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: delayed 493 seconds by postgrey-1.37 at buxtehude; Mon, 19 Oct 2026 10:01:13 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997495
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 52
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1150567@bugs.debian.org
X-Original-Date: Mon, 19 Oct 2026 11:52:47 +0200
X-Original-Message-ID: <502d4766-20f8-4484-869b-b7bfb6a2d04f@eds.org>
X-Original-References: <ba13618346beb655.1791860265@mizu1.migadu.com> <ee4d5803-df84-453e-b92d-bdd94f3e94cb@eds.org> <ba13618346beb655.1791860265@mizu1.migadu.com>