We ran dpkg-query -L python-3.12.1 in one of our images and found those files in the manifest. They are indeed part of the Python package we build and distribute.
Per Python’s documentation, these files are bundled as part of Python for regression tests and should not be utilized in any downstream package as they are subject to change. I assume right now these tests are being utilized for testing the resulting build we compile from source for our Python distributions. If necessary, we could follow-up with that group to check if including those files is necessary.
I would assume these tests, not just the certificates, can be removed as a whole from the final distribution since I don't see them present in other distributions like the deadsnakes ones for Ubuntu.
see https://rstudioide.zendesk.com/agent/tickets/107245
We ran
dpkg-query -L python-3.12.1
in one of our images and found those files in the manifest. They are indeed part of the Python package we build and distribute.Per Python’s documentation, these files are bundled as part of Python for regression tests and should not be utilized in any downstream package as they are subject to change. I assume right now these tests are being utilized for testing the resulting build we compile from source for our Python distributions. If necessary, we could follow-up with that group to check if including those files is necessary.