Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: json-repair 0.64.1 -> 0.64.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/923kyh5dzcgg5jyrh0a2cfawcnqqz5p7-packages.json.drv
building '/nix/store/923kyh5dzcgg5jyrh0a2cfawcnqqz5p7-packages.json.drv'...
structuredAttrs is enabled
Going to be running update for following packages:
- json-repair-0.64.1
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- json-repair-0.64.1: UPDATING ...
- json-repair-0.64.1: 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 7b0cbe872a26..c20de2a580e7 100644
--- a/pkgs/development/python-modules/json-repair/default.nix
+++ b/pkgs/development/python-modules/json-repair/default.nix
@@ -10,14 +10,14 @@
buildPythonPackage (finalAttrs: {
pname = "json-repair";
- version = "0.64.1";
+ version = "0.64.4";
pyproject = true;
src = fetchFromGitHub {
owner = "mangiucugna";
repo = "json_repair";
tag = "v${finalAttrs.version}";
- hash = "sha256-ceWp6dz8YovvktIUIOAUP5pUIrBGbwiik9LaClRzLmo=";
+ hash = "sha256-I29YHGSxYGdTwszJisN5CYb9atZlnQnEXimBA4dDUME=";
};
build-system = [ setuptools ];
No auto update branch exists
Successfully finished processing
[check][nixpkgs-review]
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `68b6c248e7e9a0a335b1c220acaae66bca0c0906`
---
### `x86_64-linux`
:x: 3 packages failed to build:
- crewai
- python313Packages.crewai
- python314Packages.crewai
:white_check_mark: 10 packages built:
- json-repair
- oterm
- python313Packages.json-repair
- python313Packages.pydantic-ai-harness
- python313Packages.dspy
- python314Packages.dspy
- python313Packages.fnllm
- python314Packages.json-repair
- python314Packages.pydantic-ai-harness
- python314Packages.fnllm
Automatic update generated by [nixpkgs-update](https://github.com/NixOS/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for json-repair is: Module to repair invalid JSON, commonly used to parse the output of LLMs
meta.homepage for json-repair is: https://github.com/mangiucugna/json_repair/
meta.changelog for json-repair is: https://github.com/mangiucugna/json_repair/releases/tag/v0.64.4
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 0.64.4 with grep in /nix/store/by7f1dbf4r611p7igmvmzqxidsicv5hd-python3.14-json-repair-0.64.4
- found 0.64.4 in filename of file in /nix/store/by7f1dbf4r611p7igmvmzqxidsicv5hd-python3.14-json-repair-0.64.4
---
Rebuild report (if merged into master) (click to expand)
```
31 total rebuild path(s)
18 package rebuild(s)
First fifty rebuilds by attrpath
crewai
hindsight-api-slim
json-repair
pkgsRocm.crewai
pkgsRocm.python3Packages.crewai
python313Packages.crewai
python313Packages.dspy
python313Packages.fnllm
python313Packages.graphrag
python313Packages.json-repair
python313Packages.pydantic-ai-harness
python314Packages.crewai
python314Packages.dspy
python314Packages.fnllm
python314Packages.graphrag
python314Packages.json-repair
python314Packages.pydantic-ai-harness
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/by7f1dbf4r611p7igmvmzqxidsicv5hd-python3.14-json-repair-0.64.4 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nixos.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nixos.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A json-repair https://github.com/r-ryantm/nixpkgs/archive/68b6c248e7e9a0a335b1c220acaae66bca0c0906.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/68b6c248e7e9a0a335b1c220acaae66bca0c0906#json-repair
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/by7f1dbf4r611p7igmvmzqxidsicv5hd-python3.14-json-repair-0.64.4
ls -la /nix/store/by7f1dbf4r611p7igmvmzqxidsicv5hd-python3.14-json-repair-0.64.4/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `68b6c248e7e9a0a335b1c220acaae66bca0c0906`
---
### `x86_64-linux`
:x: 3 packages failed to build:
- crewai
- python313Packages.crewai
- python314Packages.crewai
:white_check_mark: 10 packages built:
- json-repair
- oterm
- python313Packages.json-repair
- python313Packages.pydantic-ai-harness
- python313Packages.dspy
- python314Packages.dspy
- python313Packages.fnllm
- python314Packages.json-repair
- python314Packages.pydantic-ai-harness
- python314Packages.fnllm
---
###### Maintainer pings
cc @greg-hellings for [testing](https://github.com/NixOS/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
> [!TIP]
> As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot).
https://api.github.com/repos/NixOS/nixpkgs/pulls/582980