Skip to content

Commit

Permalink
python313Packages.pydiscovergy: migrate to pytest-cov-stub
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Feb 6, 2025
1 parent cff5308 commit 23ce555
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/pydiscovergy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
httpx,
mashumaro,
orjson,
poetry-core,
pytest-asyncio,
pytest-cov-stub,
pytest-httpx,
poetry-core,
pytestCheckHook,
pythonOlder,
respx,
Expand All @@ -29,7 +30,6 @@ buildPythonPackage rec {
};

postPatch = ''
sed -i '/addopts =/d' pyproject.toml
substituteInPlace pyproject.toml \
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';
Expand All @@ -45,6 +45,7 @@ buildPythonPackage rec {

nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytest-httpx
pytestCheckHook
respx
Expand Down

0 comments on commit 23ce555

Please sign in to comment.