From b30613803ceefc92fa1d87a7879be334f3b54183 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 2 Dec 2023 00:42:35 +0100 Subject: [PATCH] python311Packages.pytest-mock: 3.11.1 -> 3.12.0 https://github.com/pytest-dev/pytest-mock/blob/v3.12.0/CHANGELOG.rst --- .../python-modules/pytest-mock/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pytest-mock/default.nix b/pkgs/development/python-modules/pytest-mock/default.nix index 260c71ac71ff..c73b35e6f590 100644 --- a/pkgs/development/python-modules/pytest-mock/default.nix +++ b/pkgs/development/python-modules/pytest-mock/default.nix @@ -2,27 +2,29 @@ , buildPythonPackage , pythonOlder , fetchPypi -, fetchpatch , pytest , pytest-asyncio , pytestCheckHook +, setuptools , setuptools-scm }: buildPythonPackage rec { pname = "pytest-mock"; - version = "3.11.1"; + version = "3.12.0"; + pyproject = true; disabled = pythonOlder "3.7"; - format = "setuptools"; - src = fetchPypi { inherit pname version; - hash = "sha256-f2sSVgKsbXQ+Ujrgv6ceGml6L1U0BkUoxv+EwvfC/H8="; + hash = "sha256-MaQPA4wiytMih7tDkyBURR/1WD/wlLym9nXfL4vBpuk="; }; - nativeBuildInputs = [ setuptools-scm ]; + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; buildInputs = [ pytest