DFSG NEW Queue

DFSG, Licensing & New Packages Team

python-rnanorm 2.3.0-1

Package Information

DescriptionPython3 module for common RNA-seq normalization methods

rnanorm implements common RNA-seq normalization methods, both as sklearn-compatible classes and as a command line tool:

* CPM (counts per million) * UQ (upper quartile) * TMM (trimmed mean of M-values) * RLE (relative log expression) * CTF (counts trimmed mean) * CUF (counts median) * TPM (transcripts per million) * FPKM (fragments per kilobase million)

Normalization factors can optionally be computed from a set of skewing eroding genes (e.g. housekeeping genes).

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

New Package Report

.changes◂
DateMon, 16 Nov 2026 17:47:17 +0100
Sourcepython-rnanorm
Version2.3.0-1
Changed-ByAndreas Tille <tille@debian.org>
Architecturesource all
Distributionunstable
Changelog◂
python-rnanorm (2.3.0-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1154176)
.dsc◂
Sectionpython
Priorityoptional
Componentmain
Package-Listpython3-rnanorm deb python optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: RNAnorm
Upstream-Contact: Genialis, Inc. <dev-team@genialis.com>
Source: https://github.com/genialis/RNAnorm

Files: *
Copyright: Genialis, Inc.
License: Apache-2.0

