Skip to content

prek: 0.3.13 -> 0.4.4 - #527219

Merged
mdaniels5757 merged 1 commit into
NixOS:stagingfrom
ottnorml:prek-bump/2026-06-02
Jun 13, 2026
Merged

mdaniels5757 merged 1 commit into
NixOS:stagingfrom
ottnorml:prek-bump/2026-06-02

Conversation

@ottnorml

@ottnorml ottnorml commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Updates prek from 0.3.13 to 0.4.4.

Notable upstream changes include (see CHANGELOG.md):

  • 0.4.4 improves prek run observability by streaming hook output in the progress UI and showing a live preview for running hooks.
  • 0.4.4 adds hook group filters (groups, --group, --no-group) so a single config can support different local, CI, slow-validation, or project-specific workflows.
  • 0.4.4 fixes intent-to-add stash restore handling.
  • 0.4.2 improves prek run performance in large repositories by reducing expensive git diff work, skipping diff checks for read-only hooks, optimizing clean-worktree checks, and running same-depth workspace projects concurrently.
  • 0.4.1 improves hook/workspace behavior, including pre-push range handling after rebases and skipping installs for hooks that will not run.
  • 0.4.0 and 0.4.3 fix runtime/toolchain edge cases, including npm config environment overrides for node hooks and stat-only hook rewrites.
  • Includes narrow breaking changes in 0.4.0: generated hook scripts no longer preserve -q, -v, or --no-progress from prek install, and language_version no longer accepts direct executable paths.

Targeting staging because nixpkgs-branch-check classified this update as a mass rebuild.

Things done

AI assistance was used to draft this PR description; the package update and test results were reviewed before submission.

Tests and validation

Tested on aarch64-darwin:

$ nix-build -A prek
[...]
/nix/store/dhhylz5ygdiabczdsqk1n1pivmdphhvq-prek-0.4.4

$ ./result/bin/prek --version
prek 0.4.4

Copilot AI review requested due to automatic review settings June 2, 2026 17:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the Nix package definition for prek to a newer upstream release.

Changes:

  • Bump prek from 0.3.11 to 0.4.3
  • Update fetchFromGitHub source hash for the new tag
  • Update cargoHash to match the new dependency/vendor set

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

nixpkgs-branch-check[bot]

This comment was marked as outdated.

@nixpkgs-ci
nixpkgs-ci Bot requested a review from knl June 2, 2026 17:29
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. 12.first-time contribution This PR is the author's first one; please be gentle! labels Jun 2, 2026
@ottnorml ottnorml changed the title prek: 0.3.11 -> 0.4.3 prek: 0.3.13 -> 0.4.3 Jun 2, 2026
@ottnorml
ottnorml changed the base branch from master to staging June 2, 2026 18:05
@nixpkgs-ci nixpkgs-ci Bot closed this Jun 2, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Jun 2, 2026
nixpkgs-branch-check[bot]

This comment was marked as outdated.

@ottnorml
ottnorml force-pushed the prek-bump/2026-06-02 branch from e26b94d to c210e91 Compare June 2, 2026 18:06
@nixpkgs-branch-check
nixpkgs-branch-check Bot dismissed stale reviews from themself June 2, 2026 18:15

Review dismissed automatically

@ottnorml

ottnorml commented Jun 3, 2026

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 527219
Commit: c210e913d27c9c60d94116103ea9e283a79e8a43


aarch64-darwin

✅ 3 packages built:
  • prek
  • python313Packages.rf-protocols
  • python314Packages.rf-protocols

@knl knl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are too many failures on linux using nixpkgs-review, as home-assistant tests are failing. However, building locally works. Thanks!

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. and removed 12.first-time contribution This PR is the author's first one; please be gentle! labels Jun 3, 2026
@knl

knl commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Hope this works:

@NixOS/nixpkgs-merge-bot merge

@nixpkgs-ci

nixpkgs-ci Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@knl wants to merge this PR.

Requirements to merge this PR with @NixOS/nixpkgs-merge-bot merge:

  • ✅ PR targets a development branch.
  • ✅ PR touches only files of packages in pkgs/by-name/.
  • ❌ PR is at least one of:
  • ✅ PR is not a draft
  • ✅ knl is a member of @NixOS/nixpkgs-maintainers.
  • ✅ knl is a maintainer of all touched packages on the staging branch.

❌ Pull Request could not be merged (#305350)

@Hythera

Hythera commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Version 0.4.4 is out by now.

@ottnorml
ottnorml force-pushed the prek-bump/2026-06-02 branch from c210e91 to 02c3654 Compare June 9, 2026 05:27
@ottnorml

ottnorml commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 527219
Commit: 02c36547a4e27c0474de8f6bd32397092f62e69a


aarch64-darwin

✅ 3 packages built:
  • prek
  • python313Packages.rf-protocols
  • python314Packages.rf-protocols

@ottnorml ottnorml changed the title prek: 0.3.13 -> 0.4.3 prek: 0.3.13 -> 0.4.4 Jun 9, 2026
@ottnorml
ottnorml requested a review from knl June 9, 2026 06:20
@ottnorml

ottnorml commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

@knl I've updated this PR to prek 0.4.4 and rebased it onto the latest staging commit.

Thanks @Hythera for the heads-up about the new upstream release.

Validation looks good on my MacBook; the nixpkgs-review result is posted above.

Do you think it's worth giving the merge another try?

@knl

knl commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@ottnorml I don't have merge rights, so someone else should do that. maybe @mdaniels5757 ?

I find it always better to figure out why r-ryantm bot is not automatically upgrading the package and fix that, instead of making a PR to bump the version. Automatic merge only works if the submitter has merge rights (as I don't).

@mdaniels5757
mdaniels5757 added this pull request to the merge queue Jun 13, 2026
Merged via the queue into NixOS:staging with commit b0d7f97 Jun 13, 2026
29 of 31 checks passed
@ottnorml
ottnorml deleted the prek-bump/2026-06-02 branch June 15, 2026 09:50
@Nothing4You Nothing4You mentioned this pull request Jul 8, 2026
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants