DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: q2-types 2026.10.0+dfsg-1

Package Information

DescriptionQIIME 2 plugin defining types for microbiome analysis

QIIME 2 is a powerful, extensible, and decentralized microbiome analysis package with a focus on data and analysis transparency. QIIME 2 enables researchers to start an analysis with raw DNA sequence data and finish with publication-quality figures and statistical results. Key features: * Integrated and automatic tracking of data provenance * Semantic type system * Plugin system for extending microbiome analysis functionality * Support for multiple types of user interfaces (e.g. API, command line, graphical)

QIIME 2 currently supports an initial end-to-end microbiome analysis pipeline. New functionality will regularly become available through QIIME 2 plugins. You can view a list of plugins that are currently available on the QIIME 2 plugin availability page. The future plugins page lists plugins that are being developed.

This plugin provides the core semantic types used by QIIME 2 plugins to exchange microbiome data such as feature tables and phylogenetic trees.

MaintainerDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed ByAndreas Tille <tille@debian.org>
Sponsortille@debian.org
Distributionexperimental
Architectureall
VCSgit: https://salsa.debian.org/med-team/q2-types.git (browse)
Closes#1065333, #1076316, #1104050
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/q2-types
Uploaded3 days ago
Supersedes2026.10.0-1

New Package Report

.changes◂
Architecturesource all
Distributionexperimental
DateMon, 02 Nov 2026 09:11:22 +0100
Sourceq2-types
Version2026.10.0+dfsg-1
Changed-ByAndreas Tille <tille@debian.org>
Changelog◂
q2-types (2026.10.0+dfsg-1) experimental; urgency=medium
 .
   * Team upload.
   * New upstream version
   * d/watch: version=5
   * cme fix dpkg-control (+ adapt d/control.in)
   * Do not hardcode Python3.11 any more
     Closes: #1076316
   * Build-Depends: pybuild-plugin-pyproject (routine-update)
   * Replace FSF postal address with a reference to
     https://www.gnu.org/licenses/.
   * Regenerate debian/control from debian/control.in (routine-update)
   * Lintian-overrides for package-contains-documentation-outside-usr-share-doc
     and compressed-duplicate
   * Enhance long description
   * Build-Depends: dh-sequence-single-binary
   * Fix permissions
   * d/patches: Do not fail plugin registration when optional dependencies
     (pyhmmer, frictionless) are not installed, and ignore only the
     autopkgtest modules that need those unpackaged modules.
     Closes: #1104050
   * Add package q2-types-examples, containing only the reference_db test
     data.
     Closes: #1065333
   * Repack upstream tarball to drop two .dmnd test fixtures with non-free
     license
   * Lintian-overrides for
     q2-types-examples: python-package-missing-depends-on-python
.dsc◂
Package-Listq2-types deb science optional arch=all
q2-types-examples deb science optional arch=all
Sectionscience
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: QIIME 2
Source: https://github.com/qiime2/q2-types/releases
Files-Excluded:
 q2_types/reference_db/tests/data/dmnd_db/ref_db.dmnd
 q2_types/reference_db/tests/data/bad_dmnd_db/bad_name.dmnd
Comment: Both files were not DIAMOND databases but saved copies of a
 github.com web page (copyright GitHub, Inc., no licence), hence they are
 not distributed.  Upstream uses them only in tests that exercise an
 unimplemented validator, so the tarball is repacked as +dfsg without them.

Files: *
Copyright: 2016-2023 QIIME 2 development team
License: BSD-3-clause

