← Back to team overview

aesthete-team team mailing list archive

Sympy 0.7.1 incompatibilities

 

Hi all,

This morning my computer was upgraded to Sympy 0.7.1. I immediately tested this with Aesthete and noticed the following:

$ aesthete_ime.py
Traceback (most recent call last):
  File "/usr/bin/aesthete_ime.py", line 13, in <module>
    from aesthete import *
File "/usr/lib/python2.7/site-packages/aesthete/glypher/__init__.py", line 12, in <module>
    import glypher as g
File "/usr/lib/python2.7/site-packages/aesthete/glypher/glypher.py", line 96, in <module>
    u'\u221e' : sympy.core.numbers.Infinity(),
AttributeError: 'module' object has no attribute 'numbers'

This I could `fix' by putting ``from sympy.core.numbers import Infinity'' at the top of glypher.py; I also `fixed' ImaginaryNumber in this way. (I can't say these actually worked.)

After this it complained about the thirdparty module (used for pyglet) not being present. On inspection this is true - upstream no longer ships with pyglet.

As such I think I'll have to continue under an Ubuntu virtual machine. After Downpatrick is released we'll have to look at rejigging things - it may come to pass that we may need an internal sympy compatibility layer to allow for such changes.

Chris.


Follow ups