Repository navigation
Title: Bump nlohmann/json to v3.12.0 (clears stale Python pins flagged by dependency scanners) - #643
Merged
Merged
Conversation
Moves the vendored header-only json library from v3.11.2+8 (2022) to the v3.12.0 release. Only json/include is used by the build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Need to test it on all platforms |
Collaborator
|
Builds fine on Windows 11 and MacoOS. Was not able to build it on Ubuntu 24.04 (errors when building libtbb despite passing CI ...) |
Contributor
|
I've tested it today on Ubuntu working with step2. |
michalpelka
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Moves the
3rdparty/jsonsubmodule fromc920f3f4(v3.11.2+8, 2022) to55f93686, the upstream v3.12.0 release tag.The change is a single gitlink; no HDMapping source changes.
Why
HDMapping only uses
json/include, but the vendored 2022 snapshot also carries the json project's own Python toolingpins, and dependency scanners that recurse into submodules (OSV-Scanner, Trivy, Grype, ...) report them as advisories
against HDMapping:
docs/mkdocs/requirements.txtpins 50 packages from mid-2022. Versions with published advisories includenltk==3.7,GitPython==3.1.27,tornado==6.2andurllib3==1.26.11, next to equally oldrequests==2.28.1,certifi==2022.6.15,Jinja2==3.1.2andidna==3.3.tools/serve_header/requirements.txtpinswatchdog==2.1.7andPyYAML==6.0.At v3.12.0 the docs file is down to
mkdocsand its plugins at current versions (mkdocs==1.6.1,mkdocs-material==9.6.11,PyYAML==6.0.2, ...); the old pins are gone. None of these files is used by the HDMappingbuild; the bump removes them from the dependency surface that scanners see.
v3.12.0 is the current json release and also brings 221 upstream commits of fixes to the header itself.