Re: [gentoo-dev] python and frieds installs test code

2021-04-22 Thread Sam James


> On 22 Apr 2021, at 11:50, Joakim Tjernlund  
> wrote:
> 
> I have noted that python, portage and gentoolkit appers to install many MB of 
> what appers
> to be test code:
> python: /usr/lib/python*/test, /usr/lib/python*/ctypes/test, 
> /usr/lib/python*/lib2to3/tests,
>/usr/lib/python*/unittest, /usr/lib/python*/distutils/tests ...
> 
> portage/gentoolkit:  /usr/lib/python*/site-packages/portage/tests 
> /usr/lib/python*/site-packages/gentoolkit/test ..
> 
> Didn't look further, I guess there is more pkgs
> 
> The question then is, are these required in a running system?

It’s possible that there are various dev-python/* packages which we need to 
strip tests out of, but the ones
you’ve listed aren’t ones we can fix AFAIK.

> 
> Jocke



signature.asc
Description: Message signed with OpenPGP


Re: [gentoo-dev] python and frieds installs test code

2021-04-22 Thread Michał Górny
On Thu, 2021-04-22 at 10:50 +, Joakim Tjernlund wrote:
> I have noted that python, portage and gentoolkit appers to install many MB of 
> what appers
> to be test code:
> python: /usr/lib/python*/test, /usr/lib/python*/ctypes/test, 
> /usr/lib/python*/lib2to3/tests,
> /usr/lib/python*/unittest, /usr/lib/python*/distutils/tests ...
> 
> portage/gentoolkit:  /usr/lib/python*/site-packages/portage/tests 
> /usr/lib/python*/site-packages/gentoolkit/test ..
> 
> Didn't look further, I guess there is more pkgs
> 
> The question then is, are these required in a running system? 
> 

Yes.

-- 
Best regards,
Michał Górny





[gentoo-dev] python and frieds installs test code

2021-04-22 Thread Joakim Tjernlund
I have noted that python, portage and gentoolkit appers to install many MB of 
what appers
to be test code:
python: /usr/lib/python*/test, /usr/lib/python*/ctypes/test, 
/usr/lib/python*/lib2to3/tests,
/usr/lib/python*/unittest, /usr/lib/python*/distutils/tests ...

portage/gentoolkit:  /usr/lib/python*/site-packages/portage/tests 
/usr/lib/python*/site-packages/gentoolkit/test ..

Didn't look further, I guess there is more pkgs

The question then is, are these required in a running system? 

 Jocke