Page MenuHomeSolus

Update python-kiwisolver to 1.3.1 and drop python2

Authored by algent on Jan 22 2021, 10:06 PM.



This is a rundependency for matplotlib which it doesn't need python2 support.


  • Do not mark move constructor / assignment operator of expression as noexcept. This is to circumvent a suspected bug in the GCC compiler in the manylinux1 image.
  • Add c++ benchmarks and run them on CIs
  • Modernize the c++ code by using more c++11 features
  • Introduce move semantic in some c++ constructors to improve performances
  • Add support for Python 3.9
  • Make the the c++ part of the code c++11 compliant
  • Use cppy for Python/C bindings
  • Prevent attempting a dual optimize on a dummy row
  • Add dump and dumps methods to inspect the internal state of the solver
  • Test on Python 3.7
  • Improvements to and tests

Depends on D10419

Signed-off-by: Algent Albrahimi <>

Test Plan
  • Succesfully pass build tests.
  • Test with matplotlib.

Diff Detail

R4100 python-kiwisolver
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Jan 22 2021, 10:06 PM
algent requested review of this revision.Jan 22 2021, 10:06 PM
algent updated this revision to Diff 25229.Jan 31 2021, 11:46 AM

Add new abi_ files

JoshStrobl accepted this revision.Feb 5 2021, 7:20 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Feb 5 2021, 7:20 AM
This revision was automatically updated to reflect the committed changes.