From 607d93fd2ee8fc671372527e9474a2024a5bc048 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Wed, 25 Aug 2021 12:25:05 +1200 Subject: [PATCH] feat: Make pytest-randomly installable Based on . Closes #322 together with #365. --- overrides.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/overrides.nix b/overrides.nix index ca902e2..a72af42 100644 --- a/overrides.nix +++ b/overrides.nix @@ -1285,6 +1285,12 @@ self: super: } ); + pytest-randomly = super.pytest-randomly.overrideAttrs (old: { + postPatch = old.postPatch or "" + '' + sed -i 's/importlib-metadata >= 3.6.0 ; python_version < "3.10"//' setup.cfg + ''; + }); + pytest-runner = super.pytest-runner or super.pytestrunner; pytest-pylint = super.pytest-pylint.overridePythonAttrs (