On Thu, 2023-07-20 at 13:59 -0400, Steve Dickson wrote: > This bz[1] was opened on one of my packages not building on f39. > I did a quick rawhide scratch build and sure enough > the build fails with [2] The important part is earlier in the log: ModuleNotFoundError: No module named 'distutils' distutils was removed in 3.12 for https://peps.python.org/pep-0632/ Solution: Add BuildRequires: python3-setuptools to get it building for now, and work with upstream to migrate to a modern Python packaging setup. > But when I do the build locally on both f38 and rawhide (f39) > there is no problem and I do have a "BuildRequires: python3-devel" > in the spec file so I'm a bit lost as to what can be the > problem... F38 is on Python 3.11, where distutils still exists. Your mock cache must be stale if local rawhide builds are still succeeding without this. -- Yaakov Selkowitz Principal Software Engineer - Emerging RHEL Red Hat, Inc. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue