public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] python and frieds installs test code
@ 2021-04-22 10:50 Joakim Tjernlund
  2021-04-22 12:50 ` Michał Górny
  2021-04-22 13:24 ` Sam James
  0 siblings, 2 replies; 3+ messages in thread
From: Joakim Tjernlund @ 2021-04-22 10:50 UTC (permalink / raw
  To: gentoo-dev@lists.gentoo.org

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] python and frieds installs test code
  2021-04-22 10:50 [gentoo-dev] python and frieds installs test code Joakim Tjernlund
@ 2021-04-22 12:50 ` Michał Górny
  2021-04-22 13:24 ` Sam James
  1 sibling, 0 replies; 3+ messages in thread
From: Michał Górny @ 2021-04-22 12:50 UTC (permalink / raw
  To: gentoo-dev

On Thu, 2021-04-22 at 10:50 +0000, 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] python and frieds installs test code
  2021-04-22 10:50 [gentoo-dev] python and frieds installs test code Joakim Tjernlund
  2021-04-22 12:50 ` Michał Górny
@ 2021-04-22 13:24 ` Sam James
  1 sibling, 0 replies; 3+ messages in thread
From: Sam James @ 2021-04-22 13:24 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]



> On 22 Apr 2021, at 11:50, Joakim Tjernlund <Joakim.Tjernlund@infinera.com> 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


[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-22 13:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-22 10:50 [gentoo-dev] python and frieds installs test code Joakim Tjernlund
2021-04-22 12:50 ` Michał Górny
2021-04-22 13:24 ` Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox