Re: tests split off from scipy package in conda-forge

Tyler Reddy <[email protected]> Sun, 28 May 2023 14:09:01 -0600
Newsgroups gmane.comp.python.scientific.devel
Message-ID <CAHPuU_YmmRXztSOfy9358QwSJVcGkEyQ9YYEEY91O848+60=Ng@mail.gmail.com>
And to be clear, by "main repo," I also mean sdists and wheels include test
sources by default (in my preferred approach). I realize others don't see
the point, but there are always tradeoffs on convenience, etc.

On Sun, 28 May 2023 at 13:59, Tyler Reddy <[email protected]> wrote:

> FWIW, I'm in favor of moving large data assets out, but my preference
> would be to always have the sources of tests in the main repo. The debates
> about this
> aren't super interesting/fun, but anyway that's where I land on it, even
> if the project goes in another direction.
>
> Best wishes,
> Tyler
>
> On Sat, 13 May 2023 at 05:07, Ralf Gommers <[email protected]> wrote:
>
>> Hi all,
>>
>> This is an FYI that in conda-forge, thanks to the hard work of
>> @h-vetinari [1], the `scipy` package now no longer contains tests. Instead,
>> those are split off into a new `scipy-tests` package which, when you
>> install that, puts all the test files back inside the `scipy` package tree.
>>
>> The gain of that exercise was a ~30% size reduction, which seems worth
>> it. We already had plans to do something similar in SciPy itself, by
>> putting the heavy data files from the test suite under `scipy.datasets`.
>> The gain of that will be less, probably 15-20% of the total size of wheels
>> (excluding vendored openblas et al.). The conda-forge packages are a nice
>> test case - if we receive no complaints from that, it should be pretty safe
>> to move forward with that plan.
>>
>> Cheers,
>> Ralf
>>
>> [1] https://github.com/conda-forge/scipy-feedstock/pull/184
>> _______________________________________________
>> SciPy-Dev mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>> https://mail.python.org/mailman3/lists/scipy-dev.python.org/
>> Member address: [email protected]
>>
>

_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]