From 30fa43b76eee92cc9685897b2f88e31c7e98400a Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Fri, 15 Nov 2024 14:41:53 -0800 Subject: [PATCH] python3Packages.pytest-examples: 0.0.13 -> 0.0.14 --- .../pytest-examples/default.nix | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/pytest-examples/default.nix b/pkgs/development/python-modules/pytest-examples/default.nix index fe4489dcf0ec..12fcfd3c08ec 100644 --- a/pkgs/development/python-modules/pytest-examples/default.nix +++ b/pkgs/development/python-modules/pytest-examples/default.nix @@ -12,33 +12,28 @@ buildPythonPackage rec { pname = "pytest-examples"; - version = "0.0.13"; + version = "0.0.14"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "pydantic"; repo = "pytest-examples"; rev = "refs/tags/v${version}"; - hash = "sha256-R0gSWQEGMkJhkeXImyris2wzqjJ0hC3zO0voEdhWLoY="; + hash = "sha256-MAiTNz2Ygk+JOiiT5DGhJ15xITbS+4Gk23YCKJm7OKE="; }; - postPatch = '' - # ruff binary is used directly, the ruff Python package is not needed - substituteInPlace pytest_examples/lint.py \ - --replace-fail "'ruff'" "'${lib.getExe ruff}'" - ''; - - pythonRemoveDeps = [ "ruff" ]; - build-system = [ hatchling ]; buildInputs = [ pytest ]; - dependencies = [ black ]; + dependencies = [ + black + ruff + ]; nativeCheckInputs = [ pytestCheckHook ];