Commit 2246da96 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

python311Packages.entry-points-txt: migate to pytest-cov-stub

parent 205a59a9
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  pytest-cov-stub,
  pythonOlder,
  setuptools,
}:
@@ -23,12 +24,10 @@ buildPythonPackage rec {

  nativeBuildInputs = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  postPatch = ''
    substituteInPlace tox.ini \
      --replace " --cov=entry_points_txt --no-cov-on-fail" ""
  '';
  nativeCheckInputs = [
    pytestCheckHook
    pytest-cov-stub
  ];

  pythonImportsCheck = [ "entry_points_txt" ];