From 80e3b70555da4ae65e51f3b37fa142e7f431863c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 30 Oct 2025 13:13:08 -0700 Subject: [PATCH] python3Packages.pytest-benchmark: 5.1.0 -> 5.2.0 Diff: https://github.com/ionelmc/pytest-benchmark/compare/v5.1.0...v5.2.0 Changelog: https://github.com/ionelmc/pytest-benchmark/blob/v5.2.0/CHANGELOG.rst --- .../python-modules/pytest-benchmark/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pytest-benchmark/default.nix b/pkgs/development/python-modules/pytest-benchmark/default.nix index 1b14abd0d189..24e50f91acb3 100644 --- a/pkgs/development/python-modules/pytest-benchmark/default.nix +++ b/pkgs/development/python-modules/pytest-benchmark/default.nix @@ -15,18 +15,19 @@ pythonAtLeast, pythonOlder, setuptools, + writableTmpDirAsHomeHook, }: buildPythonPackage rec { pname = "pytest-benchmark"; - version = "5.1.0"; + version = "5.2.0"; pyproject = true; src = fetchFromGitHub { owner = "ionelmc"; repo = "pytest-benchmark"; tag = "v${version}"; - hash = "sha256-4fD9UfZ6jtY7Gx/PVzd1JNWeQNz+DJ2kQmCku2TgxzI="; + hash = "sha256-BM17nrJfoOHkl7hOeY/VdoH5oEQP6EJWeNXa5x8/5UM="; }; build-system = [ setuptools ]; @@ -55,12 +56,12 @@ buildPythonPackage rec { mercurial nbmake pytestCheckHook + writableTmpDirAsHomeHook ] ++ lib.flatten (lib.attrValues optional-dependencies); preCheck = '' export PATH="$out/bin:$PATH" - export HOME=$(mktemp -d) ''; disabledTests = @@ -78,7 +79,7 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/ionelmc/pytest-benchmark/blob/${src.rev}/CHANGELOG.rst"; + changelog = "https://github.com/ionelmc/pytest-benchmark/blob/${src.tag}/CHANGELOG.rst"; description = "Pytest fixture for benchmarking code"; homepage = "https://github.com/ionelmc/pytest-benchmark"; license = lib.licenses.bsd2;