I will comment with more details on GH, but I think jraco's suggestion makes a lot of sense. I would be willing to spend some time to merge upstream (i.e. setuptools now :) ) some of our changes in numpy.distutils.
Assuming the numpy.distutils codebase has not changed much in the last 10 years, my sense is that a lot of the features that relied on monkey patching can be merged upstream, fortran support being one notable exception. I remember trying to put in mingw64 support in distutils upstream 10 years ago, and the pace of communication was so slow that I gave up. But it was technically straightforward. David On Sat, Sep 5, 2020 at 8:13 PM Ralf Gommers <ralf.gomm...@gmail.com> wrote: > Hi all, > > Preliminary conclusion: let's pin all packages to setuptools < 50.0 and > wait for 6-9 months till the dust settles. Things may still change; the > reception of PEP 632 [1] hasn't been a "great idea, let's just rip it out > without a plan" one so far. > > Cheers, > Ralf > > [1] https://discuss.python.org/t/pep-632-deprecate-distutils-module/5134 > > > On Wed, Sep 2, 2020 at 11:33 AM Ralf Gommers <ralf.gomm...@gmail.com> > wrote: > >> Hi all, >> >> I spent some time looking at the fallout of the setuptools 50.0 release. >> There's quite a few small issues, those can/should all be worked around by >> pinning setuptools to a lower version. >> >> The root cause and main longer-term issue is that numpy.distutils extends >> and monkeypatches distutils, which mostly was fine because distutils moved >> super slowly and had a decent QA process. Now with setuptools, any patch >> goes into master and gets released to the whole wide world without any >> testing. The summary of that and how to deal with it I posted on >> https://github.com/pypa/setuptools/issues/2372 for discussion. >> >> Cheers, >> Ralf >> >> _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@python.org > https://mail.python.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion