python-plac fails to build with Python 3.12.0a3. + /usr/bin/python3 doc/test_plac.py Traceback (most recent call last): File "/builddir/build/BUILD/plac-1.3.5/doc/test_plac.py", line 11, in <module> import plac File "/builddir/build/BUILDROOT/python-plac-1.3.5-3.fc38.x86_64/usr/lib/python3.12/site-packages/plac.py", line 29, in <module> from plac_ext import (Interpreter, import_main, ReadlineInput, File "/builddir/build/BUILDROOT/python-plac-1.3.5-3.fc38.x86_64/usr/lib/python3.12/site-packages/plac_ext.py", line 806, in <module> import asyncore ModuleNotFoundError: No module named 'asyncore' asynchat and asyncore have been removed according to the schedule in PEP 594, having been deprecated in Python 3.6. Use asyncio instead. (Contributed by Nikita Sobolev in gh-96580.) https://github.com/python/cpython/issues/96580 https://docs.python.org/3.12/whatsnew/3.12.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.12/fedora-rawhide-x86_64/05129379-python-plac/ For all our attempts to build python-plac with Python 3.12, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.12/package/python-plac/ 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.12: https://copr.fedorainfracloud.org/coprs/g/python/python3.12/ Let us know here if you have any questions. Python 3.12 is planned to be included in Fedora 39. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.12. 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/ialbert/plac/issues/65#issuecomment-1361988882 https://src.fedoraproject.org/rpms/python-plac/pull-request/1
Since the PR unconditionally removes functionality, I plan to wait to merge it to Rawhide/F39 until after F38 branching. Let me know if there is a reason to do otherwise.
This blocks python3-yte and hence snakemake, if that's fine, OK.
It occurred to me that there is no reason to delay if I make patch application conditional on the Python version. That way the package is ready for F39 without unnecessarily removing functionality in F38. I will amend the PR to do that, and then I will go ahead and merge it.
FEDORA-2022-b61843c829 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b61843c829
FEDORA-2022-b61843c829 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-98b346913f (python-plac-1.4.3-4.el10_0) has been submitted as an update to Fedora EPEL 10.0. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-98b346913f
FEDORA-EPEL-2024-98b346913f (python-plac-1.4.3-4.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository. If problem still persists, please make note of it in this bug report.