-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python: consider splitting out the stdlib tests #9908
Comments
Is any other distro doing that? And which directories does this include? There are lots of test_xxx directories
If we wouldn't ship them then Python would create them and they wouldn't be tracked by pacman. |
sure, but only those that are actually used, and there would be some space saving for sure
Hm, would an uninstall then go wrong? All those
I'm neither a python nor a distro expert so I don't know. The main question is "what do we want" and what would be the (implied) result.
I've thought about lib/tests and everything below and all |
related upstream issues: |
That's interesting. So it looks 3.10 has a Is someone working on this update or any known issue with 3.10? |
If we want to remove the tests, yes (do we?). For splitting it at least defines the set of optional directories in an official way which we could split... as we still have to install them during the package build.
That's happening here: msys2-contrib/cpython-mingw#52 Not sure when that will be ready. |
To answer that, Arch does: https://archlinux.org/packages/core/x86_64/python-tests/ |
In this case I think MSYS2 definitely should do the same. |
An https://github.com/archlinux/svntogit-packages/blob/packages/python/trunk/PKGBUILD nicely shows how it is done. |
Since removing the tests as a user is hard and this is "supported" upstream now this sounds good to me. |
... and it fits perfectly well in the current "minimal size approach", too :-) |
Just did a fresh install and have seen that the python package ships with a big lib/python directory.
Is this really needed - especially the "test" subdirectory which takes 60MB alone?
If not then it would be very reasonable to delete those in the PKGBUILD instead of shipping them; or, if it is only very seldom needed, move that out to an optional python-testlibs package.
Rechecked: the old Python Windows package I've installed over three years ago also includes lib/test (with much less content, but still). Nonetheless: Does a user of MinGW would need that?
Is it also reasonable to ship the
__pycache__
folders?The text was updated successfully, but these errors were encountered: