diff options
author | Nick Cao <nickcao@nichi.co> | 2024-03-21 13:59:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 13:59:02 -0400 |
commit | 34cfa58e7918c8f5a191eb4d191481653ff65e00 (patch) | |
tree | 68f0d25e16f5722c0902e7cddff7cf9d8053e2c5 /pkgs/development | |
parent | 783b241f949bea90e3347ce516ad8af84bde3126 (diff) | |
parent | bd2513afae7221193b41d1a830c3cc5acb968bd2 (diff) | |
download | nixlib-34cfa58e7918c8f5a191eb4d191481653ff65e00.tar nixlib-34cfa58e7918c8f5a191eb4d191481653ff65e00.tar.gz nixlib-34cfa58e7918c8f5a191eb4d191481653ff65e00.tar.bz2 nixlib-34cfa58e7918c8f5a191eb4d191481653ff65e00.tar.lz nixlib-34cfa58e7918c8f5a191eb4d191481653ff65e00.tar.xz nixlib-34cfa58e7918c8f5a191eb4d191481653ff65e00.tar.zst nixlib-34cfa58e7918c8f5a191eb4d191481653ff65e00.zip |
Merge pull request #297713 from ViZiD/symspellpy-fix-tests
python312Packages.symspellpy: fix tests for python 3.12
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/symspellpy/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/symspellpy/default.nix b/pkgs/development/python-modules/symspellpy/default.nix index 7660214b72fd..ad3b732209ef 100644 --- a/pkgs/development/python-modules/symspellpy/default.nix +++ b/pkgs/development/python-modules/symspellpy/default.nix @@ -26,11 +26,17 @@ buildPythonPackage rec { patches = [ # patch for fix tests + # https://github.com/mammothb/symspellpy/pull/151 (fetchpatch { name = "fix-pkg-resources-deprecation-warning.patch"; - url = "https://patch-diff.githubusercontent.com/raw/mammothb/symspellpy/pull/150.patch"; + url = "https://github.com/mammothb/symspellpy/commit/b0298f4936f28a79612f5509612210868548793f.patch"; hash = "sha256-mdUJMrcPv5zczIRP+8u5vicz2IE1AUN3YP0+zg3jqZg="; }) + (fetchpatch { + name = "fix-error-message-checking-py312.patch"; + url = "https://github.com/mammothb/symspellpy/commit/f6f91e18316bed717036306c33d2ee82a922563a.patch"; + hash = "sha256-a5KsESIEIzlbcEPq8sTB2+XkuT/vP81U8StZhaL0MbA="; + }) ]; src = fetchFromGitHub { |