Implications of ctypes and shell avalaibility in Python 3.11 and going forward

I recently saw that distroless images with debian 12 moved out of experimental into production, and in doing so they removed ctypes and shell utilities from che core image to standardize with distroless images.

Here the reference: Python3 in debian12 (regular and plus) · Issue #1409 · GoogleContainerTools/distroless (

What are the implications of this w.r.t. enviroments that uses scientific packages such as pyarrow, numpy, pandas, scipy, scikit-learn etc? Or in general?

I would assume you install Debian 12 python ctype package if it is needed. Just as you do for python venv etc.

1 Like