Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: python3Packages.jsonconversion 0 -> 1 attrpath: python3Packages.jsonconversion Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/b80wnm4c6a6g3l92qkvx0yfawjd18jdq-packages.json.drv building '/nix/store/b80wnm4c6a6g3l92qkvx0yfawjd18jdq-packages.json.drv'... Going to be running update for following packages: - python3.14-jsonconversion-1.2.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.14-jsonconversion-1.2.1: UPDATING ... - python3.14-jsonconversion-1.2.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/jsonconversion/default.nix b/pkgs/development/python-modules/jsonconversion/default.nix index be1040d97b23..77b429e8bbf2 100644 --- a/pkgs/development/python-modules/jsonconversion/default.nix +++ b/pkgs/development/python-modules/jsonconversion/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "jsonconversion"; - version = "1.2.1"; + version = "2.0.0"; pyproject = true; src = fetchFromGitHub { owner = "DLR-RM"; repo = "python-jsonconversion"; tag = version; - hash = "sha256-yWRpILAkwCvgh5bMiN9/XmS6U9zIQdDS8KVeTYxzDDw="; + hash = "sha256-Pg6IO7i5XgDhxni0Ft8peyMPAEpLh6eR78VHT2B4WeE="; }; build-system = [ pdm-backend ]; No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python3Packages.jsonconversion nix build failed. raise ValueError(f"Unrecognized serialized type '{e}'")  # Check whether object is a type if type(obj) is type: return locate(string_value)  # Check whether object is a class if isclass(obj): return obj  # Raise error if none is the case > raise ValueError(f"Not allowed to import untrusted class: {string_value}") E ValueError: Not allowed to import untrusted class: test_types.Custom /nix/store/xaxd7piryk1mk6b5jm3z93fn61xgj9gw-python3.14-jsonconversion-2.0.0/lib/python3.14/site-packages/jsonconversion/conversion.py:62: ValueError ----------------------------- Captured stdout call ----------------------------- Conversion: => {"__type__": "test_types.Custom"} =========================== short test summary info ============================ FAILED test/test_builtins.py::test_objects - ValueError: Not allowed to import untrusted class: builtins.object FAILED test/test_builtins.py::test_sets - ValueError: Unrecognized serialized class: builtins.tuple FAILED test/test_builtins.py::test_nested - ValueError: Unrecognized serialized class: builtins.set FAILED test/test_jsonobjects.py::test_simple_objects - ValueError: Unrecognized serialized class: test_jsonobjects.JO FAILED test/test_jsonobjects.py::test_nested_objects - ValueError: Unrecognized serialized class: test_jsonobjects.JO FAILED test/test_jsonobjects.py::test_complex_objects - ValueError: Not allowed to import untrusted class: builtins.int FAILED test/test_ndarray.py::test_numbers - ValueError: Unrecognized serialized class: numpy.ndarray FAILED test/test_types.py::test_types - ValueError: Not allowed to import untrusted class: builtins.int FAILED test/test_types.py::test_nested_type - ValueError: Not allowed to import untrusted class: builtins.int FAILED test/test_types.py::test_class_type - ValueError: Not allowed to import untrusted class: test_types.Custom ================== 10 failed, 4 passed, 2 deselected in 0.37s ==================