Files: debian/*
Copyright: 2026 Andreas Tille <tille@debian.org>
License: Apache-2.0

License: Apache-2.0
 On Debian systems, the complete text of the Apache License, Version 2.0
 can be found in the file /usr/share/common-licenses/Apache-2.0.

DFSG Assistant LLM REVIEW 1 blocker, 1 important, 0 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-rnanorm version 2.3.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: No
  • Issues: 1 blocker, 1 important, 0 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 2 found

Licensing

The program itself is clean: upstream code, docs and tests are Apache-2.0 with Genialis, Inc. as the only declared holder, LICENSE is the full Apache-2.0 text, and debian/copyright is valid DEP-5 with the right common-licenses pointer. But two files installed with the package are third-party data — a GENCODE v26 annotation subset and a GTEx v8 expression subset — and Files: * attributes them to Genialis under Apache-2.0, naming neither their real source nor the terms under which they are redistributed. debian/copyright is therefore inaccurate for files shipped in the binary package, and no licence for the data can be checked against the DFSG from the source.

Packaging

Most of the packaging is in good order: debhelper compat 14 with a minimal pybuild rules file, no patches, correct generated runtime dependencies (dh_python3 maps click, numpy, pandas and scikit-learn from Requires-Dist; python3-pandera is explicitly listed and is in NEW), a valid autopkgtest-pkg-pybuild test, a sane changelog, and Standards-Version 4.7.4 against Policy 4.7.4.1. One dependency is misclassified: python3-setuptools-scm is marked <!nocheck> although it is the build-time version provider of this setuptools_scm project, so a nocheck build lacks it.

Issues

blocker licensing 1. debian/copyright names Genialis and Apache-2.0 for the third-party GENCODE annotation and GTEx expression data it ships ◂
  • Files: debian/copyright:6-8, src/rnanorm/files/gencode.v26.annotation.chr21.gtf.gz, src/rnanorm/files/gtex_lung.first30.chr21.csv.gz, src/rnanorm/files/prepare_gtex.py:76, src/rnanorm/files/prepare_gtex.py:82-83, src/rnanorm/datasets.py:64-65
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright: Files: * / Copyright: Genialis, Inc. / License: Apache-2.0; prepare_gtex.py: # https://www.gencodegenes.org/human/release_26.html and # https://gtexportal.org/home/datasets, .../gene_reads_2017-06-05_v8_lung.gct.gz
  • Problem: The two gzip files are subsets of other people's data, not Genialis's work: gencode.v26.annotation.chr21.gtf.gz is chr21 of the GENCODE v26 human annotation (GENCODE/Ensembl), and gtex_lung.first30.chr21.csv.gz is 30 lung samples of the GTEx v8 gene read counts (GTEx Consortium/Broad Institute). The catch-all stanza attributes both to Genialis under Apache-2.0 and says nothing about where they came from or under what terms they may be redistributed. Both are distributed in the source package and installed as package data (MANIFEST.in's recursive-include src/rnanorm/files, read by rnanorm.datasets.load_gtex), so they are shipped in a binary package without their copyright notices; Policy 2.3 and 12.5 require the copyright file to give their copyright and licence, and as written it gives the wrong holder and the wrong licence, leaving their DFSG status unestablished.
  • Fix: Add a stanza for the data (one covering both files or one each) with the real sources and holders — GENCODE/Ensembl (Wellcome Sanger Institute, EMBL-EBI and the GENCODE consortium) for the GTF, the GTEx Consortium/Broad Institute for the expression matrix — and the exact terms they are distributed under, including the licence text if it is not in /usr/share/common-licenses. If the terms cannot be shown to be DFSG-free, remove the data and the tests that use them.
important packaging 2. python3-setuptools-scm is marked <!nocheck> although the build backend needs it to determine the version ◂
  • Files: debian/control:15, pyproject.toml:4, pyproject.toml:15, pyproject.toml:81
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/control: python3-setuptools-scm <!nocheck>,; pyproject.toml: [build-system] requires = [ "setuptools >= 64.0.0", "setuptools_scm >= 6.4.0" ] and dynamic = ["version"] with [tool.setuptools_scm]
  • Problem: The source has no static version: dynamic = ["version"] is resolved by setuptools_scm, and the .orig tarball is a plain GitHub archive (genialis-RNAnorm-2929a3f) with no .git metadata or PKG-INFO. pybuild builds the wheel with python3 -m build --skip-dependency-check --no-isolation (dh-python's plugin_pyproject.py), i.e. against system packages, and dh-python only exports SETUPTOOLS_SCM_PRETEND_VERSION because python3-setuptools-scm is a build dependency (Buildsystem/pybuild.pm:151-162) — that variable is useless without the module. In a build with DEB_BUILD_OPTIONS=nocheck the package is not installed, so the version cannot be produced: such a build fails, or at best installs metadata with a bogus version. The dependency belongs to the build, not to the tests, so it must not be profile-restricted.
  • Fix: Remove <!nocheck> from python3-setuptools-scm. The remaining <!nocheck> entries (python3-click, python3-numpy, python3-pandas, python3-pandera, python3-sklearn, python3-pytest, python3-pytest-cov) are only needed by the test run and can stay.
Verified ◂
  • Read all of debian/: control, rules, changelog, copyright, salsa-ci.yml, source/format, upstream/metadata. There are no patches, .install/.links/.docs files, maintainer scripts or debian/tests.
  • Inventoried the 42 upstream files and grepped every text file for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/Permission is hereby granted/GNU General or Lesser Public/Apache License/Mozilla Public/public domain/All rights reserved/Creative Commons. The only licence text is LICENSE (Apache-2.0) and the only holder declared anywhere is Genialis, Inc.; no file carries its own notice.
  • src/rnanorm/files/gencode.v26.annotation.chr21.gtf.gz and gtex_lung.first30.chr21.csv.gz are gzip data and were not opened; prepare_gtex.py:76-83 identifies them as a chr21 GENCODE v26 annotation extract and the first 30 GTEx v8 lung gene-read samples, produced by that script; they are read by rnanorm.datasets.load_gtex and tests/test_datasets.py. Handled in the licensing issue above.
  • src/rnanorm/files/toy.gtf and toy_exp.csv are synthetic data (datasets.py calls the toy dataset 'made-up'); tests/files/*.tsv are numeric normalization factors produced with edgeR from the GTEx subset. Neither contains third-party code or a licence.
  • debian/copyright is DEP-5 with the correct Format: URL; Files: debian/* overrides the catch-all for the packaging files; Apache-2.0 is correctly referred to /usr/share/common-licenses/Apache-2.0 per Policy 12.5.
  • Standards-Version 4.7.4 against the reviewing system's Policy 4.7.4.1: the first two components match, so it is current enough.
  • Runtime dependencies: dh_python3 generates them from dist-info Requires-Dist (checked dh-python's pydist fallback: click→python3-click, numpy→python3-numpy, pandas→python3-pandas, scikit-learn→python3-sklearn), so the explicit only-for-pandera entry is needed (pandera has no pydist mapping) and not redundant. python3-pandera is not yet in the archive but is built by python-pandera 0.36.0-1 in NEW.
  • python3-sklearn 1.9.0 satisfies upstream's scikit-learn >= 1.6.0 requirement.
  • Testsuite: autopkgtest-pkg-pybuild is a real autodep8 test: /usr/share/autodep8/support/pybuild/generate emits the pybuild-autopkgtest test, and the Testsuite field is matched by autodep8's detect_by_control_field.
  • debian/changelog: 2.3.0-1, distribution unstable, initial release closing #1154176, dated Mon, 16 Nov 2026 (a Monday). debhelper-compat 14 with a plain dh $@ --buildsystem=pybuild; the tests run through pybuild because of export PYBUILD_TEST_PYTEST=1.
  • The packaging is otherwise ordinary: no patch series, Homepage and both Vcs fields point at the upstream repository and the Debian Med salsa repository, and no install or maintainer-script files are needed for this pure-Python package.
  • uscan found the packaged version as the newest upstream release (upstream 2.3.0, packaged 2.3.0).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • The two .gz files were not decompressed, so their actual contents and any embedded notices were not inspected; their provenance rests on prepare_gtex.py's download URLs and datasets.py.
  • The terms the GENCODE/Ensembl annotation and the GTEx v8 expression data are distributed under are stated nowhere in the package and could not be checked offline, so whether they are DFSG-free is not established by this review.
  • No build or autopkgtest was run. That a nocheck build lacks a usable version follows from reading pybuild's --no-isolation PEP 517 invocation and its SETUPTOOLS_SCM_PRETEND_VERSION handling, not from an observed failure.
  • I did not build a wheel to see the package-data file list; that the .gz files are installed rests on MANIFEST.in plus setuptools' include-package-data default for pyproject.toml projects.
Proposed changes ◂

None.

Uploader's response to the LLM review

IMHO scientific data should not be covered by any copyright and do not have a license. I think the d/copyright file is OK since the data files are assembled by upstream and simply belong to the package.

I have removed the nocheck from python3-setuptools-scm in Git.

— Andreas Tille (tille), 0 hours ago

Back to Dashboard | View all reviews for this package