python310Packages.schema: don't depend on contextlib2

+7 -3
+7 -3
pkgs/development/python-modules/schema/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , contextlib2 4 , fetchPypi 5 , mock 6 , pytestCheckHook 7 , pythonOlder 8 }: 9 10 buildPythonPackage rec { ··· 19 hash = "sha256-8GcXESxhiVyrxHB3UriHFuhCCogZ1xQEUB4RT5EEMZc="; 20 }; 21 22 - propagatedBuildInputs = [ 23 - contextlib2 24 ]; 25 26 nativeCheckInputs = [
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , mock 5 , pytestCheckHook 6 , pythonOlder 7 + , pythonRelaxDepsHook 8 }: 9 10 buildPythonPackage rec { ··· 19 hash = "sha256-8GcXESxhiVyrxHB3UriHFuhCCogZ1xQEUB4RT5EEMZc="; 20 }; 21 22 + nativeBuildInputs = [ 23 + pythonRelaxDepsHook 24 + ]; 25 + 26 + pythonRemoveDeps = [ 27 + "contextlib2" 28 ]; 29 30 nativeCheckInputs = [