Merge pull request #297713 from ViZiD/symspellpy-fix-tests

python312Packages.symspellpy: fix tests for python 3.12

authored by Nick Cao and committed by GitHub 34cfa58e 783b241f

+7 -1
+7 -1
pkgs/development/python-modules/symspellpy/default.nix
··· 26 27 patches = [ 28 # patch for fix tests 29 (fetchpatch { 30 name = "fix-pkg-resources-deprecation-warning.patch"; 31 - url = "https://patch-diff.githubusercontent.com/raw/mammothb/symspellpy/pull/150.patch"; 32 hash = "sha256-mdUJMrcPv5zczIRP+8u5vicz2IE1AUN3YP0+zg3jqZg="; 33 }) 34 ]; 35
··· 26 27 patches = [ 28 # patch for fix tests 29 + # https://github.com/mammothb/symspellpy/pull/151 30 (fetchpatch { 31 name = "fix-pkg-resources-deprecation-warning.patch"; 32 + url = "https://github.com/mammothb/symspellpy/commit/b0298f4936f28a79612f5509612210868548793f.patch"; 33 hash = "sha256-mdUJMrcPv5zczIRP+8u5vicz2IE1AUN3YP0+zg3jqZg="; 34 + }) 35 + (fetchpatch { 36 + name = "fix-error-message-checking-py312.patch"; 37 + url = "https://github.com/mammothb/symspellpy/commit/f6f91e18316bed717036306c33d2ee82a922563a.patch"; 38 + hash = "sha256-a5KsESIEIzlbcEPq8sTB2+XkuT/vP81U8StZhaL0MbA="; 39 }) 40 ]; 41