From 97f96dc50fa5c4b45b6324420820da4c2615bc68 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 25 Sep 2024 18:55:29 +0200 Subject: [PATCH] poetry2nix-python-overrides: fix build of opencontainers `pytest-runner` was dropped upstream, the build of opencontainers is fine even without it. --- poetry2nix-python-overrides.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/poetry2nix-python-overrides.nix b/poetry2nix-python-overrides.nix index 1a4dbff..3cc63d5 100644 --- a/poetry2nix-python-overrides.nix +++ b/poetry2nix-python-overrides.nix @@ -22,8 +22,11 @@ pkgs: opencontainers = prev.opencontainers.overrideAttrs (oA: { nativeBuildInputs = oA.nativeBuildInputs ++ [ final.setuptools - final.pytest-runner final.pytest + final.pytest ]; + postPatch = '' + substituteInPlace setup.py --replace-fail '"pytest-runner"' ''' + ''; }); psycopg-c = prev.psycopg-c.overrideAttrs (oA: { nativeBuildInputs = oA.nativeBuildInputs ++ [