mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
python310Packages.testing-common-database: patch collections.Callable for python 3.10 support
This commit is contained in:
parent
665bb90fc3
commit
03771f6d87
|
@ -9,6 +9,11 @@ buildPythonPackage rec {
|
|||
sha256 = "0wvdv0frl7xib05sixjv9m6jywaa2wdhdhsqqdfk45akk2r80pcn";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/testing/common/database.py \
|
||||
--replace "collections.Callable" "collections.abc.Callable"
|
||||
'';
|
||||
|
||||
# There are no unit tests
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue