DFSG NEW Queue

DFSG, Licensing & New Packages Team

upickle 4.4.3+ds-1

Package Information

DescriptionJSON and MessagePack serialization for Scala (Scala 2.13)

uPickle reads and writes Scala values as JSON or as binary MessagePack. Readers and writers for case classes and sealed hierarchies are derived at compile time. It is built from smaller libraries: ujson, a JSON parser, renderer and AST; upack, the same for MessagePack; and upickle-core, the visitor interfaces they share.

This package provides com.lihaoyi:upickle-core_2.13, ujson_2.13, upack_2.13, upickle-implicits_2.13 and upickle_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/upickle.git (browse)
Closes#1152802
Trackerhttps://tracker.debian.org/pkg/upickle
Uploaded2 hours ago

New Package Report

.changes◂
Sourceupickle
Version4.4.3+ds-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource all
Distributionunstable
DateThu, 05 Nov 2026 01:11:29 +0100
Changelog◂
upickle (4.4.3+ds-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1152802).
.dsc◂
Package-Listlibupickle-scala2.13-java deb java optional arch=all
libupickle-scala3-java deb java optional arch=all
Sectionjava
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: upickle
Upstream-Contact: Li Haoyi <haoyi.sg@gmail.com>
Source: https://github.com/com-lihaoyi/upickle
Files-Excluded:
 exampleJson
Comment: exampleJson holds JSON dumps of third-party web APIs and sites
 (tweets, Reddit, GitHub, news) with no stated licence. Only tests and the
 benchmark read them.

Files: *
Copyright: 2016 Li Haoyi (haoyi.sg@gmail.com)
 2020-2025 Lorenzo Gabriele <lorenzolespaul@gmail.com>
 2024-2025 Yoonjae Jeon <yoonjae.jeon@devsisters.com>
 2025 Jamie Thompson <bishbashboshjt@gmail.com>
License: Expat
Comment: JsonTests.scala embeds json.org's JSON_checker pass1 test vector and
 SmallJsonTests.scala one EU Transparency Register record: factual test data.

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

Files:
 upickle/core/src-2.12/upickle/core/compat/package.scala
Copyright: 2002-2021 EPFL
 2011-2021 Lightbend, Inc.
License: Apache-2.0
Comment: Scala 2.12 only, not built.

Files:
 ujson/src/ujson/ByteArrayParser.scala
 ujson/src/ujson/ByteBufferParser.scala
 ujson/src/ujson/CharSequenceParser.scala
 ujson/src/ujson/StringParser.scala
 ujson/json4s/src/ujson/json4s/Json4sJson.scala
 ujson/resources/utf8.json
 ujson/templates/ElemParser.scala
 ujson/test/src-jvm/ujson/FileTests.scala
 ujson/test/src-jvm/ujson/JvmTestUtil.scala
 ujson/test/src/ujson/SyntaxTests.scala
 ujson/test/src/ujson/TestUtil.scala
 upickle/core/src/upickle/core/NoOpVisitor.scala
 upickle/core/templates/ElemUtils.scala
Copyright: 2016 Li Haoyi (haoyi.sg@gmail.com)
 2012-2022 Erik Osheim
License: Expat
Comment: ujson is a fork of Jawn, https://github.com/typelevel/jawn.

Files:
 ujson/templates-jvm/DoubleToDecimalElem.java
 ujson/templates-jvm/FloatToDecimalElem.java
Copyright: 2018-2020 Raffaello Giulietti
License: Expat
Comment: Schubfach, via jackson-core.

Files:
 ujson/src-jvm/ujson/MathUtils.java
Copyright: 2018-2020 Raffaello Giulietti
 2017 Andriy Plokhotnyuk, and respective contributors
License: Expat
Comment: Schubfach, via jackson-core; multiplyHigh ported from jsoniter-scala.

Files:
 upickle/testSlow/src/upickletest/SlowTests.scala
Copyright: 2016 Li Haoyi (haoyi.sg@gmail.com)
 2017-2023 Andriy Plokhotnyuk, and respective contributors
License: Expat
Comment: zeroHashCodeStrings is copied from jsoniter-scala's benchmark
 HashCodeCollider.scala, for https://github.com/com-lihaoyi/upickle/issues/416.

