treewide: migrate python packages to optional-dependencies
This follows the term used by PEP 621.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user