diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-29 12:34:11 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-29 12:34:11 +0200 |
commit | 637b8990b68de3202e677d40b2459524a43dfd91 (patch) | |
tree | c191e3dbaaca0715b62a0e33300ead5b933bcbb8 | |
parent | f9240363509fcc8568335bd65e82736768dc4522 (diff) |
python312Packages.parquet: add patch for deprecated unittest aliases
-rw-r--r-- | pkgs/development/python-modules/parquet/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/parquet/default.nix b/pkgs/development/python-modules/parquet/default.nix index 6c5035e1669e6..92e5e77647940 100644 --- a/pkgs/development/python-modules/parquet/default.nix +++ b/pkgs/development/python-modules/parquet/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, pytestCheckHook, python-snappy, pythonOlder, @@ -23,6 +24,15 @@ buildPythonPackage rec { hash = "sha256-WVDffYKGsyepK4w1d4KUUMmxB6a6ylTbJvG79Bt5G6o="; }; + patches = [ + # Refactor deprecated unittest aliases, https://github.com/jcrobak/parquet-python/pull/83 + (fetchpatch { + name = "unittest-aliases.patch"; + url = "https://github.com/jcrobak/parquet-python/commit/746bebd1e84d8945a3491e1ae5e44102ff534592.patch"; + hash = "sha256-4awxlzman/YMfOz1WYNR+mVn1ixGku9sqlaMJ1QITYs="; + }) + ]; + build-system = [ setuptools ]; dependencies = [ |