Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: json-repair 0.55.2 -> 0.63.4 https://github.com/mangiucugna/json_repair/releases attrpath: json-repair 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/q89qww521j4hrb7r6y6pdq33mpl5ic3c-packages.json.drv building '/nix/store/q89qww521j4hrb7r6y6pdq33mpl5ic3c-packages.json.drv'... Going to be running update for following packages: - json-repair-0.55.2 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - json-repair-0.55.2: UPDATING ... - json-repair-0.55.2: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/json-repair/default.nix b/pkgs/development/python-modules/json-repair/default.nix index bc22f0b4c49e..13fe9140f1ca 100644 --- a/pkgs/development/python-modules/json-repair/default.nix +++ b/pkgs/development/python-modules/json-repair/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "json-repair"; - version = "0.55.2"; + version = "0.63.4"; pyproject = true; src = fetchFromGitHub { owner = "mangiucugna"; repo = "json_repair"; tag = "v${version}"; - hash = "sha256-CzoGu6JNOaqdLZK4DyDUv+TMIA+k9AlZZy1fKnpMbkE="; + hash = "sha256-VRRtL8X9egdqdz6Celw1CGGTuWd9YMVbq/uHwHtmv64="; }; build-system = [ setuptools ]; 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 json-repair nix build failed. return self._repair_union(value, schema["anyOf"], path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = value = '1', schemas = [{'type': 'integer'}, {'type': 'string'}], path = '$' def _repair_union(self, value: Any, schemas: list[dict[str, Any] | bool], path: str) -> JSONReturnType: last_error: Exception | None = None for subschema in schemas: try: candidate = self.repair_value(copy.deepcopy(value), subschema, path) self.validate(candidate, subschema) except ValueError as exc: last_error = exc else: return candidate if last_error: > raise ValueError(str(last_error)) from last_error E ValueError: jsonschema is required when using schema-aware repair. src/json_repair/schema_repair.py:306: ValueError =========================== short test summary info ============================ FAILED tests/test_schema_guided_parse.py::test_schema_preserves_prefixed_valid_json_string_content - ValueError: jsonschema is required when using schema-aware repair. FAILED tests/test_schema_parser_paths.py::test_parse_array_schema_missing_object_brace - ValueError: jsonschema is required when using schema-aware repair. FAILED tests/test_schema_parser_paths.py::test_parse_object_schema_pattern_extra_schemas - ValueError: jsonschema is required when using schema-aware repair. FAILED tests/test_schema_parser_paths.py::test_parse_object_schema_drop_property_and_additional_schema - ValueError: jsonschema is required when using schema-aware repair. FAILED tests/test_schema_parser_paths.py::test_parse_object_schema_closing_array_bracket_and_extra_brace - ValueError: jsonschema is required when using schema-aware repair. FAILED tests/test_schema_repairer.py::test_repair_value_missing_and_unions - ValueError: jsonschema is required when using schema-aware repair. ================== 6 failed, 228 passed, 76 skipped in 4.52s ===================