From 7fa9a0c8968c67ee6dfcf8ea8e604c72de9c21ec Mon Sep 17 00:00:00 2001 From: Stephen Huan Date: Wed, 7 Feb 2024 07:10:18 -0500 Subject: [PATCH] python3Packages.mip: fix cffi version --- pkgs/development/python-modules/mip/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mip/default.nix b/pkgs/development/python-modules/mip/default.nix index db2786915b56..5705f1f37cfd 100644 --- a/pkgs/development/python-modules/mip/default.nix +++ b/pkgs/development/python-modules/mip/default.nix @@ -62,8 +62,8 @@ buildPythonPackage rec { ]; postPatch = '' - # Allow cffi versions with a different patch level to be used - substituteInPlace pyproject.toml --replace "cffi==1.15.0" "cffi==1.15.*" + # Allow newer cffi versions to be used + substituteInPlace pyproject.toml --replace "cffi==1.15.*" "cffi>=1.15" ''; # Make MIP use the Gurobi solver, if configured to do so