lol

python311Packages.filedepot: add patch for Pillow 10 support

+12 -2
+12 -2
pkgs/development/python-modules/filedepot/default.nix
··· 2 2 , anyascii 3 3 , buildPythonPackage 4 4 , fetchFromGitHub 5 + , fetchpatch 5 6 , flaky 6 7 , google-cloud-storage 7 8 , mock 8 - , paste 9 9 , pillow 10 10 , pymongo 11 11 , pytestCheckHook ··· 28 28 hash = "sha256-vPceky5cvmy3MooWz7dRdy68VoAHN7i3a7egBs4dPE8="; 29 29 }; 30 30 31 + patches = [ 32 + # Add support for Pillow 10, https://github.com/amol-/depot/pull/84 33 + (fetchpatch { 34 + name = "support-pillow-10.patch"; 35 + url = "https://github.com/amol-/depot/commit/bdb73d1b3898279068b421bc061ecc18c5108fa4.patch"; 36 + hash = "sha256-7+VGrdJstkiy0bYAqA9FjF1NftZiurgyPd8Wlz6GUy8="; 37 + }) 38 + ]; 39 + 31 40 propagatedBuildInputs = [ 32 41 anyascii 33 42 google-cloud-storage ··· 36 45 nativeCheckInputs = [ 37 46 flaky 38 47 mock 39 - paste 40 48 pillow 41 49 pymongo 42 50 pytestCheckHook ··· 45 53 ]; 46 54 47 55 disabledTestPaths = [ 56 + # ModuleNotFoundError: No module named 'depot._pillow_compat' 57 + "tests/test_fields_sqlalchemy.py" 48 58 # The examples have tests 49 59 "examples" 50 60 # Missing dependencies (TurboGears2 and ming)