From 66a52db0462c57a94cac9bb20d62b9c2d401f026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 27 Aug 2025 11:29:54 -0700 Subject: [PATCH] python3Packages.pytest-shared-session-scope: fix compatibility with pytest-xdist 3.7.0 --- .../python-modules/pytest-shared-session-scope/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/pytest-shared-session-scope/default.nix b/pkgs/development/python-modules/pytest-shared-session-scope/default.nix index 20ce15975c12..eca884496868 100644 --- a/pkgs/development/python-modules/pytest-shared-session-scope/default.nix +++ b/pkgs/development/python-modules/pytest-shared-session-scope/default.nix @@ -23,6 +23,12 @@ buildPythonPackage rec { hash = "sha256-/26iwaV6E15TWrObIvXE4AipEboe1gv6WYu4BndPtUs="; }; + postPatch = '' + # https://github.com/StefanBRas/pytest-shared-session-scope/issues/39 + substituteInPlace src/pytest_shared_session_scope/_scheduler.py \ + --replace-fail parse_spec_config parse_tx_spec_config + ''; + build-system = [ hatchling ]; dependencies = [