python-gb-io 0.4.0-1
Package Information
| Description | Python interface to gb-io, a fast GenBank parser and serializer written in Rust gb-io is a fast GenBank parser and serializer written in Rust. This package provides the Python bindings: GenBank and FASTA records can be parsed from files and dumped back to text, exposing a Biopython-like Record API. |
|---|---|
| Maintainer | Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> |
| Changed By | Andreas Tille <tille@debian.org> |
| Sponsor | tille@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/med-team/python-gb-io.git (browse) |
| Closes | #1156195 |
| Tracker | https://tracker.debian.org/pkg/python-gb-io |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Date | Thu, 03 Dec 2026 09:07:50 +0100 |
|---|---|
| Source | python-gb-io |
| Version | 0.4.0-1 |
| Changed-By | Andreas Tille <tille@debian.org> |
| Architecture | source amd64 |
| Distribution | unstable |
Changelog
python-gb-io (0.4.0-1) unstable; urgency=medium . * Initial release (Closes: #1156195)
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | python3-gb-io deb python optional arch=any |
| Section | python |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gb-io Source: https://github.com/althonos/gb-io.py/ Files: * Copyright: 2022-2026 Martin Larralde <martin.larralde@embl.de> License: MIT Files: debian/* Copyright: 2026 Andreas Tille <tille@debian.org> 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 1 blocker, 0 important, 2 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-gb-io version 0.4.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 1 blocker, 0 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 1 found
Licensing
The tree is almost entirely MIT and the Files: * stanza matches COPYING, but tests/test_biopython.py is explicitly a Biopython derivative "governed by its license", not MIT: its header names four Biopython copyright holders and points to a Biopython LICENSE that is not in the source. debian/copyright declares the whole tree MIT under Martin Larralde and neither reproduces the Biopython licence nor names those holders. Biopython's licence is permissive, so the binary is distributable, but the licence statement for that file is wrong and its licence text is missing from the source package.
Packaging
The packaging is sound for a PyO3/maturin module built against Debian's Rust registry: compat 14 with debhelper-compat, dh-cargo Built-Using via dh-cargo-built-using, three DEP-3 patches with clear purposes, a correct Testsuite: autopkgtest-pkg-pybuild, a complete and current Build-Depends, and a current Standards-Version. The only defect found is a wrong .dsc filename in debian/README.Debian, which would make the documented sbuild command fail.
Issues
blocker licensing 1. tests/test_biopython.py is Biopython-licensed, but debian/copyright declares it MIT and includes no Biopython licence text ◂
- Files:
tests/test_biopython.py:1-12,debian/copyright:4-8 - Basis: checked, in the package or with a reference tool
- Evidence: tests/test_biopython.py: "# Tests adapted from the Biopython tests for the Bio.GenBank module." and "# This code is part of the Biopython distribution and governed by its\n# license. Please see the LICENSE file that should have been included\n# as part of this package."; debian/copyright: "Files: *\nCopyright: 2022-2026 Martin Larralde martin.larralde@embl.de\nLicense: MIT".
- Problem: The file is a derivative of Biopython and says its own governing licence is Biopython's, not MIT (Biopython is offered under the Biopython License Agreement and BSD-3-Clause).
debian/copyrightapplies the MIT stanza to it, and no Biopython LICENSE is present in the tree, so the licence text required for that file is absent. A wrong licence and a missing licence text are defects of the source package wherever the file is shipped, per Policy 12.5. - Fix: Add a
Files: tests/test_biopython.pystanza giving the Biopython licence (BSD-3-Clause or the Biopython License Agreement, as offered by the LICENSE the header refers to) and reproduce the full licence text under a stand-aloneLicenseparagraph; note that BSD-3-Clause is not in /usr/share/common-licenses, so its text cannot be replaced by a pointer.
minor licensing 2. debian/copyright does not name Brad Chapman, Peter Cock, Kai Blin and Sergio Valqui, the copyright holders of tests/test_biopython.py ◂
- Files:
tests/test_biopython.py:5-9,debian/copyright:4-8 - Basis: checked, in the package or with a reference tool
- Evidence: "# Copyright 2001-2004 by Brad Chapman. All rights reserved." / "# Revisions copyright 2007-2016 by Peter Cock." / "# Revisions copyright 2013 by Kai Blin." / "# Revisions copyright 2019 by Sergio Valqui."
- Problem: None of the four holders appears in
debian/copyright. Policy 2.3 does not require their notices there:tests/test_biopython.pyis not installed in the binary package, and the file itself carries the notices. The DFSG team nevertheless expects debian/copyright to be complete for the source package. - Fix: When adding the
Files: tests/test_biopython.pystanza, list these four holders with their years.
minor packaging 3. debian/README.Debian gives the wrong .dsc filename for the sbuild command ◂
- Files:
debian/README.Debian:107 - Basis: checked, in the package or with a reference tool
- Evidence: sbuild --dist=unstable ... gb-io_0.4.0-1.dsc
- Problem: The source package is python-gb-io, and the generated file is python-gb-io_0.4.0-1.dsc (the tarballs beside the tree are python-gb-io_0.4.0.orig.tar.gz and python-gb-io_0.4.0-1.debian.tar.xz). Following the documented command fails because gb-io_0.4.0-1.dsc does not exist.
- Fix: Change the argument to python-gb-io_0.4.0-1.dsc.
Verified ◂
- Read every file under debian/ (control, rules, changelog, copyright, README.Debian, source/format, patches/series and all three patches) and the complete upstream inventory (76 names, excluding .pc/).
- All upstream files other than tests/test_biopython.py are MIT as stated: COPYING is the MIT text matching the
Files: *stanza, and Cargo.toml, pyproject.toml, README.md, docs/, src/, tests/ carry no other copyright or licence notices. - tests/data/JAOQKG01.1.gb.gz is a gzip-compressed GenBank record used as test input by the unittest suite; tests are not installed by maturin, and the compressed file is not a build artefact.
- tests/data/biopython/* are GenBank sample records used as test input; grep found no copyright or licence notice in them and they are not installed.
- debian/copyright is DEP-5 with the correct Format URL, a
Files: *stanza, a laterFiles: debian/*stanza, and the complete MIT text. - Build-Depends checked with apt-cache: the pyo3 feature virtuals are provided by librust-pyo3-dev 0.28.2-2, librust-built+chrono-dev by librust-built-dev 0.8.1-5, librust-libc+default-dev by 0.2.186-1, python3-maturin 1.16.0-2 and pybuild-plugin-pyproject 7.20261030 exist; librust-pyo3-built-dev and librust-gb-io-dev are built by rust-pyo3-built 0.6.0-1 and rust-gb-io 0.9.0-1 in NEW.
- Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1 in its first two components; debhelper compat 14 is supported, so the explicit ${misc:Depends}/${python3:Depends}/${shlibs:Depends} are harmless.
- pybuild uses its default unittest runner (no pytest build-dependency needed), and autodep8's pybuild generator supplies the
Testsuite: autopkgtest-pkg-pybuildtest, so no debian/tests/control is required. - The three patches have DEP-3 headers (Description, Author, Origin, Forwarded, Last-Update) and correspond to the three issues described in debian/README.Debian; no native binaries or minified code are present in the tree.
- docs/ and .github/ and pkg/aur/ are documentation, CI and foreign-packaging files that maturin does not install into python3-gb-io.
- uscan found the packaged version as the newest upstream release (upstream
0.4.0, packaged0.4.0).
Not confirmed ◂
- librust-gb-io+default-dev is not in the reviewing system's package lists and is not a binary of rust-gb-io 0.9.0-1 in NEW; whether librust-gb-io-dev (from that NEW upload) Provides it could not be determined, so the Build-Depends may or may not be satisfiable.
- The sword and knife SVG paths in docs/_static/js/custom-icon.js are commented with the Simple Icons PyPI URL, which cannot be their source; their actual provenance is not established (documentation-only and not installed).
- The changelog's closure of bug #1156195 was not checked against the BTS.
Proposed changes ◂
None.
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.