DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: python-gb-io 0.4.0-1

Package Information

DescriptionPython 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.

MaintainerDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed ByAndreas Tille <tille@debian.org>
Sponsortille@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/med-team/python-gb-io.git (browse)
Closes#1156195
Trackerhttps://tracker.debian.org/pkg/python-gb-io
Uploaded2 days ago

New Package Report

.changes◂
Sourcepython-gb-io
Version0.4.0-1
Changed-ByAndreas Tille <tille@debian.org>
Architecturesource amd64
Distributionunstable
DateThu, 03 Dec 2026 09:07:50 +0100
Changelog◂
python-gb-io (0.4.0-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1156195)
.dsc◂
Package-Listpython3-gb-io deb python optional arch=any
Sectionpython
Priorityoptional
Componentmain
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 2 days ago.

Report◂

DFSG NEW review for python-gb-io version 0.4.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is 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/copyright applies 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.py stanza 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-alone License paragraph; 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.py is 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.py stanza, 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 later Files: 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-pybuild test, 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, packaged 0.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

The uploader hasn't responded yet, and is welcome to at any time. The hold has ended, so the package is now open for review as usual.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Review Information

started — allocated to eamanu 1 day ago, started 1 day ago.

Public Notes

1 day ago ● public

licensecheck

Command: licensecheck -r --deb-machine .
Exit code: 0

Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: FIXME
Upstream-Contact: FIXME
Source: FIXME
Disclaimer: Autogenerated by licensecheck

Files: ./.github/dependabot.yml
 ./.github/workflows/package.yml
 ./.github/workflows/requirements.txt
 ./.github/workflows/test.yml
 ./.readthedocs.yaml
 ./CHANGELOG.md
 ./CONTRIBUTING.md
 ./Cargo.lock
 ./Cargo.toml
 ./debian/README.Debian
 ./debian/changelog
 ./debian/control
 ./debian/patches/built-no-cargo-lock.patch
 ./debian/patches/pyo3-0.28-compat.patch
 ./debian/patches/pyo3-0.28.patch
 ./debian/patches/series
 ./debian/rules
 ./debian/source/format
 ./debian/watch
 ./docs/Makefile
 ./docs/_static/css/main.css
 ./docs/_static/js/custom-icon.js
 ./docs/_static/json/switcher.json
 ./docs/api/feature.rst
 ./docs/api/functions.rst
 ./docs/api/index.rst
 ./docs/api/location.rst
 ./docs/api/qualifier.rst
 ./docs/api/reader.rst
 ./docs/api/record.rst
 ./docs/api/reference.rst
 ./docs/api/source.rst
 ./docs/conf.py
 ./docs/guide/index.rst
 ./docs/guide/install.rst
 ./docs/make.bat
 ./docs/requirements.txt
 ./pkg/aur/PKGBUILD.in
 ./pyproject.toml
 ./src/gb_io/__init__.py
 ./src/gb_io/lib.pyi
 ./src/gb_io/lib/build.rs
 ./src/gb_io/lib/built.rs
 ./src/gb_io/lib/coa.rs
 ./src/gb_io/lib/dunder.rs
 ./src/gb_io/lib/lib.rs
 ./src/gb_io/lib/pyfile.rs
 ./src/gb_io/lib/reader.rs
 ./tests/data/AY048670.1.faa
 ./tests/data/AY048670.1.gb
 ./tests/data/JAOQKG01.1.gb.gz
 ./tests/data/biopython/1MRR_A.gp
 ./tests/data/biopython/NC_005816.gb
 ./tests/data/biopython/NT_019265.gb
 ./tests/data/biopython/arab1.gb
 ./tests/data/biopython/blank_seq.gb
 ./tests/data/biopython/cor6_6.gb
 ./tests/data/biopython/dbsource_wrap.gb
 ./tests/data/biopython/empty_feature_qualifier.gb
 ./tests/data/biopython/extra_keywords.gb
 ./tests/data/biopython/gbvrl1_start.seq
 ./tests/data/biopython/gbvrl1_start.seq.1
 ./tests/data/biopython/invalid_locus_line_spacing.gb
 ./tests/data/biopython/invalid_misc_feature.gb
 ./tests/data/biopython/iro.gb
 ./tests/data/biopython/no_end_marker.gb
 ./tests/data/biopython/noref.gb
 ./tests/data/biopython/one_of.gb
 ./tests/data/biopython/origin_line.gb
 ./tests/data/biopython/pri1.gb
 ./tests/data/biopython/protein_refseq.gb
 ./tests/data/biopython/tls_KDHP01000000.gb
 ./tests/data/biopython/tsa_acropora.gb
 ./tests/data/biopython/wrong_sequence_indent.gb
 ./tests/test_doctests.py
 ./tests/test_dump.py
 ./tests/test_load.py
 ./tests/test_location.py
 ./tests/test_record.py
 ./tests/unittests.rs
