asv fails to build with Python 3.9.0a3. ______________________ ERROR collecting test/test_feed.py ______________________ test/test_feed.py:19: in <module> import feedparser /usr/lib/python3.9/site-packages/feedparser.py:93: in <module> _base64decode = getattr(base64, 'decodebytes', base64.decodestring) E AttributeError: module 'base64' has no attribute 'decodestring' See https://docs.python.org/3.9/whatsnew/3.9.html#removed "base64.encodestring() and base64.decodestring(), aliases deprecated since Python 3.1, have been removed: use base64.encodebytes() and base64.decodebytes() instead." For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01252370-asv/ For all our attempts to build asv with Python 3.9, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/asv/ 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.9: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/ Let us know here if you have any questions. Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9. 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.
This seems to be an issue with feedparser itself. I have created a PR https://github.com/kurtmckee/feedparser/pull/206.
asv now also fails to build in rawhide with: > raise exception_class(message, screen, stacktrace) E selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed. E (unknown error: DevToolsActivePort file doesn't exist) E (The process started from chrome location /usr/lib64/chromium-browser/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.) E (Driver info: chromedriver=80.0.3987.122 (cf72c4c4f7db75bc3da689cd76513962d31c7b52-refs/branch-heads/3987@{#943}),platform=Linux 5.4.8-200.fc31.x86_64 x86_64)
Chromium is broken in Rawhide: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/LYIUI6T2L5YBTR62JACVWAVVC63AVWXF/
Also, I just noticed the traceback. This is a bug in feedparser, not asv.
Haïkel, could you please backport the fix? It's blocking other packages. If you are not available to look at this now, would you mind if I push the fix as a provenpackager? Thanks.
I just went ahead and backported the fix for this, it seems clearly correct and safe. https://koji.fedoraproject.org/koji/taskinfo?taskID=44538036 is building.
Build pending in https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-feedparser/