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: remove broken logging messages in lens module #3548

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

neutrinoceros
Copy link
Member

@neutrinoceros neutrinoceros commented Oct 9, 2021

PR Summary

Fix #3547
My original intent was to fix the formatting of these log entries, but our logger filters are performing object comparisons
at runtime, which are very costly to run on numpy/unyt arrays (*would be, since they'd require some changes to even work here), so I don't think it's actually worth keeping these logging entries that no ones has been relying on for at least a year, since we introduced logger filters in #2871

@neutrinoceros neutrinoceros added bug dead code removing internal bits that have no effect viz: volume rendering labels Oct 9, 2021
@neutrinoceros
Copy link
Member Author

The py38 job is going to break because of this: sympy/sympy#22241
I think this PR is trivial enough that it can be considered for merging regardless

@matthewturk
Copy link
Member

@neutrinoceros So if we include this will it continue to break the py38 tests, or are they broken already?

@neutrinoceros
Copy link
Member Author

they are broken for external reasons following the release of sympy 1.9, they will stay broken until a bug fix is released upstream or we pin sympy to 1.8 in CI.

Copy link
Contributor

@chrishavlin chrishavlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me. I don't think these debug statements were super helpful, so I agree removing them rather than rewriting is the way to go.

@neutrinoceros
Copy link
Member Author

@yt-fido test this please

@matthewturk matthewturk merged commit 6cae5d4 into yt-project:main Oct 11, 2021
@neutrinoceros neutrinoceros deleted the hotfix_3547 branch October 11, 2021 19:46
@matthewturk
Copy link
Member

@meeseeksdev backport to yt-4.0.x

meeseeksmachine pushed a commit to meeseeksmachine/yt that referenced this pull request Oct 15, 2021
neutrinoceros added a commit that referenced this pull request Oct 16, 2021
…8-on-yt-4.0.x

Backport PR #3548 on branch yt-4.0.x (BUG: remove broken logging messages in lens module)
@neutrinoceros neutrinoceros added this to the 4.0.2 milestone May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dead code removing internal bits that have no effect viz: volume rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Volume Rendering Not Working
3 participants