dwavesystems / dwavebinarycsp

Map constraint satisfaction problems with binary variables to binary quadratic models.
https://docs.ocean.dwavesys.com/projects/binarycsp/en/latest
Apache License 2.0
21 stars 28 forks source link

Update cookie methods in conf.py #111

Closed JoelPasvolsky closed 3 years ago

JoelPasvolsky commented 3 years ago

app.add_stylesheet() and app.add_javascript() were renamed in version 1.8 and obsoleted in version 4

JoelPasvolsky commented 3 years ago

I gave Py3.9 a try, based on guesswork

randomir commented 3 years ago

To fix errors in 3.9, import gcd from math, not fractions anymore. See docs: image

JoelPasvolsky commented 3 years ago

@randomir, for the gcd update I think that commits us to networkx>2.5: https://github.com/networkx/networkx/commit/b007158f3bfbcf77c52e4b39a81061914788ddf9 We currently have a requirement networkx==2.0

randomir commented 3 years ago

@JoelPasvolsky, oops, I only looked at the last line. You're right, it should be sufficient to update networkx. Not sure why we have it pinned to 2.0 (pretty old version -- Sep 2017).

randomir commented 3 years ago

We also use ancient dimod and old penaltymodels... We should probably update those as well.