Files:
 ujson/templates/BaseElemRenderer.scala
Copyright: 2016 Li Haoyi (haoyi.sg@gmail.com)
 1994-2021 Oracle and/or its affiliates
License: Expat and GPL-2 with Classpath exception
Comment: appendIntString0, appendLongString0 and the DigitTens and DigitOnes
 tables are translated from OpenJDK's java.lang.Integer and java.lang.Long.
 Reported upstream: https://github.com/com-lihaoyi/upickle/issues/727

Files:
 upickle/core/src/upickle/core/RenderUtils.scala
Copyright: 2016 Li Haoyi (haoyi.sg@gmail.com)
 2012-2022 Erik Osheim
 1994-2021 Oracle and/or its affiliates
 2019 Stack Overflow user 355491
License: Expat and GPL-2 with Classpath exception and CC-BY-SA-4.0
Comment: intStringSize and longStringSize are translated from OpenJDK's
 java.lang.Integer and java.lang.Long; the UTF-8 loop of escapeByte is from
 https://stackoverflow.com/a/9670279 (revision of 2019-01-16); the hex
 table is from Jawn. Reported upstream:
 https://github.com/com-lihaoyi/upickle/issues/727

Files:
 upack/test/resources/cases.json
 upack/test/resources/cases.msg
 upack/test/resources/cases_compact.msg
Copyright: 2008-2015 Sadayuki Furuhashi
License: Apache-2.0
Comment: From msgpack-ruby's spec directory, unchanged.

Files:
 upack/test/src/upack/MsgPackTests.scala
Copyright: 2016 Li Haoyi (haoyi.sg@gmail.com)
 2017-2018 Yusuke Kawasaki
License: Expat
Comment: The test cases are from https://github.com/kawanet/msgpack-test-suite.

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: CC-BY-SA-4.0
 Creative Commons Attribution-ShareAlike 4.0 International.
 .
 On Debian systems, the complete text of the license can be found in
 "/usr/share/common-licenses/CC-BY-SA-4.0".

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.

License: GPL-2 with Classpath exception
 This code is free software; you can redistribute it and/or modify it
 under the terms of the GNU General Public License version 2 only, as
 published by the Free Software Foundation. Oracle designates this
 particular file as subject to the "Classpath" exception as provided
 by Oracle in the LICENSE file that accompanied this code.
 .
 This code is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
 version 2 for more details (a copy is included in the LICENSE file that
 accompanied this code).
 .
 On Debian systems, the complete text of the GNU General Public License
 version 2 can be found in "/usr/share/common-licenses/GPL-2".
 .
 "CLASSPATH" EXCEPTION TO THE GPL
 .
 Certain source files distributed by Oracle America and/or its affiliates are
 subject to the following clarification and special exception to the GPL, but
 only where Oracle has expressly included in the particular source file's
 header the words "Oracle designates this particular file as subject to the
 "Classpath" exception as provided by Oracle in the LICENSE file that
 accompanied this code."
 .
 Linking this library statically or dynamically with other modules is
 making a combined work based on this library. Thus, the terms and
 conditions of the GNU General Public License cover the whole combination.
 .
 As a special exception, the copyright holders of this library give you
 permission to link this library with independent modules to produce an
 executable, regardless of the license terms of these independent modules,
 and to copy and distribute the resulting executable under terms of your
 choice, provided that you also meet, for each linked independent module,
 the terms and conditions of the license of that module. An independent
 module is a module which is not derived from or based on this library. If
 you modify this library, you may extend this exception to your version of
 the library, but you are not obligated to do so. If you do not wish to do
 so, delete this exception statement from your version.

DFSG Assistant LLM REVIEW 1 blocker, 0 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 upickle version 4.4.3+ds-1

Summary

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

Licensing

All licences in the tree are DFSG-free and debian/copyright is unusually thorough: it names the Jawn, Schubfach, jsoniter-scala, OpenJDK, Stack Overflow, msgpack-ruby, kawanet and mill sources, it covers every in-file notice, and the one holder the pre-scan flagged (haoyi.sg@gmail.com in LICENSE) is the Li Haoyi named in Files: *. However, one file that is compiled into both binary packages, upickle/core/src/upickle/core/RenderUtils.scala, is declared under GPL-2-only (OpenJDK-derived methods) and CC-BY-SA-4.0 (Stack Overflow-derived loop) at the same time. Those two sets of terms cannot both be satisfied, so the package as licensed cannot be distributed; apart from that the file is accurate and complete.

Packaging

The packaging is careful and follows current practice: debhelper compat 14 with dh-sequence-scala, a pre-configure generator for build.mill's generated sources, a clean source tree after clean, two DEP-3 patches that only modify files, and a +ds repack matching Files-Excluded. Every Build-Depends and autopkgtest dependency named exists in the archive (or is this package), the <!nocheck> marks are confined to the test override (which dh skips at compat 14 and which is also guarded), and ${misc:Depends}/${scala:Depends} are relationship substvars dh_gencontrol adds itself. Standards-Version 4.7.4 matches Policy 4.7.4.1, the changelog and Vcs-*/gbp.conf are sane, and the three autopkgtest stanzas parse and are supported. No packaging fault found.

Issues

blocker licensing 1. RenderUtils.scala is declared under GPL-2-only and CC-BY-SA-4.0, an incompatible combination ◂
  • Files: debian/copyright:82-92, upickle/core/src/upickle/core/RenderUtils.scala
  • Basis: inferred from what was read, not seen directly
  • Evidence: debian/copyright: License: Expat and GPL-2 with Classpath exception and CC-BY-SA-4.0, whose GPL-2 paragraph grants use under the terms of the GNU General Public License version 2 only; GPL-2 says You may not impose any further restrictions on the recipients' exercise of the rights granted herein (/usr/share/common-licenses/GPL-2:193), while CC-BY-SA-4.0 §3(b)(1) requires the Adapter's License to be a Creative Commons license with the same License Elements ... or a BY-SA Compatible License (/usr/share/common-licenses/CC-BY-SA-4.0:276-280).
  • Problem: The file mixes intStringSize/longStringSize, translated from OpenJDK's java.lang.Integer/Long (GPL-2 only; the Classpath exception permits linking with independent modules, not incorporation of the code), with the escapeByte UTF-8 loop taken from a 2019 Stack Overflow answer (CC-BY-SA-4.0). GPL-2 forbids the ShareAlike condition as a further restriction, and CC-BY-SA-4.0 is compatible with GPL-3 but not GPL-2, so a single file containing both cannot be distributed under a coherent set of terms. RenderUtils.scala is in upickle-core's Sources (debian/scala-build), so it is compiled into libupickle-scala2.13-java and libupickle-scala3-java.
  • Fix: Have upstream remove or rewrite the Stack Overflow-derived loop (or relicense/rewrite the OpenJDK-derived methods) so the file is under one compatible licence set; upstream issue #727, cited in the copyright's Comment, already tracks the copying. Until that is done the file, and the jars containing it, cannot be shipped; if the snippet is considered uncopyrightable, its CC-BY-SA attribution should be dropped rather than declared.
Verified ◂
  • Read all of debian/: control, rules, changelog, copyright, scala-build, generate-sources, run-tests, clean, gbp.conf, salsa-ci.yml, lrc.config, source/format, patches/{0001,0002,series}, tests/{control,compile-and-run,UpickleTest.scala}, test-runner/RunTests.scala and poms/*.pom.xml.
  • Inventoried the whole upstream tree (top level, .github, bench, project, ujson, upack, upickle/{core,implicits,jsonschema,src*,test,testNonUtf8,testSlow}, upickleReadme) and grepped all of it for Copyright/(C)/©/SPDX/Licensed under/GNU/Apache/MPL/public domain/All rights reserved and for provenance comments.
  • upack/test/resources/cases.msg and upack/test/resources/cases_compact.msg are MessagePack encodings of the adjacent upack/test/resources/cases.json (msgpack-ruby's spec, Apache-2.0, Sadayuki Furuhashi, per the copyright stanza); test-only, not referenced by scala-build and not installed, and their source form is present in the same directory.
  • The only holder the pre-scan flagged, haoyi.sg@gmail.com (LICENSE:1), is the same Li Haoyi named in Files: * as 2016 Li Haoyi (haoyi.sg@gmail.com); no holder in the tree is missing from debian/copyright.
  • All Files patterns match existing paths and the catch-all Files: * precedes every override; Files-Excluded: exampleJson matches an absent directory, referenced only by build.mill, the tests and bench.
  • In-file notices found (LICENSE; ujson/src-jvm/ujson/MathUtils.java; ujson/templates-jvm/{Double,Float}ToDecimalElem.java; upickle/core/src-2.12/upickle/core/compat/package.scala) are covered by stanzas, and the unheaded third-party code (Jawn, OpenJDK, Stack Overflow, jsoniter-scala, msgpack-ruby, kawanet, mill) is recorded. Expat and GPL-2 with Classpath exception on ujson/templates/BaseElemRenderer.scala is a compatible combination.
  • Licence texts: Expat is reproduced in full; Apache-2.0, GPL-2 and CC-BY-SA-4.0 point to /usr/share/common-licenses files that exist, and every short name used is defined.
  • apt-cache: debhelper-compat (= 14), dh-sequence-scala (scala-debian-helper 0.1), libgeny-scala2.13/3-java 1.1.1, libutest-scala2.13/3-java 0.9.5, libsbt-test-interface-java 1.0, libscala-collection-compat-scala2.13/3-java 2.14.0, libsourcecode-scala2.13/3-java 0.4.4, scala-2.13 2.13.18 and scala3 3.9.0 all exist; utest pulls in sbt-test-interface, collection-compat and sourcecode, so the autopkgtest Depends are satisfiable transitively.
  • Standards-Version 4.7.4: first two components match the reviewing system's Policy 4.7.4.1.
  • Both patches carry Description/Author/Forwarded/Last-Update DEP-3 headers and modify existing files only; no patch creates a file.
  • Compat 14: ${misc:Depends} and ${scala:Depends} are relationship substvars dh_gencontrol adds itself; the execute_after_dh_auto_test override is skipped by dh under nocheck and is also guarded by an ifeq, and each <!nocheck> build-dependency is used only inside that override (libsbt-test-interface and utest/sourcecode/collection-compat are test-only).
  • debian/tests/control has three parseable stanzas: an inline scala-debian-helper smoke test, Tests: compile-and-run (and debian/tests/compile-and-run exists), and an inline upstream-tests command; the changelog is 4.4.3+ds-1 unstable with the initial-release ITP closure and matches the +ds repack.
  • upickleReadme/resources/favicon.png is a PNG image covered by Files: * (Expat, Li Haoyi); upickleReadme is not built or installed and no separate notice exists for the image.
  • uscan found the packaged version as the newest upstream release (upstream 4.4.3, packaged 4.4.3+ds).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0, CC-BY-SA-4.0, GPL-2).
Not confirmed ◂
  • No build, test or autopkgtest run was possible; the packaging judgement assumes the sbuild and autopkgtest results are green, as instructed.
  • Whether json.org's JSON License ('Good, not Evil') reaches the 'JSON Test Pattern pass1' vector embedded in ujson/test/src/ujson/JsonTests.scala could not be checked; no such wording is in the package and debian/copyright records it as factual test data.
  • Whether dh_scala rewrites installed POM dependency versions could not be checked (scala-debian-helper is not installed on the reviewing system); as written debian/poms pin scala-library 2.13.16 and scala3-library_3 3.3.7, while the archive has 2.13.18 and 3.9.0.
  • File modes are not shown by the archive listing; debian/run-tests, debian/generate-sources and debian/tests/compile-and-run were assumed executable.
  • Why the model asked for what a review has no use for. During this review it asked once for something outside the package and the reviewing system (another file of the sandbox, or a URL), or was given part of the review tooling's own configuration, and that was refused or withheld. A model does this when something it has read tells it to, so look in the package for text addressed to a reviewing program, and treat this report with suspicion. Refused: read: "help://read/sources" is not a file of the package or of the reviewing system.
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

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

Back to Dashboard | View all reviews for this package