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:26:11 +02:00
parent 809ffd6cd3
commit 272430c823
43 changed files with 93 additions and 93 deletions

View File

@@ -33,7 +33,7 @@ buildPythonPackage rec {
rsa
];
passthru.extras-require = {
passthru.optional-dependencies = {
async = [
aiofiles
];
@@ -47,8 +47,8 @@ buildPythonPackage rec {
pycryptodome
pytestCheckHook
]
++ passthru.extras-require.async
++ passthru.extras-require.usb;
++ passthru.optional-dependencies.async
++ passthru.optional-dependencies.usb;
disabledTests = lib.optionals (pythonAtLeast "3.10") [
# Tests are failing with Python 3.10