alot fails to build with Python 3.15.0a7. Check import: alot.ui Traceback (most recent call last): File "/usr/lib/rpm/redhat/import_all_modules.py", line 106, in import_modules importlib.import_module(module) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib64/python3.15/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1317, in _gcd_import File "<frozen importlib._bootstrap>", line 1282, in _find_and_load File "<frozen importlib._bootstrap>", line 1247, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 857, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 747, in exec_module File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed File "/builddir/build/BUILD/alot-0.12-build/BUILDROOT/usr/lib/python3.15/site-packages/alot/ui.py", line 15, in <module> from .buffers import BufferlistBuffer File "/builddir/build/BUILD/alot-0.12-build/BUILDROOT/usr/lib/python3.15/site-packages/alot/buffers/__init__.py", line 10, in <module> from .thread import ThreadBuffer File "/builddir/build/BUILD/alot-0.12-build/BUILDROOT/usr/lib/python3.15/site-packages/alot/buffers/thread.py", line 13, in <module> from .. import commands File "/builddir/build/BUILD/alot-0.12-build/BUILDROOT/usr/lib/python3.15/site-packages/alot/commands/__init__.py", line 210, in <module> pyfiles = glob.glob1(os.path.dirname(__file__), '*.py') ^^^^^^^^^^ AttributeError: module 'glob' has no attribute 'glob1'. Did you mean '.glob' instead of '.glob1'? https://docs.python.org/3.15/whatsnew/3.15.html: Removed the undocumented glob.glob0() and glob.glob1() functions, which have been deprecated since Python 3.13. Use glob.glob() and pass a directory to its root_dir argument instead. (Contributed by Barney Gale in gh-137466.) For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/10282443-alot/ For all our attempts to build alot with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/alot/ 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.15: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/ Let us know here if you have any questions. Python 3.15 is planned to be included in Fedora 45. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15. 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.
Thanks! I've applied a patch from upstream in rawhide, let me know if this needs to applied to a specific branch.
Sorry, I've created a PR: https://bugzilla.redhat.com/show_bug.cgi?id=2453850
https://src.fedoraproject.org/rpms/alot/pull-request/19
Merged to master