Files: debian/*
Copyright: 2019 Liubov Chuprikova <chuprikovalv@gmail.com>
           2019-2023 Andreas Tille <tille@debian.org>
           2019-2022 Steffen Moeller <moeller@debian.org>
           2020-2023 Étienne Mollier <emollier@debian.org>
License: GPL-2+

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are met:
  .
  1.  Redistributions of source code must retain the above copyright notice,
      this list of conditions and the following disclaimer.
  .
  2.  Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
  .
  3.  Neither the name of the copyright holder nor the names of its
      contributors may be used to endorse or promote products derived from this
      software without specific prior written permission.
  .
  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: GPL-2+
 On a Debian system, the GNU GPL license version 2 is distributed in the
 file /usr/share/common-licenses/GPL-2.

DFSG Assistant LLM REVIEW 0 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 3 days ago.

Report◂

DFSG NEW review for q2-types version 2026.10.0+dfsg-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 2 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 55 found (11 not listed by the scan, so not checked)

Licensing

debian/copyright is DEP-5 with the correct Format line, a catch-all Files: * stanza (BSD-3-clause, full text included) and a debian/* stanza (GPL-2+, pointing at /usr/share/common-licenses/GPL-2). The whole upstream tree is QIIME 2 development team code under the shipped BSD-3 LICENSE, every module header says "Distributed under the terms of the Modified BSD License ... full license is in the file LICENSE", and no other copyright holder or licence text exists in the tree. The two non-free .dmnd fixtures are listed in Files-Excluded, are absent from the unpacked tree, and the tests that used them are removed by a DEP-3 patch. All test data (FASTQ/BAM/BIOM, bowtie2 index, HMMER pressed database, eggnog fixtures) is upstream's own and covered by Files: *.

Packaging

Solid team packaging: debhelper-compat 14 with dh and pybuild's pyproject backend, Standards-Version 4.7.4, pybuild-plugin-pyproject plus the needed python3-* Build-Depends, a clean two-binary split that moves the large reference_db fixtures out of q2-types into q2-types-examples with proper Breaks/Replaces, two DEP-3 patches of clear purpose, and an autopkgtest that runs the pytest suite and ignores only modules whose third-party dependency is unpackaged. Two small defects: samtools, which BAMFormat validation executes, is missing from Depends, and there is no versioningit provider in Build-Depends, so the built package's own metadata will say 0.0.0 instead of 2026.10.0.

Issues

minor packaging 1. q2-types Depends lacks samtools, which BAMFormat validation executes ◂
  • Files: q2_types/per_sample_sequences/_formats.py:686-693, debian/control (Depends of Package: q2-types)
  • Basis: checked, in the package or with a reference tool
  • Evidence: cmd = ['samtools', 'quickcheck', '-v', str(self)] / result = subprocess.run(cmd); Depends lists libopenblas0, python3-biom-format, python3-h5py, python3-ijson, python3-numpy, python3-pandas, python3-skbio, qiime (>= 2026.10); none of those Depends samtools (qiime's and python3-skbio's Depends were checked), while conda-recipe/meta.yaml puts samtools in run.
  • Problem: BAMFormat.validate shells out to samtools, and BAMFormat is used by per_sample_sequences (BAM maps). On a system where samtools was not pulled in incidentally, validating any BAM artifact raises FileNotFoundError from subprocess instead of validating. Policy 7.2: Depends should be used where the package is required to provide significant functionality.
  • Fix: Add samtools to Depends of q2-types (or to Recommends and catch the missing binary, raising a ValidationError).
minor packaging 2. No versioningit provider in Build-Depends: the built package reports version 0.0.0 and q2_types.version falls back to 0.0.0+notfound ◂
  • Files: pyproject.toml:9,21-29, debian/control (Build-Depends), q2_types/__init__.py:9-13, q2_types/plugin_setup.py:15,46
  • Basis: inferred from what was read, not seen directly
  • Evidence: pyproject has dynamic = ["version"] and [build-system] requires = ["setuptools", "versioningit", "wheel"] with [tool.versioningit.*]; Build-Depends has python3-setuptools but no versioningit, and apt-cache finds no python3-versioningit/versioningit binary in the archive or in NEW. pybuild's pyproject plugin builds with python -m build --skip-dependency-check --no-isolation (/usr/share/dh-python/dhpython/build/plugin_pyproject.py:150-160), and setuptools leaves a dynamic version unset when no plugin supplies it (/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py:317-323), defaulting to 0.0.0 (/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:1298-1299).
  • Problem: The upstream tarball carries no q2_types/_version.py (it is generated by versioningit at build time), so the wheel is built as 0.0.0, the dist-info version is 0.0.0 while the Debian version is 2026.10.0, and q2_types/init.py:9-13 falls back to '0.0.0+notfound', which plugin_setup.py passes to qiime2 as the plugin version. Tools and plugins that read importlib.metadata.version('q2-types') or the plugin version get a wrong value.
  • Fix: Make the version available at build time: add python3-versioningit to Build-Depends when it is packaged, or carry a small patch that sets a static version in pyproject.toml and writes q2_types/_version.py from DEB_VERSION_UPSTREAM.
Verified ◂
  • debian/copyright read in full: DEP-5 with the 1.0 Format URL; stanzas Files: * (BSD-3-clause, full text), Files: debian/* (GPL-2+, pointer to /usr/share/common-licenses/GPL-2); Files-Excluded with a Comment for the two .dmnd files; no standalone fields from a draft.
  • Whole-tree grep (596 files) for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, Permission is hereby granted, GNU General/Lesser, Apache, Mozilla, public domain, All rights reserved: the only holder named anywhere is 'QIIME 2 development team'; the licence phrases occur only in the BSD-3 LICENSE and the identical per-file headers; the only non-QIIME copyright lines are in .github/workflows/update-copyright-headers.yaml (a script that edits the header year) and debian/copyright itself.
  • LICENSE at the top of the tree is BSD-3-Clause, © 2016-2026 QIIME 2 development team; debian/copyright's 2016-2023 range is only year drift, the holder is the same.
  • 'borrowed from q2-phylogenomics' (q2_types/per_sample_sequences/_formats.py:686,696) and 'adapted from @jairideout's SO post' (q2_types/multiplexed_sequences/_deferred_setup/_transformers.py:36) are the same project/QIIME 2 team and the same BSD-3 licence, not a separate holder.
  • Files-Excluded .dmnd fixtures: q2_types/reference_db/tests/data/dmnd_db/ and bad_dmnd_db/ exist but are empty, so the files are gone as claimed; debian/patches/drop-unlicensable-dmnd-fixtures.patch removes test_dmnd_ff/test_dmnd_df and rebuilds bad_name.dmnd in a temporary directory, and no other file in the tree refers to the removed fixtures.
  • The four unrecognised binary files are the eggnog test fixtures: q2_types/reference_db/tests/data/good_eggnog/eggnog.db (18.7 MB), q2_types/reference_db/tests/data/good_eggnog/eggnog.taxa.db, q2_types/reference_db/tests/data/good_eggnog/eggnog.taxa.db.traverse.pkl and q2_types/reference_db/tests/data/single_eggnog/eggnog.db (the second copy of the 18.7 MB file). They are inputs to test_eggnog_ref_bin_{main,taxa,pickle} and test_eggnog_dir_fmt*, and EggnogRefBinFileFmt.validate is pass (reference_db/_formats.py), so any binary content passes; they carry no licence of their own and are covered by Files: *.
  • Every compressed file the scan listed is an upstream test fixture under Files: , with no per-file licence and no non-free wording: the .fastq.gz files are gzipped FASTQ (a few hundred bytes to 1 KB each, synthetic or tutorial data for the FASTQ/manifest tests), the ncbi/.gz are gzipped NCBI taxdump/accession test files, and the .bam files are BAM alignment fixtures for the BAMFormat/BAMDirFmt tests. The full list:
  • q2_types/feature_data/tests/data/emp_multiplexed/barcodes.fastq.gz
    q2_types/feature_data/tests/data/emp_multiplexed/sequences.fastq.gz
    q2_types/feature_data/tests/data/emp_multiplexed_single_end/Undetermined_S0_L001_I1_001.fastq.gz
    q2_types/feature_data/tests/data/emp_multiplexed_single_end/Undetermined_S0_L001_R1_001.fastq.gz
    q2_types/multiplexed_sequences/tests/data/Human-Kneecap_S1_L001_R1_001.fastq.gz
    q2_types/multiplexed_sequences/tests/data/forward.fastq.gz
    q2_types/multiplexed_sequences/tests/data/reverse.fastq.gz
    q2_types/multiplexed_sequences/tests/data/s1-phred64.fastq.gz
    q2_types/per_sample_sequences/tests/data/0.10_S2_L001_R1_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/1_S1_L001_R1_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/Human-Armpit.fastq.gz
    q2_types/per_sample_sequences/tests/data/Human-Armpit_S2_L001_R1_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/Human-Armpit_S2_R1_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/Human-Kneecap_S1_L001_R1_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/Human-Kneecap_S1_R1_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/incomplete-quality.fastq.gz
    q2_types/per_sample_sequences/tests/data/incomplete-sep.fastq.gz
    q2_types/per_sample_sequences/tests/data/incomplete-sequence.fastq.gz
    q2_types/per_sample_sequences/tests/data/invalid-quality.fastq.gz
    q2_types/per_sample_sequences/tests/data/invalid-sep.fastq.gz
    q2_types/per_sample_sequences/tests/data/mixed-case.fastq.gz
    q2_types/per_sample_sequences/tests/data/not-fastq.fastq.gz
    q2_types/per_sample_sequences/tests/data/partial-record.fastq.gz
    q2_types/per_sample_sequences/tests/data/s1-phred64.fastq.gz
    q2_types/per_sample_sequences/tests/data/s2-phred64.fastq.gz
    q2_types/per_sample_sequences/tests/data/different_file_names/sample_b_S00_L001_R2_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/different_file_names/sample_b_S02_L001_R1_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/paired_end_data/Human-Kneecap_S1_L001_R2_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/paired_end_data_numeric/0.10_S2_L001_R2_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/paired_end_data_numeric/1_S1_L001_R2_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/paired_end_data_overlapping_ids/sample_51_S26_L001_R1_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/paired_end_data_overlapping_ids/sample_51_S26_L001_R2_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/paired_end_data_overlapping_ids/sample_5_S771_L001_R1_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/paired_end_data_overlapping_ids/sample_5_S771_L001_R2_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/unmatched_paired_end/sample-name-1_S1_L001_R1_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/unmatched_paired_end/sample-name-1_S1_L001_R2_001.fastq.gz
    q2_types/per_sample_sequences/tests/data/bowtie/maps-invalid/sample1.bam
    q2_types/per_sample_sequences/tests/data/bowtie/maps-invalid/sample2.bam
    q2_types/per_sample_sequences/tests/data/bowtie/maps-legacy/sample1_alignment.bam
    q2_types/per_sample_sequences/tests/data/bowtie/maps-legacy/sample2_alignment.bam
    q2_types/per_sample_sequences/tests/data/bowtie/maps-multi/sample1/map1.bam
    q2_types/per_sample_sequences/tests/data/bowtie/maps-multi/sample1/map2.bam
    q2_types/per_sample_sequences/tests/data/bowtie/maps-multi/sample2/map1.bam
    q2_types/per_sample_sequences/tests/data/bowtie/maps-multi/sample2/map2.bam
    q2_types/per_sample_sequences/tests/data/bowtie/maps-single/sample1.bam
    q2_types/per_sample_sequences/tests/data/bowtie/maps-single/sample2.bam
    q2_types/reference_db/tests/data/ncbi/too_many_cols.gz
    q2_types/reference_db/tests/data/ncbi/wrong_accession.gz
    q2_types/reference_db/tests/data/ncbi/wrong_accession_version.gz
    q2_types/reference_db/tests/data/ncbi/wrong_col.gz
    q2_types/reference_db/tests/data/ncbi/wrong_gi.gz
    q2_types/reference_db/tests/data/ncbi/wrong_taxid.gz
    q2_types/reference_db/tests/data/ncbi/db-valid/prot.accession2taxid.gz
    
  • Other binaries not flagged by the scan: the bowtie2 index files (*.bt2) under q2_types/per_sample_sequences/tests/data/bowtie/index-{valid,valid-with-dotfile,unorganized} are bowtie2-build products used to test Bowtie2IndexDirFmt, and q2_types/profile_hmms/tests/data/bacteria/bacteria.hmm.h3{f,i,m,p} is a pressed HMMER database used to test PressedProfileHmmsDirectoryFmt; both are test fixtures, not derived from code in the package.
  • .github/rubric.png is the image from the q2-setup-template recorded in .copier-answers.yml, covered by Files: *.
  • q2_types/feature_data/tests/data/dna-sequences-gisaid.fasta holds invented headers plus the public NCBI RefSeq record NC_045512.2 (SARS-CoV-2 Wuhan-Hu-1), not GISAID-restricted records; the other named datasets (chardonnay.map.txt, Human-Armpit*/Human-Kneecap* FASTQ) are the small tutorial fixtures upstream has always shipped.
  • Packaging read in full: debian/control, control.in, rules, changelog, q2-types.install, q2-types-examples.install, tests/control, tests/run-unit-test, README.test, source/format (3.0 quilt), patches/series and both patches, upstream/metadata, salsa-ci.yml and both lintian-overrides sets.
  • debian/control is the generated file and matches debian/control.in with @DEB_VERSION_UPSTREAM@ expanded to 2026.10 (the sed in debian/rules truncates 2026.10.0+dfsg to 2026.10); Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1.
  • The data split works: q2-types.install takes usr/lib/python3*/dist-packages/q2_types* and override_dh_install excludes /reference_db/tests/data with debhelper's -X (a plain substring match on the path), while q2-types-examples.install installs the same data files from debian/tmp; the autopkgtest's Depends: @ pulls both binaries, so the reference_db tests find their fixtures.
  • Test step is deliberately skipped: override_dh_auto_test is empty (commented-out FIXME) and the changelog documents it; the pytest run happens in debian/tests/run-unit-test, which copies the installed package to a temporary directory, probes each test module whose third-party import is missing and ignores only those, then runs pytest with --cov.
  • debian/rules' PYBUILD_BEFORE_TEST still calls setup.py develop, which this upstream no longer ships (pyproject only); it has no effect because the test step never runs, but it would break if the test step were re-enabled.
  • uscan found the packaged version as the newest upstream release (upstream 2026.10.0, packaged 2026.10.0+dfsg).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-2).

