Loading pkgs/development/python-modules/returns/default.nix +16 −7 Original line number Diff line number Diff line Loading @@ -5,8 +5,11 @@ fetchFromGitHub, httpx, hypothesis, mypy, poetry-core, pytest-aio, pytest-mypy, pytest-mypy-plugins, pytest-subtests, pytestCheckHook, pythonOlder, Loading @@ -31,8 +34,7 @@ buildPythonPackage rec { postPatch = '' sed -i setup.cfg \ -e '/--cov.*/d' \ -e '/--mypy.*/d' -e '/--cov.*/d' ''; nativeBuildInputs = [ poetry-core ]; Loading @@ -42,18 +44,25 @@ buildPythonPackage rec { nativeCheckInputs = [ anyio httpx hypothesis # https://github.com/dry-python/returns/issues/2224 (hypothesis.overrideAttrs (old: { src = fetchFromGitHub { owner = "HypothesisWorks"; repo = "hypothesis"; tag = "hypothesis-python-6.136.9"; hash = "sha256-Q1wxIJwAYKZ0x6c85CJSGgcdKw9a3xFw8YpJROElSNU="; }; })) mypy pytestCheckHook pytest-aio pytest-mypy pytest-mypy-plugins pytest-subtests setuptools trio ]; preCheck = '' rm -rf returns/contrib/mypy ''; pythonImportsCheck = [ "returns" ]; disabledTestPaths = [ "typesafety" ]; Loading Loading
pkgs/development/python-modules/returns/default.nix +16 −7 Original line number Diff line number Diff line Loading @@ -5,8 +5,11 @@ fetchFromGitHub, httpx, hypothesis, mypy, poetry-core, pytest-aio, pytest-mypy, pytest-mypy-plugins, pytest-subtests, pytestCheckHook, pythonOlder, Loading @@ -31,8 +34,7 @@ buildPythonPackage rec { postPatch = '' sed -i setup.cfg \ -e '/--cov.*/d' \ -e '/--mypy.*/d' -e '/--cov.*/d' ''; nativeBuildInputs = [ poetry-core ]; Loading @@ -42,18 +44,25 @@ buildPythonPackage rec { nativeCheckInputs = [ anyio httpx hypothesis # https://github.com/dry-python/returns/issues/2224 (hypothesis.overrideAttrs (old: { src = fetchFromGitHub { owner = "HypothesisWorks"; repo = "hypothesis"; tag = "hypothesis-python-6.136.9"; hash = "sha256-Q1wxIJwAYKZ0x6c85CJSGgcdKw9a3xFw8YpJROElSNU="; }; })) mypy pytestCheckHook pytest-aio pytest-mypy pytest-mypy-plugins pytest-subtests setuptools trio ]; preCheck = '' rm -rf returns/contrib/mypy ''; pythonImportsCheck = [ "returns" ]; disabledTestPaths = [ "typesafety" ]; Loading