Copyright: NONE
License: UNKNOWN
 FIXME

Files: ./README.md
 ./docs/index.rst
Copyright: NONE
License: Apache-2.0 and/or Expat
 FIXME

Files: ./docs/guide/copyright.rst
Copyright: NONE
License: Apache-2.0
 FIXME

Files: ./debian/copyright
Copyright: 2022-2026, Martin Larralde <martin.larralde@embl.de>
  2026, Andreas Tille <tille@debian.org>
License: Expat
 FIXME

Files: ./COPYING
Copyright: 2022-2026, Martin Larralde <martin.larralde@embl.de>
License: Expat
 FIXME

Files: ./tests/test_biopython.py
Copyright: 2001-2004, Brad Chapman.
  2007-2016, Peter Cock.
  2013, Kai Blin.
  2015-2016, Peter Cock.
  2019, Sergio Valqui.
  below:
License: UNKNOWN
 FIXME

1 day ago ● public

debian/copyright check

Command: cme check dpkg-copyright
Exit code: 0

INFO: Model Dpkg::Copyright class: accept attribute should be a list of hash with 'pattern' key. I.e. something like [ { pattern => 'xyz.*', info}, ...] instead of [ 'xyz.*' => {info}, ... ]
INFO: Model Dpkg::Copyright class: accept attribute should feature a pattern parameter, using name instead
INFO: Model Dpkg::Copyright::LicenseSpec class: accept attribute should be a list of hash with 'pattern' key. I.e. something like [ { pattern => 'xyz.*', info}, ...] instead of [ 'xyz.*' => {info}, ... ]
INFO: Model Dpkg::Copyright::LicenseSpec class: accept attribute should feature a pattern parameter, using name instead
INFO: Model Dpkg::Copyright::Content class: accept attribute should be a list of hash with 'pattern' key. I.e. something like [ { pattern => 'xyz.*', info}, ...] instead of [ 'xyz.*' => {info}, ... ]
INFO: Model Dpkg::Copyright::Content class: accept attribute should feature a pattern parameter, using name instead
Warning in 'Files:"*" License short_name': value is "MIT". There are many versions of the MIT license. Please use Expat instead, when it matches. See L<Debian copyright format|https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification> and L<wikipedia|https://en.wikipedia.org/wiki/MIT_License#Various_versions>for details.
Offending value: 'MIT'
Warning in 'Files:"debian/*" License short_name': value is "MIT". There are many versions of the MIT license. Please use Expat instead, when it matches. See L<Debian copyright format|https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification> and L<wikipedia|https://en.wikipedia.org/wiki/MIT_License#Various_versions>for details.
Offending value: 'MIT'
you can try 'cme fix dpkg-copyright' to fix the warnings shown above
1 day ago ● public

licenserecon

Command: licenserecon
Exit code: 3

en: Versions: licenserecon '20.1'  licensecheck '3.3.9-1'

Parsing Source Tree  ....
Reading d/copyright  ....
Running licensecheck ....

d/copyright      | licensecheck

MIT              | Apache-2.0 and/or Expat docs/index.rst

1 day ago ● public

Look for SPDX

Command: grep -r -B1 'SPDX-'
Exit code: 1

(no output)

1 day ago ● public

Lintian

Command: lintian -i -I -v --pedantic
Exit code: 1

Skipping ../python-gb-io_0.4.0-1_amd64.changes: ../python3-gb-io_0.4.0-1_amd64.deb does not exist, exiting

No packages selected.
1 day ago ● public

duck

Command: duck
Exit code: 0

(no output)

1 day ago ● public

look for copyright

Command: egrep -R -i copyright
Exit code: 0