Not confirmed

  • qiime (>= 2026.10) cannot be satisfied by the archive: apt-cache shows qiime 2024.5.0-1 as the only available version. That is expected if the 2026.10 QIIME 2 stack is uploaded together, but until a matching qiime exists neither q2-types nor its autopkgtest can be installed.
  • The contents of good_eggnog/eggnog.db, eggnog.taxa.db and eggnog.taxa.db.traverse.pkl could not be inspected (binary files, deliberately not opened); if they are slices of the eggNOG database rather than synthetic fixtures, Files: * attributing them to the QIIME 2 team would need a second stanza.
  • No build was possible in this read-only review; the 0.0.0 metadata above is derived from pybuild's and setuptools' own code, not from an observed build log.

Proposed changes

None.

Uploader's response to the LLM review

I have added samtools to Depends in Git. The versioning issue is handled at build time which might be hard to parse for the LLM.
Please accept.

— Andreas Tille (tille), 3 days ago

Review Information

accepted — allocated to mechtilde 2 days ago, started 2 days ago, completed 2 days ago.

Final Comment

Other Reviews of this Package

VersionHashAllocatedCompletedReviewerStatusDetails
2026.10.0-1 3fd4e281… 2026-11-13 20:04 2026-11-13 20:04 mechtilde accepted VIEW

Back to Dashboard | View all reviews for this package