From 466d527fdaf9739ef74f81e9f294b52b47d5b204 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 15 Mar 2025 13:21:10 +0100 Subject: [PATCH] python313Packages.surepy: remove postPatch section --- pkgs/development/python-modules/surepy/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/surepy/default.nix b/pkgs/development/python-modules/surepy/default.nix index 62d616a6e2e7..4a0ceeea17f2 100644 --- a/pkgs/development/python-modules/surepy/default.nix +++ b/pkgs/development/python-modules/surepy/default.nix @@ -31,12 +31,11 @@ buildPythonPackage rec { hash = "sha256-ETgpXSUUsV1xoZjdnL2bzn4HwDjKC2t13yXwf28OBqI="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'aiohttp = {extras = ["speedups"], version = "^3.7.4"}' 'aiohttp = {extras = ["speedups"], version = ">=3.7.4"}' \ - --replace 'async-timeout = "^3.0.1"' 'async-timeout = ">=3.0.1"' \ - --replace 'rich = "^10.1.0"' 'rich = ">=10.1.0"' - ''; + pythonRelaxDeps = [ + "aiohttp" + "async-timeout" + "rich" + ]; nativeBuildInputs = [ poetry-core ];