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

PR: Filter 'This version of python seems to be incorrectly compiled...' pydev_log.critical message #16849

Merged
merged 2 commits into from
Nov 18, 2021

Conversation

mrclary
Copy link
Contributor

@mrclary mrclary commented Nov 18, 2021

Description of Changes

With #14025 the critical logging message from pydevd no longer causes the installer test to fail, but is still briefly displayed in the IPython console. This PR filters this message for both the installer test and IPython console display.

Issue(s) Resolved

Fixes #16828

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @mrclary

@mrclary mrclary added this to the v5.2.0 milestone Nov 18, 2021
@mrclary
Copy link
Contributor Author

mrclary commented Nov 18, 2021

@impact27, the message is filtered from display and from the installer test, but is still written to the stderr file. I think this is probably the appropriate behavior so that the stderr file, in principle, can still be inspected for debugging and the message is still filtered for duplication in poll_std_file_change.

@impact27
Copy link
Contributor

Looks good to me

@ccordoba12
Copy link
Member

@mrclary, don't worry about the failure in Linux. It's unrelated to this and I'll fix it in another PR. After that, I'll merge this one.

Copy link
Member

@ccordoba12 ccordoba12 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, thanks @mrclary!

Note: I fixed our tests in PR #16856.

@ccordoba12 ccordoba12 merged commit 0be2990 into spyder-ide:5.x Nov 18, 2021
ccordoba12 added a commit that referenced this pull request Nov 18, 2021
@mrclary mrclary deleted the incorrectly-compiled branch November 18, 2021 20:51
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.

None yet

3 participants