patool fails to build with Python 3.14.0b1. Example failure: ____________________ TestPyzipPasswordfile.test_py_zipfile _____________________ self = <tests.archives.test_pyzipfile.TestPyzipPasswordfile testMethod=test_py_zipfile> def test_py_zipfile(self): """Run archive commands with ZIP and CBZ archive.""" > self.archive_commands(self.filename + '.zip') tests/archives/test_pyzipfile.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/archives/__init__.py:69: in archive_commands self.archive_create(filename, **kwargs) tests/archives/__init__.py:184: in archive_create self._archive_create( tests/archives/__init__.py:203: in _archive_create patoolib.create_archive( patoolib/__init__.py:1295: in create_archive res = _create_archive( patoolib/__init__.py:917: in _create_archive run_archive_cmdlist(cmdlist, verbosity=verbosity) patoolib/__init__.py:785: in run_archive_cmdlist return util.run_checked(cmdlist, verbosity=verbosity, **runkwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/7z', 'a', '-y', '-pthereisnotry', '-tzip', '--', ...] ret_ok = (0,), kwargs = {'verbosity': 2}, retcode = 2 msg = "Command `['/usr/bin/7z', 'a', '-y', '-pthereisnotry', '-tzip', '--', '/builddir/build/BUILD/patool-4.0.0-build/patool-4.0.0/tests/Unpack_v4q_sgj5/p.zip', 't']' returned non-zero exit status 2" def run_checked(cmd: Sequence[str], ret_ok: Sequence[int] = (0,), **kwargs) -> int: """Run command and raise PatoolError on error.""" retcode = run(cmd, **kwargs) if retcode not in ret_ok: msg = f"Command `{cmd}' returned non-zero exit status {retcode}" > raise PatoolError(msg) E patoolib.util.PatoolError: Command `['/usr/bin/7z', 'a', '-y', '-pthereisnotry', '-tzip', '--', '/builddir/build/BUILD/patool-4.0.0-build/patool-4.0.0/tests/Unpack_v4q_sgj5/p.zip', 't']' returned non-zero exit status 2 patoolib/util.py:88: PatoolError ----------------------------- Captured stdout call ----------------------------- t/ t/t.txt t/ t/t.txt t/ t/t.txt t/ t/t.txt t/ t/t.txt t/ t/t.txt 7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29 64-bit locale=C.UTF-8 Threads:2 OPEN_MAX:10240 Codec Load Error: /usr/bin/7z.so : errno=25 : Inappropriate ioctl for device FAILED tests/archives/test_7z.py::Test7z::test_7z - patoolib.util.PatoolError... FAILED tests/archives/test_7z.py::Test7z::test_7z_file - patoolib.util.Patool... FAILED tests/archives/test_7z.py::Test7zPassword::test_7z - patoolib.util.Pat... FAILED tests/archives/test_7z.py::Test7zPassword::test_7z_file - patoolib.uti... FAILED tests/archives/test_genisoimage.py::TestGenisoimage::test_genisoimage FAILED tests/archives/test_pyzipfile.py::TestPyzipPasswordfile::test_py_zipfile 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-b1/fedora-rawhide-x86_64/09024356-patool/ For all our attempts to build patool with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/package/patool/ 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-b1/ 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 2371768 has been marked as a duplicate of this bug. ***
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 4+ weeks. This is the second reminder (step 4) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.
This package has been orphaned. You can pick it up at https://src.fedoraproject.org/rpms/patool by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution.
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.
This a regression in 7zip (see bug 2373874). I patched patool so it no longer uses the full path when calling executables: https://src.fedoraproject.org/rpms/patool/pull-request/2 This just demonstrates the issue. It's 7zip that needs fixing.
Let's merge https://src.fedoraproject.org/rpms/patool/pull-request/2 for now?
FEDORA-2025-db01e2a84e (patool-4.0.0-6.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2025-db01e2a84e
FEDORA-2025-35777c61b4 (patool-4.0.0-6.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-35777c61b4
FEDORA-2025-db01e2a84e (patool-4.0.0-6.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-35777c61b4 (patool-4.0.0-6.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.