Skip to content

Commit

Permalink
python312Packages.pytest-aio: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Aug 28, 2024
1 parent f61300e commit ec8e0d5
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions pkgs/development/python-modules/pytest-aio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
lib,
anyio,
buildPythonPackage,
curio,
curio-compat,
fetchFromGitHub,
hypothesis,
pytest,
pytestCheckHook,
pythonOlder,
poetry-core,
sniffio,
trio,
trio-asyncio,
uvloop,
}:

buildPythonPackage rec {
pname = "pytest-aio";
version = "1.9.0";
pyproject = true;

disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";

src = fetchFromGitHub {
owner = "klen";
Expand All @@ -32,16 +32,18 @@ buildPythonPackage rec {

buildInputs = [ pytest ];

dependencies = [
optional-dependencies = {
curio = [ curio-compat ];
trio = [ trio ];
uvloop = [ uvloop ];
};

nativeCheckInputs = [
anyio
curio
hypothesis
sniffio
trio
pytestCheckHook
trio-asyncio
];

nativeCheckInputs = [ pytestCheckHook ];
] ++ lib.flatten (lib.attrValues optional-dependencies);

pythonImportsCheck = [ "pytest_aio" ];

Expand Down

0 comments on commit ec8e0d5

Please sign in to comment.