jc fails to build with Python 3.14.0a2. ====================================================================== ERROR: tests.test_xrandr (unittest.loader._FailedTest.tests.test_xrandr) ---------------------------------------------------------------------- ImportError: Failed to import test module: tests.test_xrandr Traceback (most recent call last): File "/usr/lib64/python3.14/unittest/loader.py", line 426, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib64/python3.14/unittest/loader.py", line 367, in _get_module_from_name __import__(name) ~~~~~~~~~~^^^^^^ File "/builddir/build/BUILD/jc-1.25.4-build/jc-1.25.4/tests/test_xrandr.py", line 7, in <module> from jc.parsers.xrandr import ( ...<15 lines>... ) File "/builddir/build/BUILD/jc-1.25.4-build/jc-1.25.4/jc/parsers/xrandr.py", line 196, in <module> from jc.parsers.pyedid.edid import Edid File "/builddir/build/BUILD/jc-1.25.4-build/jc-1.25.4/jc/parsers/pyedid/edid.py", line 7, in <module> from typing import ByteString ImportError: cannot import name 'ByteString' from 'typing' (/usr/lib64/python3.14/typing.py) According to https://docs.python.org/dev/whatsnew/3.14.html#typing ByteString has been removed from both typing and collections.abc modules. It had previously raised a DeprecationWarning since Python 3.12. https://docs.python.org/3.14/whatsnew/3.14.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.14/fedora-rawhide-x86_64/08333929-jc/ For all our attempts to build jc with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/jc/ 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.14: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/ Let us know here if you have any questions. Python 3.14 is planned to be included in Fedora 43. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14. 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.
I put up PRs to fix this - Artur, please review - if it looks fine I can merge and build
Would you mind if I try to submit this upstream?
(In reply to Artur Frenszek-Iwicki from comment #2) > Would you mind if I try to submit this upstream? I already linked the upstream PR - https://github.com/kellyjonbrazil/jc/pull/639
Looks like upstream wants the type changed, I'll refresh the upstream and downstream PRs
I just refreshed both PRs. Local build is fine, waiting for the official build to finish
Bah. Bugzilla e-mail formatting isn't the most friendly and I completely missed the added link. Looks like this solution will be accepted upstream, so I'll go ahead and merge the patch.
FEDORA-2025-7daf53f0b6 (jc-1.25.4-3.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-7daf53f0b6
FEDORA-2025-7daf53f0b6 (jc-1.25.4-3.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.