Merge pull request #286980 from stephen-huan/mip-cffi

python3Packages.mip: fix cffi version
This commit is contained in:
Peder Bergebakken Sundt
2024-04-14 01:27:50 +02:00
committed by GitHub
@@ -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