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

Avoid warnings from 3rd party libraries #353

Open
2 of 3 tasks
yguclu opened this issue Oct 27, 2023 · 2 comments
Open
2 of 3 tasks

Avoid warnings from 3rd party libraries #353

yguclu opened this issue Oct 27, 2023 · 2 comments
Labels
enhancement New feature or request testing Unit tests, coverage, benchmarks

Comments

@yguclu
Copy link
Member

yguclu commented Oct 27, 2023

Warnings to be removed:

  • NumPy deprecation warning:

    DeprecationWarning: product is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use prod instead.

  • SymPy deprecation warning:

    SymPyDeprecationWarning:

    non-Expr objects in a Matrix has been deprecated since SymPy 1.9. Use
    list of lists, TableForm or some other data structure instead. See
    Non-Expr objects in a Matrix are deprecated sympy/sympy#21497 for more info.

  • NumPy warning about casting:

    /opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/psydac/fem/tensor.py:581: ComplexWarning: Casting complex values to real discards the imaginary part

@yguclu yguclu added the testing Unit tests, coverage, benchmarks label Oct 27, 2023
@yguclu yguclu changed the title Avoid deprecation warnings Avoid warnings from 3rd party libraries Nov 2, 2023
@yguclu yguclu added the enhancement New feature or request label Nov 2, 2023
@kvrigor
Copy link
Member

kvrigor commented Apr 5, 2024

With #355 merged, should we close this issue?

@yguclu
Copy link
Member Author

yguclu commented Apr 9, 2024

With #355 merged, should we close this issue?

No, we cannot, because #355 did not address the most serious warning, which is the ComplexWarning raised by NumPy.

@yguclu yguclu pinned this issue May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing Unit tests, coverage, benchmarks
Projects
None yet
Development

No branches or pull requests

2 participants