Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use latest version of SymPy #106

Open
yguclu opened this issue May 10, 2022 · 1 comment
Open

Use latest version of SymPy #106

yguclu opened this issue May 10, 2022 · 1 comment
Assignees
Labels
help wanted Extra attention is needed package Build and installation of SymPDE and dependencies

Comments

@yguclu
Copy link
Member

yguclu commented May 10, 2022

Currently SymPDE requires sympy>=1.5,<=1.9. We should make the necessary changes in order to use newer versions of SymPy.

If we want to support Python 3.12, which does not ship with distutils anymore, it is necessary that we support sympy >= 1.12.

@yguclu yguclu added enhancement New feature or request help wanted Extra attention is needed labels May 10, 2022
@yguclu yguclu pinned this issue May 10, 2022
@yguclu yguclu unpinned this issue Jul 28, 2022
@EmilyBourne
Copy link
Member

This is becoming more urgent as we get closer to Python 3.12 (to be released in October).

Although sympde does not encounter the warning itself, other packages (e.g. Pyccel) which are using sympy 1.6.2 in order to satisfy sympde dependencies, encounter the following warning:

../../../../.local/lib/python3.10/site-packages/sympy/external/importtools.py:4
  /home/scitas/.local/lib/python3.10/site-packages/sympy/external/importtools.py:4: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils.version import LooseVersion

Presumably when Python 3.12 becomes available (around October), it will be impossible to run Pyccel with this version while preserving a working installation of sympde.

@yguclu yguclu pinned this issue Jul 5, 2023
@yguclu yguclu added package Build and installation of SymPDE and dependencies and removed enhancement New feature or request labels May 7, 2024
@yguclu yguclu changed the title Use latest version of Sympy Use latest version of SymPy May 7, 2024
@kvrigor kvrigor self-assigned this May 15, 2024
campospinto pushed a commit that referenced this issue Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed package Build and installation of SymPDE and dependencies
Projects
None yet
Development

No branches or pull requests

3 participants