DFSG NEW Queue

DFSG, Licensing & New Packages Team

python-peritheos 0.18.0+ds1-2

Package Information

Descriptionthermodynamic equations of state calculations

A Python library for thermodynamic equations of state calculations for solid materials.

Built-in EOS evaluation, inversion, bounded robust fitting, and uncertainty statistics are implemented in Rust and exposed through the established Python API. NumPy broadcasting and user-defined EosBase subclasses remain supported. The package includes PEP 561 typing metadata for type checkers and IDEs.

MaintainerDebian PaN Maintainers <debian-pan-maintainers@alioth-lists.debian.net>
Changed ByRoland Mas <lolando@debian.org>
Sponsorlolando@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/python-team/packages/python-peritheos.git (browse)
Trackerhttps://tracker.debian.org/pkg/python-peritheos
Uploaded16 days ago

New Package Report

.changes◂
Architecturesource amd64
Distributionunstable
DateThu, 19 Nov 2026 16:11:46 +0100
Sourcepython-peritheos
Version0.18.0+ds1-2
Changed-ByRoland Mas <lolando@debian.org>
Changelog◂
python-peritheos (0.18.0+ds1-2) unstable; urgency=medium
 .
   * Fix debian/copyright.
 .
 python-peritheos (0.18.0+ds1-1) UNRELEASED; urgency=medium
 .
   * Initial packaging.
