yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #89551
[Bug 1987191] [NEW] DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
Public bug reported:
Running "tox -e py310", the following warning appear.
-------------------------------------------------------------------------------------------
{1} nova.tests.unit.virt.hyperv.test_serialproxy.SerialProxyTestCase.test_accept_connection [0.368902s] ... ok
Captured stderr:
~~~~~~~~~~~~~~~~
/tmp/nova/nova/virt/hyperv/serialproxy.py:49: DeprecationWarning:
setDaemon() is deprecated, set the daemon attribute instead
self.setDaemon(True)
-------------------------------------------------------------------------------------------
Python 3.8 document says that setDaemon(): Old getter/setter API for daemon; use it directly as a property instead.
Python 3.10 document says that Deprecated since version 3.10.
[1] https://docs.python.org/3.8/library/threading.html#threading.Thread.setDaemon
[2] https://docs.python.org/3.10/library/threading.html#threading.Thread.setDaemon
** Affects: nova
Importance: Undecided
Assignee: Takashi Natsume (natsume-takashi)
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1987191
Title:
DeprecationWarning: setDaemon() is deprecated, set the daemon
attribute instead
Status in OpenStack Compute (nova):
New
Bug description:
Running "tox -e py310", the following warning appear.
-------------------------------------------------------------------------------------------
{1} nova.tests.unit.virt.hyperv.test_serialproxy.SerialProxyTestCase.test_accept_connection [0.368902s] ... ok
Captured stderr:
~~~~~~~~~~~~~~~~
/tmp/nova/nova/virt/hyperv/serialproxy.py:49: DeprecationWarning:
setDaemon() is deprecated, set the daemon attribute instead
self.setDaemon(True)
-------------------------------------------------------------------------------------------
Python 3.8 document says that setDaemon(): Old getter/setter API for daemon; use it directly as a property instead.
Python 3.10 document says that Deprecated since version 3.10.
[1] https://docs.python.org/3.8/library/threading.html#threading.Thread.setDaemon
[2] https://docs.python.org/3.10/library/threading.html#threading.Thread.setDaemon
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1987191/+subscriptions
Follow ups