Re: [Numpy-discussion] setuptools/distutils merger & numpy.distutils

2020-09-06 Thread David Cournapeau
On Sun, Sep 6, 2020 at 6:40 PM Daniele Nicolodi wrote: > On 06/09/2020 11:28, Ralf Gommers wrote: > > On Sun, Sep 6, 2020 at 9:50 AM Daniele Nicolodi > > This may be bigger endeavor, but wouldn't it be possible to extend > > setuptools interfaces in a way that plugging in the fortran sup

Re: [Numpy-discussion] setuptools/distutils merger & numpy.distutils

2020-09-06 Thread Daniele Nicolodi
On 06/09/2020 11:28, Ralf Gommers wrote: > On Sun, Sep 6, 2020 at 9:50 AM Daniele Nicolodi > This may be bigger endeavor, but wouldn't it be possible to extend > setuptools interfaces in a way that plugging in the fortran support does > not require monkey patching or accessing the impl

Re: [Numpy-discussion] setuptools/distutils merger & numpy.distutils

2020-09-06 Thread Ralf Gommers
On Sun, Sep 6, 2020 at 9:50 AM Daniele Nicolodi wrote: > On 06/09/2020 07:06, David Cournapeau wrote: > > 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

Re: [Numpy-discussion] setuptools/distutils merger & numpy.distutils

2020-09-06 Thread Ralf Gommers
On Sun, Sep 6, 2020 at 6:07 AM David Cournapeau wrote: > 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. > Thanks David! >

Re: [Numpy-discussion] setuptools/distutils merger & numpy.distutils

2020-09-06 Thread Daniele Nicolodi
On 06/09/2020 07:06, David Cournapeau wrote: > 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. This may be bigger endea

Re: [Numpy-discussion] setuptools/distutils merger & numpy.distutils

2020-09-05 Thread David Cournapeau
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

Re: [Numpy-discussion] setuptools/distutils merger & numpy.distutils

2020-09-05 Thread Ralf Gommers
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.or

[Numpy-discussion] setuptools/distutils merger & numpy.distutils

2020-09-02 Thread Ralf Gommers
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,