From 9d64663c237933f92b6173e5c6e5abefb5a7c2cb Mon Sep 17 00:00:00 2001 From: Alessio Caiazza Date: Fri, 19 Dec 2025 17:58:51 +0100 Subject: [PATCH] python3Packages.beetcamp: 0.22.0 -> 0.23.0 0.22.0 isn't compatible with the current version of beets in nixpkgs --- .../python-modules/beetcamp/default.nix | 4 ++-- .../beetcamp/remove-git-pytest-option.diff | 22 ------------------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/pkgs/development/python-modules/beetcamp/default.nix b/pkgs/development/python-modules/beetcamp/default.nix index 775c96ddf7ba..3de26c7b707d 100644 --- a/pkgs/development/python-modules/beetcamp/default.nix +++ b/pkgs/development/python-modules/beetcamp/default.nix @@ -16,7 +16,7 @@ }: let - version = "0.22.0"; + version = "0.23.0"; in buildPythonPackage { pname = "beetcamp"; @@ -27,7 +27,7 @@ buildPythonPackage { owner = "snejus"; repo = "beetcamp"; tag = version; - hash = "sha256-5tcQtvYmXT213mZnzKz2kwE5K22rro++lRF65PjC5X0="; + hash = "sha256-8FEDpobEGZ0Lw1+JRoFIEe3AuiuX7dwsRab+P3hC3W0="; }; patches = [ diff --git a/pkgs/development/python-modules/beetcamp/remove-git-pytest-option.diff b/pkgs/development/python-modules/beetcamp/remove-git-pytest-option.diff index 21a4c2e23fac..e61a8e690687 100644 --- a/pkgs/development/python-modules/beetcamp/remove-git-pytest-option.diff +++ b/pkgs/development/python-modules/beetcamp/remove-git-pytest-option.diff @@ -74,25 +74,3 @@ index 04d81f66f0..018d9e3c0c 100644 def pytest_assertrepr_compare(op: str, left: Any, right: Any): # noqa: ARG001 """Pretty print the difference between dict objects.""" actual, expected = left, right -diff --git a/tests/test_lib.py b/tests/test_lib.py -index 665d5aa61d..0a81e42b24 100644 ---- a/tests/test_lib.py -+++ b/tests/test_lib.py -@@ -19,7 +19,6 @@ - - import pytest - from filelock import FileLock --from git import Repo - from rich import box - from rich.console import Group - from rich.markup import escape -@@ -273,9 +272,6 @@ - return - - sections = [("Failed", summary["failed"], "red")] -- with suppress(TypeError): -- if Repo(pytestconfig.rootpath).active_branch.name == "dev": -- sections.append(("Fixed", summary["fixed"], "green")) - - columns = [] - for name, all_changes, color in sections: