Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: promptfoo 0.118.14 -> 0.125.1 https://github.com/promptfoo/promptfoo/releases
attrpath: promptfoo
Checking auto update branch...
No auto update branch exists
[version]
[version] generic version rewriter does not support multiple hashes
[rustCrateVersion]
[rustCrateVersion] No cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorHash
[npmDepsVersion]
[npmDepsVersion] Replacing npmDepsHash with sha256-gq0va/1TXDKoxbeyiehdhSfksWD0LjpH3mc/KRdJiME=
[npmDepsVersion] Finished updating NPM deps version and replacing hashes
[updateScript]
[updateScript] skipping because derivation has no updateScript
Diff after rewrites:
diff --git a/pkgs/by-name/pr/promptfoo/package.nix b/pkgs/by-name/pr/promptfoo/package.nix
index d8e0ef7e37fa..9cc087317007 100644
--- a/pkgs/by-name/pr/promptfoo/package.nix
+++ b/pkgs/by-name/pr/promptfoo/package.nix
@@ -6,16 +6,16 @@
buildNpmPackage (finalAttrs: {
pname = "promptfoo";
- version = "0.118.14";
+ version = "0.125.1";
src = fetchFromGitHub {
owner = "promptfoo";
repo = "promptfoo";
tag = finalAttrs.version;
- hash = "sha256-MyK533JOVCuO613XWFc2tHLdc4v4IEF8H1xCpS/XxUE=";
+ hash = "sha256-fQYnzVK1qeMYV21tK/S3VJeBtcHj0HwqLqwJgJyMPoM=";
};
- npmDepsHash = "sha256-mpe00J5iRwaH7hJIDP3fDuJSUOKk01COpOOvF1YJMyg=";
+ npmDepsHash = "sha256-gq0va/1TXDKoxbeyiehdhSfksWD0LjpH3mc/KRdJiME=";
# don't fetch playwright binary
env.PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1";
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: `fca85704db0f36ad32e36062b76d42e6416cee2d`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
Automatic update generated by [nixpkgs-update](https://github.com/nix-community/nixpkgs-update) tools. This update was made based on information from https://github.com/promptfoo/promptfoo/releases.
meta.description for promptfoo is: Test your prompts, models, RAGs. Evaluate and compare LLM outputs, catch regressions, and improve prompt quality
meta.homepage for promptfoo is: https://www.promptfoo.dev/
meta.changelog for promptfoo is: https://github.com/promptfoo/promptfoo/releases/tag/0.125.1
###### Updates performed
- NPM version update
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 0.125.1 with grep in /nix/store/sigf6qqzqk3z66g25n5nmn3wr1pg3gj2-promptfoo-0.125.1
- found 0.125.1 in filename of file in /nix/store/sigf6qqzqk3z66g25n5nmn3wr1pg3gj2-promptfoo-0.125.1
---
Rebuild report (if merged into master) (click to expand)
```
15 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
promptfoo
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/sigf6qqzqk3z66g25n5nmn3wr1pg3gj2-promptfoo-0.125.1 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nix-community.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 promptfoo https://github.com/r-ryantm/nixpkgs/archive/fca85704db0f36ad32e36062b76d42e6416cee2d.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/fca85704db0f36ad32e36062b76d42e6416cee2d#promptfoo
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/sigf6qqzqk3z66g25n5nmn3wr1pg3gj2-promptfoo-0.125.1
ls -la /nix/store/sigf6qqzqk3z66g25n5nmn3wr1pg3gj2-promptfoo-0.125.1/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: `fca85704db0f36ad32e36062b76d42e6416cee2d`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
---
###### Maintainer pings
cc @nathaniel-brough @06kellyjac for [testing](https://github.com/nix-community/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/580390