Commit ec8e0d51 authored by Robert Schütz's avatar Robert Schütz
Browse files

python312Packages.pytest-aio: update dependencies

parent f61300e2
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -2,16 +2,16 @@
  lib,
  anyio,
  buildPythonPackage,
  curio,
  curio-compat,
  fetchFromGitHub,
  hypothesis,
  pytest,
  pytestCheckHook,
  pythonOlder,
  poetry-core,
  sniffio,
  trio,
  trio-asyncio,
  uvloop,
}:

buildPythonPackage rec {
@@ -19,7 +19,7 @@ buildPythonPackage rec {
  version = "1.9.0";
  pyproject = true;

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

  src = fetchFromGitHub {
    owner = "klen";
@@ -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" ];