Loading pkgs/development/python-modules/aiojobs/default.nix +2 −5 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ fetchFromGitHub, fetchpatch, pytest-aiohttp, pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, Loading @@ -32,11 +33,6 @@ buildPythonPackage rec { }) ]; postPatch = '' substituteInPlace pytest.ini \ --replace "--cov=aiojobs/ --cov=tests/ --cov-report term" "" ''; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [ async-timeout ]; Loading @@ -48,6 +44,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-aiohttp pytest-cov-stub ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); pythonImportsCheck = [ "aiojobs" ]; Loading pkgs/development/python-modules/ambee/default.nix +3 −2 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ yarl, aresponses, pytest-asyncio, pytest-cov-stub, pytestCheckHook, }: Loading @@ -34,14 +35,14 @@ buildPythonPackage rec { nativeCheckInputs = [ aresponses pytest-asyncio pytest-cov-stub pytestCheckHook ]; postPatch = '' # Upstream doesn't set a version for the pyproject.toml substituteInPlace pyproject.toml \ --replace "0.0.0" "${version}" \ --replace "--cov" "" --replace "0.0.0" "${version}" ''; pythonImportsCheck = [ "ambee" ]; Loading pkgs/development/python-modules/anonip/default.nix +5 −6 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, pytest-cov-stub, pythonOlder, }: Loading @@ -20,12 +21,10 @@ buildPythonPackage rec { sha256 = "0cssdcridadjzichz1vv1ng7jwphqkn8ihh83hpz9mcjmxyb94qc"; }; nativeCheckInputs = [ pytestCheckHook ]; postPatch = '' substituteInPlace setup.cfg \ --replace " --cov=anonip --cov-report=term-missing --no-cov-on-fail" "" ''; nativeCheckInputs = [ pytestCheckHook pytest-cov-stub ]; pytestFlagsArray = [ "tests.py" ]; Loading pkgs/development/python-modules/batchspawner/default.nix +2 −5 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ jupyterhub, pythonOlder, pytest-asyncio, pytest-cov-stub, pytestCheckHook, }: Loading Loading @@ -35,13 +36,9 @@ buildPythonPackage rec { jupyterhub ]; preCheck = '' substituteInPlace pyproject.toml \ --replace-fail "--cov=batchspawner" "" ''; nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytestCheckHook ]; Loading pkgs/development/python-modules/birch/default.nix +2 −5 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ setuptools, strct, pytestCheckHook, pytest-cov-stub, pyyaml, }: Loading @@ -31,11 +32,6 @@ buildPythonPackage rec { ]; postPatch = '' substituteInPlace pytest.ini \ --replace-fail \ "--cov" \ "#--cov" # configure correct version, which fails due to missing .git substituteInPlace versioneer.py birch/_version.py \ --replace-fail '"0+unknown"' '"${version}"' Loading @@ -54,6 +50,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-cov-stub pyyaml ]; Loading Loading
pkgs/development/python-modules/aiojobs/default.nix +2 −5 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ fetchFromGitHub, fetchpatch, pytest-aiohttp, pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, Loading @@ -32,11 +33,6 @@ buildPythonPackage rec { }) ]; postPatch = '' substituteInPlace pytest.ini \ --replace "--cov=aiojobs/ --cov=tests/ --cov-report term" "" ''; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [ async-timeout ]; Loading @@ -48,6 +44,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-aiohttp pytest-cov-stub ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); pythonImportsCheck = [ "aiojobs" ]; Loading
pkgs/development/python-modules/ambee/default.nix +3 −2 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ yarl, aresponses, pytest-asyncio, pytest-cov-stub, pytestCheckHook, }: Loading @@ -34,14 +35,14 @@ buildPythonPackage rec { nativeCheckInputs = [ aresponses pytest-asyncio pytest-cov-stub pytestCheckHook ]; postPatch = '' # Upstream doesn't set a version for the pyproject.toml substituteInPlace pyproject.toml \ --replace "0.0.0" "${version}" \ --replace "--cov" "" --replace "0.0.0" "${version}" ''; pythonImportsCheck = [ "ambee" ]; Loading
pkgs/development/python-modules/anonip/default.nix +5 −6 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, pytest-cov-stub, pythonOlder, }: Loading @@ -20,12 +21,10 @@ buildPythonPackage rec { sha256 = "0cssdcridadjzichz1vv1ng7jwphqkn8ihh83hpz9mcjmxyb94qc"; }; nativeCheckInputs = [ pytestCheckHook ]; postPatch = '' substituteInPlace setup.cfg \ --replace " --cov=anonip --cov-report=term-missing --no-cov-on-fail" "" ''; nativeCheckInputs = [ pytestCheckHook pytest-cov-stub ]; pytestFlagsArray = [ "tests.py" ]; Loading
pkgs/development/python-modules/batchspawner/default.nix +2 −5 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ jupyterhub, pythonOlder, pytest-asyncio, pytest-cov-stub, pytestCheckHook, }: Loading Loading @@ -35,13 +36,9 @@ buildPythonPackage rec { jupyterhub ]; preCheck = '' substituteInPlace pyproject.toml \ --replace-fail "--cov=batchspawner" "" ''; nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytestCheckHook ]; Loading
pkgs/development/python-modules/birch/default.nix +2 −5 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ setuptools, strct, pytestCheckHook, pytest-cov-stub, pyyaml, }: Loading @@ -31,11 +32,6 @@ buildPythonPackage rec { ]; postPatch = '' substituteInPlace pytest.ini \ --replace-fail \ "--cov" \ "#--cov" # configure correct version, which fails due to missing .git substituteInPlace versioneer.py birch/_version.py \ --replace-fail '"0+unknown"' '"${version}"' Loading @@ -54,6 +50,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-cov-stub pyyaml ]; Loading