python-neovim fails to build with Python 3.13.0b1. + /usr/bin/python3 -m tox --current-env -q --recreate -e py313 ImportError while loading conftest '/builddir/build/BUILD/python-neovim-0.5.0-build/pynvim-0.5.0/test/conftest.py'. test/conftest.py:11: in <module> import pynvim pynvim/__init__.py:16: in <module> from pynvim.plugin import (Host, autocmd, command, decode, encoding, function, pynvim/plugin/__init__.py:5: in <module> from pynvim.plugin.host import Host # type: ignore[attr-defined] pynvim/plugin/host.py:17: in <module> from pynvim.plugin import script_host pynvim/plugin/script_host.py:19: in <module> debug, info, warn = (logger.debug, logger.info, logger.warn,) E AttributeError: 'Logger' object has no attribute 'warn' 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. (Contributed by Victor Stinner in gh-105376.) https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13-b1/fedora-rawhide-x86_64/07532238-python-neovim/ For all our attempts to build python-neovim with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13-b1/package/python-neovim/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13-b1/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
https://github.com/neovim/pynvim/pull/569
*** Bug 2291788 has been marked as a duplicate of this bug. ***
FEDORA-2024-ff77c332ee (python-neovim-0.5.0-6.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-ff77c332ee
FEDORA-2024-ff77c332ee (python-neovim-0.5.0-6.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.