argparse-manpage fails to build with Python 3.13.0b1. ______________________ TestAllExamples.test_copr[setuppy] ______________________ self = <test_examples.TestAllExamples object at 0x7f3eaaaab490> installer = 'setuppy' @pytest.mark.parametrize("installer", ["pip", "setuppy"]) def test_copr(self, installer): with pushd('examples/copr'): name = 'copr-cli.1' prefix = '/usr' idir = os.path.join(os.getcwd(), installer + "_install_dir") mandir = os.path.join(idir, _mandir("usr/")) _rmtree(idir) run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix]) def version_version_filter(string): return string.replace('[VERSION [VERSION ...]]', '[VERSION ...]') > file_cmp(os.path.join(mandir, os.path.basename(name)), 'expected-output.1', filter_string=version_version_filter) tests/test_examples.py:133: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file1 = '/builddir/build/BUILD/argparse-manpage-4.5/examples/copr/setuppy_install_dir/usr/share/man/man1/copr-cli.1' file2 = 'expected-output.1' filter_string = <function TestAllExamples.test_copr.<locals>.version_version_filter at 0x7f3eaaa56de0> def file_cmp(file1, file2, filter_string=None): with open(file1, 'r') as f1: with open(file2, 'r') as f2: a1 = f1.readlines() a2 = f2.readlines() if len(a1) != len(a2): # get the pretty diff assert a1 == a2 first = True for left, right in zip(a1, a2): if first: left = re.sub('[0-9]{4}\\\\-[0-9]{2}\\\\-[0-9]{2}', '!!DATE!!', left) left = left.replace("-dev", ".dev0") # issue #50, setuptools < v60 right = re.sub('[0-9]{4}\\\\-[0-9]{2}\\\\-[0-9]{2}', '!!DATE!!', right) first = False if filter_string is not None: left = filter_string(left) right = filter_string(right) > assert left == right E AssertionError: assert ' ...t {on,off}]\n' == ' ... \\-\\-name\n' E Skipping 63 identical leading characters in diff, use -v to show E - {on,off}] \-\-name E + {on,off}] tests/test_examples.py:97: AssertionError =========================== short test summary info ============================ FAILED tests/test_examples.py::TestAllExamples::test_copr[pip] - AssertionErr... FAILED tests/test_examples.py::TestAllExamples::test_copr[setuppy] - Assertio... ================== 2 failed, 19 passed, 5 warnings in 13.88s =================== https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07433887-argparse-manpage/ For all our attempts to build argparse-manpage with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/argparse-manpage/ 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.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. 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.
Fixed upstream: https://github.com/praiskup/argparse-manpage/pull/113
This blocks the Fedora's critical path server (via: dogtag-pki -> freeipa-healthcheck -> 389-ds-base -> argparse-manpage), hence raising the priority. Could you update the Fedora's package?
Fixed by: https://src.fedoraproject.org/rpms/argparse-manpage/c/8aea8a9ad51049fa497cd4f4e4ac08598e05faf5 Do you want me to build?
Thank you, we'll bump and build it with the Python 3.13 rebuild.
No need to bump. The first build has not yet been done.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.