Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-06-02 Thread sympy
Updates: Labels: -Priority-Critical Priority-Medium Comment #23 on issue 3427 by asmeu...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 That was merged. Still Cython and gmpy are being imported. Cython at least should be

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-29 Thread sympy
Comment #22 on issue 3427 by asmeu...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 I thought Numpy was imported in more places by default. It may have been fixed. -- You received this message because this project is configured to

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-28 Thread sympy
Comment #17 on issue 3427 by hacm...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 Looks like numpy matplotlib are the main culprits of import slowness after all. On my machine, after clearing the disk cache, I get: master$ time

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-28 Thread sympy
Comment #18 on issue 3427 by asmeu...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 I forgot that mpmath uses gmpy too. It's probably a waste of time to worry about it then. Plus the polys use it heavily. If either of the libraries

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-28 Thread sympy
Comment #19 on issue 3427 by asmeu...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 I think numpy is used in more than just plotting by the way (you can put a hook in import module, or even deeper in the Python import mechanism to

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-28 Thread sympy
Comment #20 on issue 3427 by hacm...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 Sorry for being imprecise. When I was talking about numpy, I was referring to the code sympy imports by default. numpy is used in several other

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-28 Thread sympy
Comment #21 on issue 3427 by hacm...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 Not sure how much time I will have to work on this in the next few weeks, but I submitted PR 2140 with what I've done so far. If you are pushing

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-27 Thread sympy
Comment #11 on issue 3427 by asmeu...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 https://github.com/sympy/sympy/pull/2101 was merged, but was only a partial fix. -- You received this message because this project is configured to

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-27 Thread sympy
Comment #12 on issue 3427 by hacm...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 In order to get an objective test, it is probably a good idea to look at the import time after clearing the disk cache. Under Linux, this can be done

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-27 Thread sympy
Comment #13 on issue 3427 by hacm...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 I guess I'm suggesting that this may be a dupe of https://code.google.com/p/sympy/issues/detail?id=1291 -- You received this message because this

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-27 Thread sympy
Comment #14 on issue 3427 by asmeu...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 If you import SymPy in a clean environment (i.e., a virtualenv or something similar), and compare it against your normal environment, you can see how

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-27 Thread sympy
Issue 3427: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 This issue is now blocking issue sympy:1291. See http://code.google.com/p/sympy/issues/detail?id=1291 -- You received this message because you are listed in the owner or CC fields of this issue

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2013-05-27 Thread sympy
Comment #16 on issue 3427 by asmeu...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 There's already some good discussion here, so I'll just mark this issue as blocking that one. -- You received this message because this project is

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2012-11-30 Thread sympy
Issue 3427: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 This issue is now blocking issue sympy:3542. See http://code.google.com/p/sympy/issues/detail?id=3542 -- You received this message because you are listed in the owner or CC fields of this issue

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2012-11-23 Thread sympy
Comment #7 on issue 3427 by asmeu...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 We also need to regularly make sure that SymPy runs in environments without a DISPLAY. Is there an easy way to emulate this, e.g., with sympy-bot? --

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2012-11-23 Thread sympy
Comment #8 on issue 3427 by asmeu...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 Any idea how to cleanly fix this? All the solutions I can think of are very fragile. For example, if we just move all the imports inside methods (or

Re: Issue 3427 in sympy: sympy imports matplotlib on start-up

2012-11-23 Thread sympy
Comment #9 on issue 3427 by asmeu...@gmail.com: sympy imports matplotlib on start-up http://code.google.com/p/sympy/issues/detail?id=3427 Another idea: don't import plotting with the rest of sympy. Move the user API functions like plot() to a separate file that doesn't import