Re: [Numpy-discussion] Proposal: split numpy.distutils into it's own package

2020-10-26 Thread Ralf Gommers
On Sun, Oct 25, 2020 at 1:20 PM Kevin Sheppard wrote: > NumPy could take an explicit runtime dependency on numpy-distutils so that > the code would be technically in a different repo bit would always be > available through NumPy. Eventually this could be removed as a runtime > dependency. > I pu

Re: [Numpy-discussion] Proposal: split numpy.distutils into it's own package

2020-10-25 Thread Matti Picus
On 10/25/20 5:39 PM, Dustin Spicuzza wrote: Sorry for not being clear, when I was discussing modifications to scipy I was referring to the specific use case of cross-compilation. The goal is that existing native builds would not break backwards compatibility. To that end, there's a package redi

Re: [Numpy-discussion] Proposal: split numpy.distutils into it's own package

2020-10-25 Thread Dustin Spicuzza
On 10/25/20 11:39 AM, Dustin Spicuzza wrote: > On 10/25/20 5:23 AM, Matti Picus wrote: >> On 10/25/20 10:46 AM, Dustin Spicuzza wrote: >>> I took a first stab at it, and... surprise, surprise, there were a few >>> more warts than I had originally expected in my initial survey. The >>> biggest unex

Re: [Numpy-discussion] Proposal: split numpy.distutils into it's own package

2020-10-25 Thread Dustin Spicuzza
On 10/25/20 5:23 AM, Matti Picus wrote: > > On 10/25/20 10:46 AM, Dustin Spicuzza wrote: >> I took a first stab at it, and... surprise, surprise, there were a few >> more warts than I had originally expected in my initial survey. The >> biggest unexpected result is that numpy.f2py would need to als

Re: [Numpy-discussion] Proposal: split numpy.distutils into it's own package

2020-10-25 Thread Kevin Sheppard
NumPy could take an explicit runtime dependency on numpy-distutils so that the code would be technically in a different repo bit would always be available through NumPy. Eventually this could be removed as a runtime dependency. Kevin On Sun, Oct 25, 2020, 09:23 Matti Picus wrote: > > On 10/25/

Re: [Numpy-discussion] Proposal: split numpy.distutils into it's own package

2020-10-25 Thread Matti Picus
On 10/25/20 10:46 AM, Dustin Spicuzza wrote: I took a first stab at it, and... surprise, surprise, there were a few more warts than I had originally expected in my initial survey. The biggest unexpected result is that numpy.f2py would need to also be a toplevel package. I did get the refactor c

Re: [Numpy-discussion] Proposal: split numpy.distutils into it's own package

2020-10-25 Thread Dustin Spicuzza
On 10/24/20 2:59 PM, Dustin Spicuzza wrote: > Since this initial feedback seems mostly positive, I'll go ahead and > take a stab at refactoring it and make a PR potentially this weekend. > It should be fairly straightforward. > > Dustin I took a first stab at it, and... surprise, surprise, ther

Re: [Numpy-discussion] Proposal: split numpy.distutils into it's own package

2020-10-24 Thread Dustin Spicuzza
On 10/24/2020 8:31 AM Pauli Virtanen wrote: la, 2020-10-24 kello 03:11 -0400, Dustin Spicuzza kirjoitti: Cross-compiling scipy and other projects that depend on numpy's distutils is a hug

Re: [Numpy-discussion] Proposal: split numpy.distutils into it's own package

2020-10-24 Thread Pauli Virtanen
la, 2020-10-24 kello 03:11 -0400, Dustin Spicuzza kirjoitti: > Cross-compiling scipy and other projects that depend on numpy's > distutils is a huge pain right now, because to do it [in addition to > lots of other details that you have to get right] you have to have > both > a native and cross-comp

Re: [Numpy-discussion] Proposal: split numpy.distutils into it's own package

2020-10-24 Thread Kevin Sheppard
Separating it is definitely a good idea. The only thing that I think would be better would be if they key features that are not in setuptools could be added there so that NumPy distutils could eventually be retired. Kevin On Sat, Oct 24, 2020, 08:12 Dustin Spicuzza wrote: > Hey all, > > [copie

[Numpy-discussion] Proposal: split numpy.distutils into it's own package

2020-10-24 Thread Dustin Spicuzza
Hey all, [copied from https://github.com/numpy/numpy/issues/17620, as requested by the feature request guidelines] Cross-compiling scipy and other projects that depend on numpy's distutils is a huge pain right now, because to do it [in addition to lots of other details that you have to get right]