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

Upgrade SymPy #321

Merged
merged 18 commits into from
Aug 29, 2023
Merged

Upgrade SymPy #321

merged 18 commits into from
Aug 29, 2023

Conversation

tomcaruso
Copy link
Contributor

@tomcaruso tomcaruso commented Jul 17, 2023

Update Psydac to support SymPy up to version 1.9 after the corresponding changes in SymPDE.

Main changes

  • import cache from sympy.core
  • import with_metaclass from sympde.old_sympy_utilities because SymPy does not provide it anymore
  • Store the dictionaries _known_functions_{numpy|math|mpmath} and _known_constants_{numpy|math|mpmath} in psydac.api.ast.utilities for the same reason.

@tomcaruso tomcaruso marked this pull request as draft July 18, 2023 08:29
@yguclu yguclu mentioned this pull request Aug 25, 2023
@yguclu yguclu marked this pull request as ready for review August 25, 2023 16:36
@yguclu yguclu changed the title Upgrade sympy Upgrade SymPy Aug 25, 2023
@yguclu yguclu requested a review from saidctb August 29, 2023 15:46
@yguclu yguclu merged commit a623184 into devel Aug 29, 2023
6 checks passed
@yguclu yguclu deleted the Upgrade_sympy branch August 29, 2023 20:29
campospinto pushed a commit that referenced this pull request Oct 6, 2023
Update Psydac to support SymPy up to version 1.9 after the corresponding
changes in SymPDE.

**Main changes**

- Import cache from `sympy.core`
- Import `with_metaclass` from `sympde.old_sympy_utilities` because
SymPy does not provide it anymore
- Store the dictionaries `_known_functions_{numpy|math|mpmath}` and
`_known_constants_{numpy|math|mpmath}` in `psydac.api.ast.utilities` for
the same reason.

---------

Co-authored-by: Yaman Güçlü <yaman.guclu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants