Skip to content

python3Packages.rf-protocols: remove dependency on prek - #542898

Merged
fabaff merged 1 commit into
NixOS:stagingfrom
thunze:rf-protocols-no-prek
Jul 19, 2026
Merged

fabaff merged 1 commit into
NixOS:stagingfrom
thunze:rf-protocols-no-prek

Conversation

@thunze

@thunze thunze commented Jul 17, 2026 •

Copy link
Copy Markdown
Member

prek is a Git hook manager, similar to pre-commit. It's not needed for running the tests. Having prek as a dependency of rf-protocol currently causes prek to have >1000 reverse dependencies via home-assistant, which is undesirable as this requires each prek update to go through a staging cycle, see e.g. #539683.

$out stays the same after this change, minus store path differences.

Things done

nixpkgs-branch-check[bot]

This comment was marked as outdated.

@nixpkgs-ci
nixpkgs-ci Bot requested a review from fabaff July 17, 2026 10:12
@nixpkgs-ci nixpkgs-ci Bot added 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. 6.topic: python Python is a high-level, general-purpose programming language. labels Jul 17, 2026
@thunze
thunze force-pushed the rf-protocols-no-prek branch from 9776701 to 560bd0f Compare July 17, 2026 10:25
@thunze
thunze changed the base branch from master to staging July 17, 2026 10:26
@nixpkgs-ci nixpkgs-ci Bot closed this Jul 17, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Jul 17, 2026
prek is a Git hook manager, similar to pre-commit. It's not needed for
running the tests. Having prek as a dependency of rf-protocol causes
prek to have >1000 reverse dependencies via home-assistant, which is
undesirable as this requires each prek update to go through a staging
cycle, see e.g. [1].

`$out` stays the same after this change, minus store path differences.

[1] NixOS#539683
@thunze
thunze force-pushed the rf-protocols-no-prek branch from 560bd0f to 36077ec Compare July 17, 2026 10:29
@thunze thunze mentioned this pull request Jul 17, 2026
5 of 13 tasks
@nixpkgs-branch-check
nixpkgs-branch-check Bot dismissed their stale review July 17, 2026 10:37

Review dismissed automatically

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jul 17, 2026
@SuperSandroBot

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (71d8654)

Command: nixpkgs-review pr 542898 -p python3Packages.rf-protocols
Commit: 36077ec8f885d97b4c106c6aa41522884184788b (subsequent changes)
Merge: fab50acff4c6776c0bceca91e5cbfe46cbef7fa5

Logs: https://github.com/SuperSandro2000/nixpkgs-review-gha/actions/runs/29577580656/attempts/1


x86_64-linux

✅ 1 package built:
  • python3Packages.rf-protocols

aarch64-linux

✅ 1 package built:
  • python3Packages.rf-protocols

aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • python3Packages.rf-protocols

@fabaff fabaff left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Change looks good to me.

@fabaff
fabaff added this pull request to the merge queue Jul 19, 2026
Merged via the queue into NixOS:staging with commit 93c2dae Jul 19, 2026
29 checks passed
@thunze
thunze deleted the rf-protocols-no-prek branch July 19, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants