On 7/20/23 2:09 PM, Yaakov Selkowitz wrote:
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.
Yes... this was the needed required package.


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.

Well the F38 scratch build still builds w/out add adding
new dependency... should I go ahead and add it or not worry
about it?

Thank you... very much!!!

steved.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to