make Sympy version detection 2.0-ready

9 jobs for pickle in 11 minutes and 37 seconds (queued for 4 seconds)