python3Packages.chai: drop

This commit is contained in:
Harinn
2026-06-08 19:48:54 +07:00
parent ca14f513f3
commit 7139ca0278
3 changed files with 1 additions and 31 deletions
@@ -1,29 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "chai";
version = "1.1.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "ff8d2b6855f660cd23cd5ec79bd10264d39f24f6235773331b48e7fcd637d6cc";
};
postPatch = ''
# python 3.12 compatibility
substituteInPlace tests/*.py \
--replace "assertEquals" "assertEqual" \
--replace "assertNotEquals" "assertNotEqual" \
--replace "assert_equals" "assert_equal"
'';
meta = {
description = "Mocking, stubbing and spying framework for python";
license = lib.licenses.bsd3;
};
}
+1
View File
@@ -130,6 +130,7 @@ mapAliases {
can = throw "'can' has been renamed to/replaced by 'python-can'"; # Converted to throw 2025-10-29
casbin = pycasbin; # added 2025-06-12
cchardet = throw "'cchardet' has been renamed to/replaced by 'faust-cchardet'"; # Converted to throw 2025-10-29
chai = throw "'chai' has been removed as it is no longer maintained upstream and the repository was archived"; # Added 2026-06-08
characteristic = throw "'characteristic' has been removed because it is no longer maintained upstream"; # Added 2026-01-14
chart-studio = throw "'chart-studio' has been removed as it is no longer maintained upstream"; # Added 2026-03-12
chromeprint = throw "'chromaprint' was removed as it depended on m2r which was removed."; # Added 2026-05-27
-2
View File
@@ -2691,8 +2691,6 @@ self: super: with self; {
callPackage ../development/python-modules/chacha20poly1305-reuseable
{ };
chai = callPackage ../development/python-modules/chai { };
chainmap = callPackage ../development/python-modules/chainmap { };
chainstream = callPackage ../development/python-modules/chainstream { };