.dsc◂
Componentmain
Package-Listpython3-peritheos deb python optional arch=any
Sectionpython
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Peritheos
Upstream-Contact: Clemens Prescher <clemens.prescher@gmail.com>
Source: https://github.com/CPrescher/peritheos
Files-Excluded:
 docs/data/fes-eosfit-version-audit/*
 docs/literature-reproductions/ismailova-2016-fe-bridgmanite.md
 output/*
 peritheos/data/datasets/*
 peritheos/data/third_party/*

Files: *
Copyright: 2026, Clemens Prescher <clemens.prescher@gmail.com>
License: Expat
Comment:
 Many data files mention various other licenses (mainly CC-BY-4.0),
 but these mentions only relate to the articles from which the data is
 extracted and not the datasets themselves.

Files: debian/*
Copyright: 2026, Roland Mas <lolando@debian.org>
License: Expat

License: Expat
 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 2 blocker, 0 important, 3 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 16 days ago.

Report◂

DFSG NEW review for python-peritheos version 0.18.0+ds1-2

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: No
  • Issues: 2 blocker, 0 important, 3 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 57 found, 14 not mentioned in this report

Licensing

The code is MIT/Expat and that text is present and complete, but debian/copyright is not accurate for the data half of this package. Its Files: * stanza declares Expat over the whole tree, including third-party works that are actually CC BY 4.0 (Katsura's MATLAB and workbook, Hu's PANGAEA workbook), which it neither attributes nor reproduces the licence text for; its Comment also asserts that the data files' licence mentions belong only to the cited articles, an assertion the upstream project contradicts in its own LICENSING.md and license inventory, which record hundreds of files as having unspecified source terms and say MIT/CC0 must not be inferred. Part of the source is therefore under no established licence.

Packaging

The packaging is mostly conventional (compat 13, dh with pybuild/maturin, salsa Vcs, autopkgtest-pkg-python, clean Rules, one binary package) but has a few real defects: the Rust crate dependency serde_json has no Build-Depends (librust-serde-json-dev), which no other declared build dependency pulls in, so cargo cannot resolve the crate from the Debian registry; the five patches carry no DEP-3 Forwarded/Description information; and the Debian-specific patch that stops shipping datasets also drops the ten COD CIFs and their notices while the installed LICENSING.md and calculated-pattern-inputs.json still point at them. Build-time tests are switched off by an empty override_dh_auto_test, leaving the large test suite to autopkgtest only.

Issues

blocker licensing 1. Files: * licenses CC BY 4.0 third-party works (Katsura MATLAB/xlsx, Hu PANGAEA xlsx) as Expat ◂
  • Files: debian/copyright, docs/data/forsterite-katsura-2022-sources/forsterite-katsura-2022-author-fitting.m, docs/data/forsterite-katsura-2022-sources/forsterite-katsura-2022-author-geotherm.m, docs/data/forsterite-katsura-2022-sources/forsterite-katsura-2022-source.xlsx, peritheos/data/research/cementite/hu-2019-pangaea-table1.xlsx
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright: Files: * / Copyright: 2026, Clemens Prescher / License: Expat. The package's own inventory disagrees: docs/data/license-inventory/files.csv:536-538 gives the two .m files and the workbook third_party_code_open,...,CC-BY-4.0,katsura-zenodo; docs/data/license-inventory-scopes.json:244-253 for the Hu workbook: "declared_license": "CC-BY-4.0" / "scope": "PANGAEA observations and original workbook; not an article-wide grant."
  • Problem: These four files are third-party works under CC BY 4.0, not the copyright holder's Expat grant, and the Debian source package ships them; the licence of a file is a fault wherever the file is, since the source package is distributed too. CC BY 4.0 requires the attribution and licence notice to be kept, and debian/copyright neither names Katsura or the PANGAEA authors as holders nor contains the CC BY 4.0 text (the copy under LICENSES/CC-BY-4.0.txt is not a substitute for a DEP-5 Licence paragraph; only /usr/share/common-licenses may be referenced). Policy 2.3 does not require these particular holders in /usr/share/doc, because docs/ and peritheos/data/research/ do not reach a binary package, but the wrong licence statement is a blocker regardless.
  • Fix: Add stanzas such as Files: docs/data/forsterite-katsura-2022-sources/* with Copyright: 2022, Tomoo Katsura and License: CC-BY-4.0, and a stanza for peritheos/data/research/cementite/hu-2019-pangaea-table1.xlsx naming the PANGAEA deposit's authors, plus a stand-alone License: CC-BY-4.0 paragraph with the full text (LICENSES/CC-BY-4.0.txt). Alternatively add these paths to Files-Excluded, but they are freely licensed and useful evidence, so documenting them is preferable.
blocker licensing 2. Blanket Expat claim covers data files upstream records as having unspecified source terms ◂
  • Files: debian/copyright, docs/data/basinski-1955-fcc-lattice.csv, docs/data/dorogokupets-2010-figure1-digitized.csv, docs/data/fei-2007-gold-residuals.csv, packages/core-LICENSING.md, peritheos/data/LICENSING.md
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright Comment: Many data files mention various other licenses (mainly CC-BY-4.0), but these mentions only relate to the articles from which the data is extracted and not the datasets themselves. Upstream, peritheos/data/LICENSING.md: For resources without a standalone notice or explicit metadata grant, source reuse terms remain unspecified. Do not infer MIT or CC0 from their directory, file format or the absence of another notice. and An unspecified source license is an unresolved packaging question, not a finding that the resource meets Debian's Free Software Guidelines. Its inventory agrees for shipped files: docs/data/license-inventory/files.csv:127: docs/data/basinski-1955-fcc-lattice.csv,...,source_terms_not_recorded,...,no blanket source license established (also lines 192 and 204 for dorogokupets-2010-figure1-digitized.csv and fei-2007-gold-residuals.csv).
  • Problem: The copyright file grants Expat over files whose own copyright holder (the Peritheos contributors) explicitly refuses to grant it, and whose underlying source rights are unresolved; up to 308 entries in the upstream inventory are in this state. Under Policy 2.3, a work with no statement of what is permitted is not permitted to be distributed or modified, so the DFSG status of that part of the source is unknown and the file misdescribes it. The Comment's premise is also wrong for the CC BY 4.0 cases: Zenodo 5644426 and PANGAEA 905474 are dataset deposits with their own grants, not article licences.
  • Fix: Do not assert Expat over the data. Either repack to drop the files whose source terms are unrecorded (Files-Excluded for the affected docs/data paths, as upstream's own inventory recommends), or document each group with its actual source terms and a Debian-legal assessment of whether the transcriptions are copyrightable facts; delete the misleading Comment either way. This needs resolution before the package can enter the archive.
minor packaging 3. Build-Depends omits librust-serde-json-dev, a declared dependency of crates/peritheos ◂
  • Files: debian/control:13-24, crates/peritheos/Cargo.toml:18-20, crates/peritheos/src/eosmat.rs:20
  • Basis: checked, in the package or with a reference tool
  • Evidence: crates/peritheos/Cargo.toml: serde_json = { version = "1", features = ["float_roundtrip"] }; crates/peritheos/src/eosmat.rs: use serde_json::Value;. debian/control lists only librust-numpy-dev and librust-rand-dev among the Rust crates. apt-cache: librust-numpy-dev 0.28.0-7 pulls pyo3 0.28, nalgebra and, through ndarray, rayon; librust-rand-dev 0.10.3 pulls serde with derive; none of that chain pulls serde_json, and librust-pyo3-dev 0.28.2 does not either. debian/rules runs cargo prepare-debian debian/cargo_registry --link-from-system, which only symlinks the crates installed in /usr/share/cargo/registry.
  • Problem: cargo resolves every dependency declared in the workspace, so the build needs the serde_json source to be present; with it absent from Build-Depends and not supplied transitively, resolution fails on a clean build. Build failures are at most a minor issue for this review, but this one is determinable from the package.
  • Fix: Add librust-serde-json-dev to Build-Depends (with the float_roundtrip feature it already provides), and consider listing pyo3/rayon/serde explicitly rather than relying on transitive build dependencies.
minor packaging 4. Patches carry no DEP-3 Forwarded or Description information ◂
  • Files: debian/patches/0001-Update-versioned-deps.patch, debian/patches/0003-Port-to-current-rand-crate.patch, debian/patches/0003-Skip-shipping-datasets.patch, debian/patches/0004-Don-t-ship-Cargo.lock.patch, debian/patches/0005-Stop-referencing-data-third_party.patch
  • Basis: checked, in the package or with a reference tool
  • Evidence: Each patch has only From:, Date: and Subject:; for example 0003-Skip-shipping-datasets.patch has no Forwarded:, Origin: or Bug: field, and 0001-Update-versioned-deps.patch changes numpy = "0.29.0" to 0.28.0 and pyo3 = "0.29.2" to 0.28.2 with no indication whether it was sent upstream.
  • Problem: Two patches (dependency versions, rand API port) could plausibly go upstream, and three are deliberately Debian-specific build-backend changes; without DEP-3 Forwarded headers a sponsor cannot tell which is which, and a later rebase cannot tell whether upstream has taken them.
  • Fix: Add Forwarded: not-needed to 0003-Skip-shipping-datasets, 0004-Don-t-ship-Cargo.lock and 0005-Stop-referencing-data-third_party, and Forwarded: <URL> (or not-needed with a reason) plus a short Description: to the dependency patches.
minor packaging 5. Installed LICENSING.md and calculated-pattern-inputs.json reference CIFs and notices that patch 0003 no longer installs ◂
  • Files: debian/patches/0003-Skip-shipping-datasets.patch:246-256, packages/core-LICENSING.md:16, peritheos/data/calculated-pattern-inputs.json:31
  • Basis: checked, in the package or with a reference tool
  • Evidence: The patch turns the copy of the ten pattern-source-cod-*.cif files and the notices calculated-patterns.LICENSE.md, cod-cif-sources.LICENSE.md, dioptas-materials.LICENSE.md, eos-structure-compilations.LICENSE.md, cif-license-review.json into pass, so peritheos/data/datasets/ is created empty. The installed guide still says See the [COD notice](datasets/cod-cif-sources.LICENSE.md), datasets/cif-license-review.json, and calculated-pattern-inputs.json still lists "resource": "datasets/pattern-source-cod-9007338.cif".
  • Problem: Wheel users get an empty peritheos/data/datasets/ directory, a licensing guide pointing at missing notices, and structure metadata pointing at CIFs that are not in the package. The COD CIFs are CC0 and the notices are the contributor's own MIT text, so dropping them was not required for licensing.
  • Fix: Keep installing the ten CC0 CIFs and the notice/license-review files (revert that hunk of 0003), or, if they are intentionally dropped, rewrite the installed guide and generated calculated-pattern-inputs.json so they do not reference them.
Verified ◂
  • debian/copyright read in full: DEP-5 with the exact 1.0 Format URL, Files: , Files: debian/, one stand-alone Expat paragraph; the Expat text is complete.
  • Files-Excluded matches the unpacked tree: peritheos/data/datasets/, peritheos/data/third_party/, output/ and the ismailova markdown are absent as claimed.
  • The restricted third-party payloads that docs/data/license-inventory-scopes.json flags as restricted_source (CC BY-NC 4.0, CC BY-NC-ND 4.0, e.g. peritheos/data/datasets/sakai-2025.csv, fe088sio3-bridgmanite-ismailova-2016-.csv) are not in this source package; only their licence declarations in docs/data/.json and *.eosmat metadata remain.
  • The eleven PDFs are generated figures, each with its generator in the tree: brucite-* by scripts/brucite_ambient_comparison.py, brucite_curved_expansion.py, brucite_joint_pv_errors.py, brucite_mgd_comparison.py, brucite_quadratic_pv_errors.py, brucite_staged_comparison.py, brucite_staged_continuous.py; fei-2007-platinum-fit-comparison.pdf by scripts/plot_fei_2007_platinum_refit.py; yokoo-2009-gold-thermal-reconstruction.pdf by scripts/fit_yokoo_2009_gold_thermal.py.
  • The two xlsx are not generated: they are third-party originals (Katsura Zenodo 5644426 workbook, Hu PANGAEA 905474 workbook), accounted for in the first issue.
  • The 44 'rare licence wording' hits are declarations about third-party sources, not licences of the files containing them: docs/data/license-inventory/, docs/research/.md, peritheos/data/materials/*.eosmat metadata fields (license, license_scope), test assertions (e.g. tests/test_license_inventory.py:55, tests/test_restricted_source_redistribution.py:48) and the detector regex in scripts/inventory_distribution_licenses.py:87-89.
  • Each remaining scanned wording hit is a recorded third-party declaration, not a term of the file itself: docs/data/license-inventory/catalog-components.csv:360,477 and rights-statements.csv:98,113,1531,1533 (licence/rights statements for cited articles); docs/data/numerical-redistribution-review.json:6352,8586,8715 and restricted-source-numerical-review.json:625,638,648 (source-rights assessments); docs/literature-reproductions/ma-2024-kcl.md:50, sakai-2025-gold.md:157, tranche-b-mineral-eos-audit.md:148, docs/research/license-inventory.md:155-156, numerical-dataset-redistribution.md:111, restricted-source-numerical-review.md:43-49 (prose explaining that the restricted article/supplement is not redistributed or that only numerical facts were used); peritheos/data/materials/fe088sio3_bridgmanite.eosmat:249-251, gold.eosmat:4502,4667,4721, iron.eosmat:8085, mgo.eosmat:6088, molybdenum.eosmat:1869, platinum.eosmat:4830, rhenium.eosmat:1415, tungsten.eosmat:1514 (license/license_scope metadata of the cited dataset); tests/test_ismailova_2016_fe_bridgmanite.py:64 (an assertion on that metadata string).
  • The dfsg-author-check names are not file copyright holders: 'American Institute of Physics; no separate open dataset grant established' and 'Japan Association of Mineralogical Sciences ...' are publisher names in rights notes/citations (peritheos/data/studies/argon-barker-1987.json:234, peritheos/data/materials/e_feooh.eosmat:265, docs/material-summaries/e_feooh.md:371), and |SPDX-License-Identifier|dual licensed|licensed under is a regex in scripts/generate_rust_notices.py:77,84.
  • LICENSES/CC-BY-4.0.txt, CC0-1.0.txt and LicenseRef-Peritheos-Distribution.txt are present in the source tree; the latter two are not referenced by debian/copyright.
  • Packaging files read: control, rules, changelog, source/format, clean, pybuild.testfiles, salsa-ci.yml, upstream/metadata, all five patches and series. Compat 13, no maintainer scripts, no debian/tests/control; Testsuite is the autopkgtest-pkg-python shortcut.
  • Standards-Version 4.7.4 against Policy 4.7.4.1 (first two components match), no issue.
  • The <!nocheck> build dependencies are only used by tests: override_dh_auto_test: is empty (and at compat 13 dh skips it under nocheck), and nothing in peritheos_build.py, debian/rules or the maturin build invokes git, pytest, jsonschema, matplotlib, PIL or scipy; no nocheck build break.
  • apt-cache checked librust-numpy-dev (0.28.0-7), librust-rand-dev (0.10.3+ds-1), librust-pyo3-dev (0.28.2-2), librust-ndarray-dev (0.17.2-1), librust-nalgebra-dev (0.35.0-2), librust-rayon-dev (1.12.0-1), librust-serde-json-dev (1.0.154-1) and python3-maturin (1.16.0-1); the Debian versions match the patched Cargo.toml requirements, and only serde_json is missing from Build-Depends.
  • uscan found the packaged version as the newest upstream release (upstream 0.18.0, packaged 0.18.0+ds1).
Not confirmed ◂
  • autopkgtest: with Testsuite: autopkgtest-pkg-python, the upstream tests read peritheos/data/datasets/... (e.g. tests/test_belmonte_2017_mgo.py:51, tests/test_brown_nacl_1999_reconstruction.py:39), which this repack removes; whether the test run fails or skips (and whether pytest is even present in the test chroot, since there is no debian/tests/control) would show in an autopkgtest run.
  • The two Katsura .m files are not valid UTF-8, so their content was judged from docs/data/license-inventory/files.csv and the upstream notices rather than read directly; no review of their text was possible.
  • What these files are. The scan made before the review picked them out (built files, minified code, archives, licence wording that is rarely free, or licences that are not accepted), and this report does not mention them: docs/data/license-inventory/rights-statements.csv:98 (a Creative Commons NonCommercial or NoDerivatives licence); docs/data/restricted-source-numerical-review.json:625 (a Creative Commons NonCommercial or NoDerivatives licence); docs/literature-reproductions/sakai-2025-gold.md:157 (a Creative Commons NonCommercial or NoDerivatives licence); docs/literature-reproductions/tranche-b-mineral-eos-audit.md:148 (a Creative Commons NonCommercial or NoDerivatives licence); docs/research/calculated-reference-patterns.md:37 (a Creative Commons NonCommercial or NoDerivatives licence); docs/research/numerical-dataset-redistribution.md:111 (a Creative Commons NonCommercial or NoDerivatives licence); docs/research/restricted-source-numerical-review.md:43 (a Creative Commons NonCommercial or NoDerivatives licence); peritheos/data/materials/gold.eosmat:4502 (a Creative Commons NonCommercial or NoDerivatives licence); peritheos/data/materials/iron.eosmat:8085 (a Creative Commons NonCommercial or NoDerivatives licence); peritheos/data/materials/mgo.eosmat:6088 (a Creative Commons NonCommercial or NoDerivatives licence); peritheos/data/materials/molybdenum.eosmat:1869 (a Creative Commons NonCommercial or NoDerivatives licence); peritheos/data/materials/platinum.eosmat:4830 (a Creative Commons NonCommercial or NoDerivatives licence); peritheos/data/materials/rhenium.eosmat:1415 (a Creative Commons NonCommercial or NoDerivatives licence); peritheos/data/materials/tungsten.eosmat:1514 (a Creative Commons NonCommercial or NoDerivatives licence).
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.

Other Reviews of this Package

VersionHashAllocatedCompletedReviewerStatusDetails
0.18.0+ds1-1 daef2b2d… 2026-11-11 17:37 2026-11-11 17:37 dfsg-uploader rejected VIEW

Back to Dashboard | View all reviews for this package