Skip to content

Commit

Permalink
Merge pull request #310074 from annaleeleaves/smart-open-fix-tests
Browse files Browse the repository at this point in the history
python31{1,2}Packages.smart-open: apply patch fix unit tests
  • Loading branch information
wegank authored May 8, 2024
2 parents 06e777c + 2fdf8d8 commit 2cf3fff
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/development/python-modules/smart-open/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, fetchpatch
, azure-common
, azure-core
, azure-storage-blob
Expand Down Expand Up @@ -31,6 +32,16 @@ buildPythonPackage rec {
hash = "sha256-4HOTaF6AKXGlVCvSGKnnaH73aa4IO0aRxz03XQ4gSd8=";
};

patches = [
# https://github.com/RaRe-Technologies/smart_open/pull/822
# fix test_smart_open.py on python 3.12
(fetchpatch {
name = "fix-smart-open-test.patch";
url = "https://github.com/RaRe-Technologies/smart_open/commit/3d29564ca034a56d343c9d14b178aaa0ff4c937c.patch";
hash = "sha256-CrAeqaIMM8bctWiFnq9uamnIlkaslDyjaWL6k9wUjT8=";
})
];

build-system = [
setuptools
];
Expand Down

0 comments on commit 2cf3fff

Please sign in to comment.