Skip to content

Commit 34cfa58

Browse files
authored
Merge pull request #297713 from ViZiD/symspellpy-fix-tests
python312Packages.symspellpy: fix tests for python 3.12
2 parents 783b241 + bd2513a commit 34cfa58

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pkgs/development/python-modules/symspellpy/default.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,17 @@ buildPythonPackage rec {
2626

2727
patches = [
2828
# patch for fix tests
29+
# https://github.com/mammothb/symspellpy/pull/151
2930
(fetchpatch {
3031
name = "fix-pkg-resources-deprecation-warning.patch";
31-
url = "https://patch-diff.githubusercontent.com/raw/mammothb/symspellpy/pull/150.patch";
32+
url = "https://github.com/mammothb/symspellpy/commit/b0298f4936f28a79612f5509612210868548793f.patch";
3233
hash = "sha256-mdUJMrcPv5zczIRP+8u5vicz2IE1AUN3YP0+zg3jqZg=";
3334
})
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+
})
3440
];
3541

3642
src = fetchFromGitHub {

0 commit comments

Comments
 (0)