minerl icon indicating copy to clipboard operation
minerl copied to clipboard

Fix warning and update version

Open GF-Huang opened this issue 1 year ago • 2 comments

Fix warning. Update version.

GF-Huang avatar Jun 12 '24 02:06 GF-Huang

Thanks for the updates! Can you confirm what are the minimum Python versions that support these changes? I like the idea of supporting newer things, but given the age of the library, we want to maintain some backwards compatibility.

Miffyli avatar Jun 16 '24 16:06 Miffyli

Only tested on Python 3.11.9 and works fine.

GF-Huang avatar Jun 16 '24 19:06 GF-Huang

logging.warn() has been deprecated since Python 3.3, see here.

camelCase aliases for threading (e.g. setDaemon) still exist to maintain compatibility with Python 2 code and have been deprecated since Python 3.10, see here.

jxiong21029 avatar Jul 18 '24 18:07 jxiong21029