https://bugzilla.redhat.com/show_bug.cgi?id=2271388
Bug ID: 2271388 Summary: python-autobahn fails to build with Python 3.13: 'Logger' object has no attribute 'warn' Product: Fedora Version: rawhide Status: NEW Component: python-autobahn Assignee: jujens@jujens.eu Reporter: ksurma@redhat.com QA Contact: extras-qa@fedoraproject.org CC: epel-packagers-sig@lists.fedoraproject.org, jujens@jujens.eu, ksurma@redhat.com, mail@fabian-affolter.ch, mhroncok@redhat.com Blocks: 2244836 (PYTHON3.13) Target Milestone: --- Classification: Fedora
python-autobahn fails to build with Python 3.13.0a5.
'Logger' object has no attribute 'warn'
FAILED wamp/test/test_wamp_component_aio.py::test_asyncio_component - Asserti... FAILED wamp/test/test_wamp_component_aio.py::test_asyncio_component_404 - Ass...
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/fedora-ra...
For all our attempts to build python-autobahn with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-a...
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/
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.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2244836 [Bug 2244836] Python 3.13
https://bugzilla.redhat.com/show_bug.cgi?id=2271388
--- Comment #1 from Julien Enselme jujens@jujens.eu --- Notified upstreamed: https://github.com/crossbario/autobahn-python/issues/1098
epel-packagers-sig@lists.fedoraproject.org