neovim / pynvim

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

fix: Remove deprecated alias of logger.warn #569

Closed cryptomilk closed 5 months ago

cryptomilk commented 5 months 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 5 months ago

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

justinmk commented 5 months ago

Tests are fixed on master. Thanks!