opencobra / optlang

optlang - sympy based mathematical programming language
http://optlang.readthedocs.org/
Apache License 2.0
253 stars 52 forks source link

Fix CI for OSQP and Python 3.9 #229

Closed cdiener closed 3 years ago

cdiener commented 3 years ago

This is supposed to fix the CI failures with OSQP. Python 3.9 requires osqp>=0.6.2 but Python 2.7 will only work with osqp<=0.6.1.

cdiener commented 3 years ago

Hm now, Python 2.7 is ignoring the nosetests settings in tox.ini.

cdiener commented 3 years ago

Hm, no idea how to fix that. There is some weirdness with tox going on where it ignores the [nosetests] section in Python 2 now.

cdiener commented 3 years ago

Oh I see what's going on. The netlib tests are a bit odd. They are never run on Python 3 which makes them a bit not useful.

carrascomj commented 3 years ago

Awesome, thank you for the quick fix (and sorry for merging it before, I figured it would pass)!

cdiener commented 3 years ago

No problem. Was my mistake to forget that issue and not marking the PR as a draft.