I have picked up the then orphaned csound on 2022-10-17 to fix its
unrelated FTBFS issues, and the current csound-6.16.2-7 package
successfully builds locally with your below build instructions which
"rm -rf" distutils from the mock buildroot.
So the csound-6.16.2-7 package appears to be good to go for sans
distutils builds (and BTW, csound.spec has been BuildRequiring
python3-setuptools since at least 2019-08-19).
I am therefore assuming the csound package landed on this list by
mistake. Possibly csound was still FTBFS when you did your sans
distutils build, and then I had just fixed csound to build successfully
when you ran the control-group copr builds.
On 2022-10-18 11:27 +0200, Miro Hrončok <mhroncok(a)redhat.com> wrote:
> Hey Pythonistas.
> The Python standard library distutils module will be removed from
> Python 3.12+
> As preparatory work, we build all python packages in a Copr
> repository with Python 3.11 sans distutils:
> I've rebuilt all the failed builds again and also in a control-group
> 250 packages that failed to build without distuils but succeeded with
> distutils need to be examined and categorized into various different
> - package uses distutils only if sys.version_info < (3, 12)
> -- this is OK but still fails here
> - package uses distutils unconditionally and the package needs to
> be fixed
> - package uses another package that uses distutils unconditionally
> and the dependency needs to be fixed
> I suspect most of the packages will fail to build with Python 3.12
> (planned for Fedora 39, change proposal TBD). The python3-setutpools
> package provides a distutils module [^1], so sometimes "simply"
> adding BuildRequires: python3-setuptools might workaround the problem.
> However, upstream involvement is recommended.
> A few bugzillas were opened wrt this and I plan to open more:
> I've also oepned some upstream Pull Requests:
> Could you please help me by looking at your failed packages and
> talking to your upstreams? Feel free to reply with links, questions,
> To test this locally, you can do something like:
> 1. fedpkg clone $PKG && cd $PKG
> 2. mock -r fedora-rawhide-x86_64 init
> 3. mock -r fedora-rawhide-x86_64 install python3-devel
> 4. sudo rm -rf
> 4. fedpkg mockbuild -N
> [^1]: Unfortunately, is not 100 % compatible with the removed
> standard library one distutils:
> Maintainers by package:
> csound ndim
> Packages by maintainer:
> ndim csound