python3Packages.mip: fix cffi version

This commit is contained in:
Stephen Huan
2024-02-07 07:10:18 -05:00
parent 3cf8b73826
commit 7fa9a0c896
@@ -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