From 208a63107cc9ffce018b0b53eef00da566a2da0b Mon Sep 17 00:00:00 2001 From: OttNorml <2350859+ottnorml@users.noreply.github.com> Date: Tue, 2 Jun 2026 20:55:18 +0200 Subject: [PATCH] semgrep: add pytest plugins used by checks Add requests-mock and pytest-asyncio to nativeCheckInputs. The enabled upstream checks use the requests_mock fixture, and the pytest configuration references asyncio_mode. --- pkgs/development/python-modules/semgrep/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/semgrep/default.nix b/pkgs/development/python-modules/semgrep/default.nix index 3b799e87c004..69df6e0beeb5 100644 --- a/pkgs/development/python-modules/semgrep/default.nix +++ b/pkgs/development/python-modules/semgrep/default.nix @@ -38,9 +38,11 @@ # python check dependencies flaky, + pytest-asyncio, pytest-freezegun, pytest-mock, pytest-snapshot, + requests-mock, types-freezegun, }: @@ -124,9 +126,11 @@ buildPythonPackage rec { pytestCheckHook flaky + pytest-asyncio pytest-freezegun pytest-mock pytest-snapshot + requests-mock types-freezegun ];