tests/test_biopython.py:# Original copyright below:
tests/test_biopython.py:# Copyright 2001-2004 by Brad Chapman.  All rights reserved.
tests/test_biopython.py:# Revisions copyright 2007-2016 by Peter Cock. All rights reserved.
tests/test_biopython.py:# Revisions copyright 2013 by Kai Blin. All rights reserved.
tests/test_biopython.py:# Revisions copyright 2015-2016 by Peter Cock.
tests/test_biopython.py:# Revisions copyright 2019 by Sergio Valqui.
docs/conf.py:copyright = '{}, {}'.format("2022" if year==2022 else "2022-{}".format(year), author)
docs/conf.py:    "footer_start": ["copyright"],
docs/guide/index.rst:   Copyright Notice <copyright>
docs/guide/copyright.rst:Copyright Notice
debian/copyright:Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
debian/copyright:Copyright: 2022-2026 Martin Larralde <martin.larralde@embl.de>
debian/copyright:Copyright: 2026 Andreas Tille <tille@debian.org>
debian/copyright: The above copyright notice and this permission notice shall be included in all
debian/copyright: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
COPYING:Copyright (c) 2022-2026 Martin Larralde <martin.larralde@embl.de>
COPYING:The above copyright notice and this permission notice shall be included in all
COPYING:AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1 day ago ● public

look for license

Command: egrep -R -i license
Exit code: 0

.pc/built-no-cargo-lock.patch/Cargo.toml:license = "MIT"
.pc/pyo3-0.28.patch/Cargo.toml:license = "MIT"
tests/test_biopython.py:# license.  Please see the LICENSE file that should have been included
pkg/aur/PKGBUILD.in:license=("MIT")
pkg/aur/PKGBUILD.in:    install -Dm644 ${srcdir}/${_module}-${pkgver}/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
Cargo.toml:license = "MIT"
docs/index.rst:|Actions| |Coverage| |PyPI| |Bioconda| |AUR| |Wheel| |Versions| |Implementations| |License| |Source| |Mirror| |Issues| |Docs| |Changelog| |Downloads|
docs/index.rst:.. |License| image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square&maxAge=3600
docs/index.rst:   :target: https://choosealicense.com/licenses/mit/
docs/index.rst:License
docs/index.rst:This library is provided under the `MIT License <https://choosealicense.com/licenses/mit/>`_.
docs/index.rst:and is licensed under the terms of the `MIT License <https://choosealicense.com/licenses/mit/>`_.
docs/index.rst:licensed under the `Apache-2.0 <https://choosealicense.com/licenses/apache-2.0/>`_,
docs/index.rst:`MIT <https://choosealicense.com/licenses/mit/>`_ or
docs/index.rst:`BSD-3-Clause <https://choosealicense.com/licenses/bsd-3-clause/>`_ licenses;
docs/index.rst:see the license file distributed with the source copy of each vendored
docs/guide/copyright.rst:The ``gb-io`` library is developed under the MIT license:
docs/guide/copyright.rst:licensed under the `Apache-2.0 <https://choosealicense.com/licenses/apache-2.0/>`_,
docs/guide/copyright.rst:`MIT <https://choosealicense.com/licenses/mit/>`_ or
docs/guide/copyright.rst:`BSD-3-Clause <https://choosealicense.com/licenses/bsd-3-clause/>`_ licenses;
docs/guide/copyright.rst:see the license file distributed with the source copy of each vendored
pyproject.toml:license = "MIT"
pyproject.toml:license-files = ["COPYING"]
debian/copyright:License: MIT
debian/copyright:License: MIT
debian/copyright:License: MIT
debian/copyright: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
README.md:[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square&maxAge=2678400)](https://choosealicense.com/licenses/mit/)
README.md:## ⚖️ License
README.md:This library is provided under the [MIT License](https://choosealicense.com/licenses/mit/).
README.md:and is licensed under the terms of the [MIT License](https://choosealicense.com/licenses/mit/).
README.md:licensed under the [Apache-2.0](https://choosealicense.com/licenses/apache-2.0/),
README.md:[MIT](https://choosealicense.com/licenses/mit/) or
README.md:[BSD-3-Clause](https://choosealicense.com/licenses/bsd-3-clause/) licenses;
README.md:see the license file distributed with the source copy of each vendored
COPYING:MIT License
COPYING:to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1 day ago ● public

Author check: python-gb-io 0.4.0-1

Scanned 76 files. 2 author(s) declared in debian/copyright.

NOT IN debian/copyright (4):

  • Brad Chapman
    • tests/test_biopython.py:5
  • Kai Blin
    • tests/test_biopython.py:7
  • Peter Cock
    • tests/test_biopython.py:6
    • tests/test_biopython.py:8
  • Sergio Valqui
    • tests/test_biopython.py:9
1 day ago ● public

License check: python-gb-io 0.4.0-1

Archive component: main

COMPATIBLE:

  • MIT

Back to Dashboard | View all reviews for this package