Skip to content

Conversation

@linrock
Copy link
Contributor

@linrock linrock commented Nov 25, 2022

camelCase methods in threading were deprecated in: python/cpython#25174

easy_train.py:316: DeprecationWarning: setDaemon() is deprecated,
set the daemon attribute instead thread.setDaemon(True)

easy_train.py:316: DeprecationWarning: setDaemon() is deprecated,
set the daemon attribute instead thread.setDaemon(True)

camelCase methods in threading were deprecated in:
python/cpython#25174
@Sopel97
Copy link
Member

Sopel97 commented Dec 1, 2022

Requires checking on older versions of python before merging. We currently require at least python 3.7 https://github.com/glinscott/nnue-pytorch/blob/5b2de095335bc0fe31921078fc6d51b5e0a42295/scripts/easy_train.py#L28

@linrock
Copy link
Contributor Author

linrock commented Dec 1, 2022

Confirrmed working on python 3.7:

image

Setting this attribute has been available since at least 2.x

image

@Sopel97 Sopel97 merged commit 5225117 into official-stockfish:master Dec 1, 2022
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.

2 participants