From 0331ac1a11ebc689b4328a482d97b757243d9f1a Mon Sep 17 00:00:00 2001 From: Luna Nova Date: Sun, 24 Aug 2025 21:49:02 -0700 Subject: [PATCH 1/2] Revert "python3Packages.albucore: 0.0.24 -> 0.0.33" This reverts commit 6ca4b4658e52218e6348d03fb6f93d6bfac318f1. albumentations isn't compatible with 0.0.33 --- pkgs/development/python-modules/albucore/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/albucore/default.nix b/pkgs/development/python-modules/albucore/default.nix index 6a4491840858..4ca66b260401 100644 --- a/pkgs/development/python-modules/albucore/default.nix +++ b/pkgs/development/python-modules/albucore/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "albucore"; - version = "0.0.33"; + version = "0.0.24"; pyproject = true; disabled = pythonOlder "3.9"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "albumentations-team"; repo = "albucore"; tag = version; - hash = "sha256-OQYIvJM3pLna5rr1H7pVDhUR9sLmx032AZ9SWXQqMjc="; + hash = "sha256-frVMPW3au/6vPRY89GIt7chCPkUMl13DpPqCPqIjz/o="; }; pythonRelaxDeps = [ "opencv-python" ]; @@ -43,7 +43,7 @@ buildPythonPackage rec { meta = { description = "High-performance image processing library to optimize and extend Albumentations with specialized functions for image transformations"; homepage = "https://github.com/albumentations-team/albucore"; - changelog = "https://github.com/albumentations-team/albucore/releases/tag/${src.tag}"; + changelog = "https://github.com/albumentations-team/albucore/releases/tag/${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bcdarwin ]; }; From 6052b3ba6d4f14b0a9c459c7186871ea9c369ffb Mon Sep 17 00:00:00 2001 From: Luna Nova Date: Sun, 24 Aug 2025 21:55:35 -0700 Subject: [PATCH 2/2] python3Packages.albucore: set skipBulkUpdate so albumentations doesn't break --- pkgs/development/python-modules/albucore/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/albucore/default.nix b/pkgs/development/python-modules/albucore/default.nix index 4ca66b260401..d7a20c46fb34 100644 --- a/pkgs/development/python-modules/albucore/default.nix +++ b/pkgs/development/python-modules/albucore/default.nix @@ -40,6 +40,10 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + # albumentations doesn't support newer versions of albucore + # and has been archived upstream in favor of relicensed `albumentationsx` + passthru.skipBulkUpdate = true; + meta = { description = "High-performance image processing library to optimize and extend Albumentations with specialized functions for image transformations"; homepage = "https://github.com/albumentations-team/albucore";