-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: Pass new environment variable to the kernel and remove some benign errors thanks to debugpy 1.6.0 (IPython console) #17553
Conversation
@ccordoba12 @dalthviz should we also require |
@ccordoba12, is there a reason why we are not testing Python 3.9 and conda for macOS? Just curious. |
Because Github only offers 5 Mac Github Action slots per organization on the free plan, so we can't spend them all in Spyder. I think an option could be to run our tests only in Python 3.9 (instead of 3.7 and 3.9), so we can reduce the amount of slots we use per pull request. We'll take a look at that after 5.3.0 is released. |
I see, thanks for the explanation. So that means we use 4 right now, correct? 3.7 pip slow, 3.7 pip fast, lite build, and full build? I have been considering for a while whether we really needed to make Lite builds for every pull request. If we limited pull requests to just the full builds, that may help; on releases, we can have both full and lite. But as you say, we can discuss after 5.3.0. |
Right.
Well, the nice thing about the Lite builds is that they are like half-size, so faster to download, install and test. I use the Windows Lite one all the time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mrclary for your help with this!
If the env var is available since debugpy 1.6.0 then I would say so. Probably the requirement should be done over spyder-kernels, right? and then we change the minimum version for spyder-kernels over Spyder before doing the release. |
Upon further consideration, I don't think we should require |
Right, that's what I thought too (and sorry for letting that unanswered, I just missed the question). |
Description of Changes
ipythonconsole
pluginPYDEVD_DISABLE_FILE_VALIDATION
to IPython ConsoleThe advent of
debugpy=1.6.0
provided an environment variable to bypass the errors encountered in #16927, #16828, and #17552.Currently, only 1.5.2 is available on conda-forge; when 1.6.0 is available, I'll mark as ready for review.
Issue(s) Resolved
Fixes #17552
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