neovim / pynvim

Python client and plugin host for Nvim
http://pynvim.readthedocs.io/en/latest/
Apache License 2.0
1.47k stars 118 forks source link

fix: Remove deprecated alias of logger.warn #569

Closed cryptomilk closed 3 weeks ago

cryptomilk commented 3 weeks ago

python-neovim fails to build with Python 3.13.0b1.

According to https://docs.python.org/3.13/whatsnew/3.13.html:

logging: Remove undocumented and untested Logger.warn() and LoggerAdapter.warn() methods and logging.warn() function. Deprecated since Python 3.3, they were aliases to the logging.Logger.warning() method, logging.LoggerAdapter.warning() method and logging.warning() function.

cryptomilk commented 3 weeks ago

I do not see, how these failing tests are related to the change.

justinmk commented 3 weeks ago

Tests are fixed on master. Thanks!