python-osc-lib fails to build with Python 3.14.0a5. ============================== Failed 4 tests - output below: ============================== osc_lib.tests.utils.test_tags.TestTagHelps.test_add_tag_filtering_option_to_parser ---------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/python-osc-lib-3.1.0-build/osc-lib-3.1.0/osc_lib/tests/utils/test_tags.py", line 221, in test_add_tag_filtering_option_to_parser self._test_tag_method_help( ~~~~~~~~~~~~~~~~~~~~~~~~~~^ tags.add_tag_filtering_option_to_parser, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<39 lines>... """, ^^^^ ) ^ File "/builddir/build/BUILD/python-osc-lib-3.1.0-build/osc-lib-3.1.0/osc_lib/tests/utils/test_tags.py", line 214, in _test_tag_method_help self.assertEqual(exp_normal % options_name, parser.format_help()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/testtools/testcase.py", line 419, in assertEqual self.assertThat(observed, matcher, message) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/testtools/testcase.py", line 509, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = '''\ usage: run.py [-h] [--tags <tag>[,<tag>,...]] [--any-tags <tag>[,<tag>,...]] [--not-tags <tag>[,<tag>,...]] [--not-any-tags <tag>[,<tag>,...]] options: -h, --help show this help message and exit --tags <tag>[,<tag>,...] List test which have all given tag(s) (Comma-separated list of tags) --any-tags <tag>[,<tag>,...] List test which have any given tag(s) (Comma-separated list of tags) --not-tags <tag>[,<tag>,...] Exclude test which have all given tag(s) (Comma- separated list of tags) --not-any-tags <tag>[,<tag>,...] Exclude test which have any given tag(s) (Comma- separated list of tags) ''' actual = '''\ usage: python3 -m stestr.subunit_runner.run [-h] [--tags <tag>[,<tag>,...]] [--any-tags <tag>[,<tag>,...]] [--not-tags <tag>[,<tag>,...]] [--not-any-tags <tag>[,<tag>,...]] options: -h, --help show this help message and exit --tags <tag>[,<tag>,...] List test which have all given tag(s) (Comma-separated list of tags) --any-tags <tag>[,<tag>,...] List test which have any given tag(s) (Comma-separated list of tags) --not-tags <tag>[,<tag>,...] Exclude test which have all given tag(s) (Comma- separated list of tags) --not-any-tags <tag>[,<tag>,...] Exclude test which have any given tag(s) (Comma- separated list of tags) ''' 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/08736446-python-osc-lib/ For all our attempts to build python-osc-lib with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-osc-lib/ 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.
*** Bug 2372019 has been marked as a duplicate of this bug. ***