-
Notifications
You must be signed in to change notification settings - Fork 2k
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
dist/tools/pyterm: avoid deprecated .setDaemon #18754
Conversation
Murdock results✔️ PASSED 627e40a dist/tools/pyterm: avoid deprecated .setDaemon
ArtifactsThis only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now. |
Please squash, then we can merge it as soon as Murdock is happy. |
Just wanting to test on Murdock if the pyterm change poses any problems for the tests. I will change it back to skip compile tests, once ci-prod is done. |
Tests using |
Ping @keestux? |
Set .daemon property instead of calling .setDaemon()
246ca4c
to
627e40a
Compare
pyterm uses a (now) deprecated method
threading.setDaemon()
With Python 3.10 the
setDaemon
method is deprecated. You get a warning each timepyterm
is used.To avoid the warning we should set the property
daemon
instead.I've checked this syntax with 3.6 and it is supported at least since that version.