treewide: migrate python packages to optional-dependencies

This follows the term used by PEP 621.
This commit is contained in:
Martin Weinelt
2022-05-22 16:31:53 +02:00
parent 809ffd6cd3
commit 272430c823
43 changed files with 93 additions and 93 deletions
@@ -30,7 +30,7 @@ buildPythonPackage rec {
markupsafe
];
passthru.extras-require = {
passthru.optional-dependencies = {
babel = [
babel
];
@@ -39,7 +39,7 @@ buildPythonPackage rec {
checkInputs = [
pytestCheckHook
mock
] ++ passthru.extras-require.babel;
] ++ passthru.optional-dependencies.babel;
disabledTests = lib.optionals isPyPy [
# https://github.com/sqlalchemy/mako/issues/315