Hide Forgot
python-osc-lib fails to build with Python 3.10.0a4. osc_lib.tests.utils.test_tags.TestTagHelps.test_add_tag_option_to_parser_for_unset ---------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/osc-lib-2.2.1/osc_lib/tests/utils/test_tags.py", line 288, in test_add_tag_option_to_parser_for_unset self._test_tag_method_help( File "/builddir/build/BUILD/osc-lib-2.2.1/osc_lib/tests/utils/test_tags.py", line 191, in _test_tag_method_help self.assertEqual(exp_normal, parser.format_help()) File "/usr/lib/python3.10/site-packages/testtools/testcase.py", line 391, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.10/site-packages/testtools/testcase.py", line 478, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = '''\ usage: run.py [-h] [--tag <tag> | --all-tag] optional arguments: -h, --help show this help message and exit --tag <tag> Tag to be removed from the test (repeat option to remove multiple tags) --all-tag Clear all tags associated with the test ''' actual = '''\ usage: run.py [-h] [--tag <tag> | --all-tag] options: -h, --help show this help message and exit --tag <tag> Tag to be removed from the test (repeat option to remove multiple tags) --all-tag Clear all tags associated with the test ''' Argparse output has changed from: optional arguments: to: options: https://bugs.python.org/issue9694 https://bugs.python.org/issue42870 For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01871069-python-osc-lib/ For all our attempts to build python-osc-lib with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/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.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. 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 bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.