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
commit c2706c7ae7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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