ComputationalPhysiology / modelparameters

Library for declaring nested parameteres in Python
https://computationalphysiology.github.io/modelparameters/
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Upgrade `sympy` #2

Open finsberg opened 2 years ago

finsberg commented 2 years ago

We are currently stuck on sympy version 1.1.1 and need to make some effort into upgrading to a newer version.

When running the tests we currently see this warning

venv/lib/python3.8/site-packages/sympy/core/basic.py:3
  /Users/henriknf/local/src/modelparameters/venv/lib/python3.8/site-packages/sympy/core/basic.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
    from collections import Mapping, defaultdict

venv/lib/python3.8/site-packages/sympy/plotting/plot.py:28
  /Users/henriknf/local/src/modelparameters/venv/lib/python3.8/site-packages/sympy/plotting/plot.py:28: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
    from collections import Callable

In other words, we will not be able to use python3.9 before we upgrade sympy.

finsberg commented 2 years ago

Seems like deprecation is postponed to python3.10