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

[BUG] importing pysindy adds "Ignore UserWarning" to the global warnings filter #414

Closed
Jacob-Stevens-Haas opened this issue Sep 20, 2023 · 0 comments · Fixed by #528
Closed
Assignees
Labels
good first issue Good for newcomers

Comments

@Jacob-Stevens-Haas
Copy link
Member

As title. Should be a simple fix, but this is a placeholder to come back to it.

Reproducing code example:

import pysindy
import warnings
warnings.warn("Foo", UserWarning)
warnings.filters[0]

Error message:

None, no warnings appear. Filter is ('ignore', None, UserWarning, None, 0)

PySINDy/Python version information:

master

@Jacob-Stevens-Haas Jacob-Stevens-Haas added the good first issue Good for newcomers label Sep 20, 2023
@Jacob-Stevens-Haas Jacob-Stevens-Haas linked a pull request Jan 31, 2024 that will close this issue
Jacob-Stevens-Haas pushed a commit that referenced this issue Jul 29, 2024
* fix: remove user warning supressing

* fix: remove pkg_resources deprecation warnings

* CLN: fix linting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
2 participants