DFSG NEW Queue

DFSG, Licensing & New Packages Team

utest 0.9.5-1

Package Information

Descriptionsimple testing framework for Scala (Scala 2.13)

uTest is a small test framework for Scala. Tests are nested blocks of code in a TestSuite object, and assert shows the values of the variables in a failing expression. It runs under sbt, Mill and other tools through the sbt test interface.

This package provides com.lihaoyi:utest_2.13, built for Scala 2.13.

MaintainerDebian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Sponsortsimonq2@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/java-team/utest.git (browse)
Closes#1152798
Trackerhttps://tracker.debian.org/pkg/utest
Uploaded2 hours ago

New Package Report

.changes◂
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource all
Distributionunstable
DateMon, 16 Nov 2026 19:03:37 +0100
Sourceutest
Version0.9.5-1
Changelog◂
utest (0.9.5-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1152798).
.dsc◂
Priorityoptional
Componentmain
Package-Listlibutest-scala2.13-java deb java optional arch=all
libutest-scala3-java deb java optional arch=all
Sectionjava
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: utest
Upstream-Contact: Li Haoyi <haoyi.sg@gmail.com>
Source: https://github.com/com-lihaoyi/utest
 The two components come from https://github.com/com-lihaoyi/fansi (tag
 0.5.1) and https://github.com/com-lihaoyi/PPrint (tag 0.9.5).
Comment:
 The main tarball is upstream's git tag as is. The components keep only
 the library sources and LICENSE, cut by uscan with Files-Included-*.
Files-Excluded-fansi: *
Files-Included-fansi:
 fansi/src
 LICENSE
Files-Excluded-pprint: *
Files-Included-pprint:
 pprint/src*
 LICENSE

Files: *
Copyright: 2014-2026 Li Haoyi <haoyi.sg@gmail.com>
License: Expat
Comment: LICENSE is the MIT template with its placeholders left in; the
 holder is the author of the project and of most of its git history.
 GoldenFix.lineNumberLookup comes from fastparse, also Li Haoyi's (Expat).

Files: utest/src/utest/shaded/stringdiff/*
 utest/test/src/test/utest/StringDiffTests.scala
Copyright: 2020 Iurii Malchenko
 2026 Li Haoyi <haoyi.sg@gmail.com>
License: Expat
Comment: Copied from stringdiff 0.3.4 (https://github.com/tulz-app/stringdiff)
 and modified; the tests are ported from its tests.

Files: utest/src-3-jvm/utest/framework/EnableReflectiveInstantiation.java
 utest/src-3-jvm/utest/framework/PortableScalaReflectExcerpts.scala
Copyright: 2013-2017 EPFL
License: BSD-3-clause
Comment: Copied from portable-scala-reflect
 (https://github.com/portable-scala/portable-scala-reflect), whose LICENSE
 gives this licence.

Files: mill
Copyright: 2019-2025 Tobias Roeser <le.petit.fou@web.de>
 2025 Li Haoyi <haoyi.sg@gmail.com>
License: Apache-2.0
Comment: Mill launcher, from https://github.com/lefou/millw via Mill's
 dist/scripts/src/mill.sh. Not used by the build.

Files: fansi/*
Copyright: 2016 Li Haoyi (haoyi.sg@gmail.com)
License: Expat

Files: pprint/*
Copyright: 2019 Li Haoyi
License: Expat
Comment: Util.literalize comes from uPickle, also Li Haoyi's (Expat).

Files: debian/*
Copyright: 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: Expat

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the license can be found in
 "/usr/share/common-licenses/Apache-2.0".

License: BSD-3-clause
 All rights reserved.
 .
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
 .
     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * 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.
     * Neither the name of the EPFL 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 OWNER 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: 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 0 blocker, 0 important, 1 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 utest version 0.9.5-1

Summary

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

Licensing

debian/copyright is DEP-5 and complete. Files: * (Expat, Li Haoyi) covers the utest tree, with later overrides for the three genuinely third-party pieces: the vendored stringdiff code and its ported test (Iurii Malchenko, Expat), the portable-scala-reflect excerpts compiled into both JVM jars (EPFL, BSD-3-clause, full text given), and the unused Mill launcher (Apache-2.0, pointed at /usr/share/common-licenses). The fansi 0.5.1 and pprint 0.9.5 component tarballs carry their own MIT/Expat LICENSEs naming 2016/2019 Li Haoyi, matching their stanzas; their sources are shaded into the shipped jars, which MIT allows. All licences are free and mutually compatible; the strings and excerpts all reach a binary and are all named.

Packaging

Well-made packaging: debhelper compat 14 with the scala sequence addon, every Build-Depends exists in the archive, two arch:all cross-built jars with ${scala:Depends}, 3.0 (quilt) with two DEP-3 patches that only touch existing files, the fansi/pprint components as extra orig tarballs documented in README.source and gbp.conf, generated shaded sources kept in debian/shaded and removed by debian/clean, upstream tests run at build time (with a nocheck guard) and again from the installed jars in two autopkgtests, and a changelog closing the ITP. Standards-Version 4.7.4 matches current Policy. No maintainer scripts, no missing substvars, no dead dependency found.

Issues

minor packaging 1. Files-Excluded is set but the version carries no repack suffix ◂
  • Files: debian/copyright, debian/changelog, debian/watch
  • Basis: found by the review tooling's own checks
  • Evidence: 0.9.5-1
  • Problem: debian/copyright has Files-Excluded, so uscan repacks the upstream tarball, but the version in debian/changelog does not say so with a suffix such as +dfsg or +ds, as is the convention for a tarball that differs from upstream's.
  • Fix: Add the suffix to the version, and Repacksuffix to debian/watch.
Verified ◂
  • The prescan's dfsg-author-check reported that every copyright holder it found in the 134 scanned files is named in debian/copyright, and listed no file for me to account for.
  • debian/copyright read in full: header (Upstream-Name utest, Source with the two component URLs, uscan's Files-Excluded/Included for the components) and stanzas Files: * (Li Haoyi, Expat), utest/src/utest/shaded/stringdiff/* plus utest/test/src/test/utest/StringDiffTests.scala (2020 Iurii Malchenko, 2026 Li Haoyi, Expat), the two portable-scala-reflect files (2013-2017 EPFL, BSD-3-clause with full text), mill (Tobias Roeser/Li Haoyi, Apache-2.0 with pointer to /usr/share/common-licenses/Apache-2.0), fansi/*, pprint/*, debian/*; stand-alone paragraphs give the full Expat and BSD-3-clause texts.
  • Top-level LICENSE is the MIT template with literal <year> <copyright holders>; Files: *'s Comment says so and names Li Haoyi as the author of the project and of most of its history. fansi/LICENSE (2016 Li Haoyi, haoyi.sg@gmail.com) and pprint/LICENSE (2019 Li Haoyi) match their stanzas exactly.
  • Vendored code checked in place: utest/src/utest/shaded/stringdiff/ (including format/ and util/) carries no licence header of its own and is covered by the stringdiff stanza, which is placed after Files: *; the ported test utest/test/src/test/utest/StringDiffTests.scala:8 says Ported from https://github.com/tulz-app/stringdiff and is named in the same stanza. utest/src-jvm/utest/framework/GoldenFix.scala:14 (vendored from ... fastparse/.../Util.scala) and pprint/pprint/src/pprint/Util.scala (copied verbatim from the uPickle source code) are the same author's Expat code and are recorded in the Comments.
  • utest/src-3-jvm/utest/framework/PortableScalaReflectExcerpts.scala:7 says Copy-pasted from Portable Scala Reflect and EnableReflectiveInstantiation.java is the renamed annotation; both are in debian/scala-build's Sources for both jars and both are covered by the BSD-3-clause stanza.
  • grep over utest/, fansi/, pprint/, build.mill, readme.md and .github/ for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/Permission is hereby granted/GNU .../Apache License/Mozilla Public/public domain/All rights reserved found only the two component LICENSEs and the mill Apache header, so no file carries an unnoticed licence or holder.
  • fansi/ and pprint/ hold only their LICENSE and the upstream src* trees; debian/shade copies them into debian/shaded/{2.13,3} with package utest.shaded and the same textual rewrites upstream's build.mill performs, which Expat permits.
  • mill (Apache-2.0 launcher, Script Version: 1.0.0-M1-21-..., generated upstream from dist/scripts/src/mill.sh) is not used by debian/rules and is not installed; build.mill, .gitignore, .github/FUNDING.yml, .github/dependabot.yml, .github/workflows/actions.yml and readme.md are upstream project/CI files under Files: *.
  • docs/Golden.png, docs/PrettyPrint.png and docs/StackHighlight.png are binary images referenced from readme.md as terminal screenshots; not opened, not built, not installed, covered by Files: *.
  • All of debian/ read except watch: control, rules, changelog, clean, gbp.conf, README.source, salsa-ci.yml, scala-build, shade, source/format, poms/utest_{2.13,3}.pom.xml, both patches and series, tests/{control,smoke,upstream-tests}, tests/runner/RunTests.scala.
  • apt-cache: dh-sequence-scala is provided by scala-debian-helper 0.1; scala-2.13 2.13.18+ds2-3, scala3 3.9.0+ds2-3, libsbt-test-interface-java 1.0+repack-1, libsourcecode-scala{2.13,3}-java 0.4.4-1, libscala-collection-compat-scala{2.13,3}-java 2.14.0-1 all exist. The binary names debian/rules queries (scala-library-2.13, scala3-library) are real packages too.
  • Policy 4.7.4.1 is the reviewing system's Policy; Standards-Version 4.7.4 has the same first two components, so it is current. debhelper compat 14: naming ${misc:Depends}/${scala:Depends} is harmless, and execute_after_dh_auto_test is a hook dh itself skips under nocheck at this level and which the file also guards with ifeq (,$(filter nocheck,...)); no Build-Depends is marked <!nocheck>.
  • Patches have DEP-3 headers (Description, Author, Forwarded, Last-Update) and modify only existing files; 0001 makes the 2.13 build use utest's own EnableReflectiveInstantiation/PortableScalaReflectExcerpts instead of the unpackaged portable-scala-reflect and adapts the import for 2.13, 0002 adjusts one Scala 3 compile-error expectation for 3.9. The tree's copies of the patched files match the patches.
  • debian/scala-build and debian/rules agree: sources per artifact exist, the utest-tests artifacts are Install: no and supply the classes debian.utest.RunTests executes, shaded and generated BuildInfo directories are under debian/shaded/ and removed by debian/clean, and the jar names in debian/rules and both autopkgtest scripts are consistent (utest-2.13/utest-3, sourcecode-2.13/sourcecode-3, scala-collection-compat_2.13/_3, sbt-test-interface).
  • changelog: 0.9.5-1, unstable, urgency medium, closes #1152798, date Mon 16 Nov 2026 (a Monday); gbp.conf uses debian-branch/upstream-branch with both components; autopkgtest scripts write only under AUTOPKGTEST_TMP and read the installed jars.
  • uscan found the packaged version as the newest upstream release (upstream 0.9.5, packaged 0.9.5).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • scala-debian-helper is not installed on the reviewing system, so I could not read scala-build(5)/dh_scala: the build-directory layout debian/.dh-scala/_/classes, the ${scala:Depends} substvar, and the jar names assumed by debian/rules and the autopkgtest scripts (scala-library-3.jar, sourcecode-3.jar, scala-collection-compat_2.13.jar, sbt-test-interface.jar, and /usr/share/scala-debian-helper/Smoke.java) could not be checked against the helper. A build would show a wrong name as a missing file.
  • The upstream LICENSE files of stringdiff 0.3.4 and portable-scala-reflect are not shipped in the source package, so the Expat and BSD-3-clause short names in debian/copyright could not be compared with those projects' own licence files; the copyright file reproduces both texts.
  • debian/poms/*.pom.xml carry an unsubstituted @VERSION@ and nothing in debian/ references them; I assumed the scala helper installs them into the Maven repository with the version substituted (they are the dh-make-scala generated POMs), but could not verify this.
Proposed changes ◂

None.

Uploader's response to the LLM review

Only the two component tarballs are cut; the main tarball is upstream’s tag as is.
This will be fixed in git for the next upload and changing d/watch with repack

— Juan Manuel Méndez Rey (mendezr), 0 hours ago

Back to Dashboard | View all reviews for this package