Just relying on python+ensurepip is not sufficient, though:
pip is used throughout our benchmark jobs, and does not get install by python+ensurepip,
some packages simply depend on py-pip and will pull pip in anyway, reintroducing the issue through seemingly unrelated changes (spack dependents py-pip | wc -l: 1855...).
Furthermore, import uproot now works out of the box (container?).
Only remaining issue causing me to keep open (beside fragility of the solution): after starting eic-shell, you can do pip install --upgrade numpy to bump from (spack-installed) 1.22.3 to (latest available) 1.22.4 (which is installed in ~/.local/lib). That is not found, however.
jug_xl>wdconinc@menelaos:~/EIC/benchmarks/physics_benchmarks$ pip install--no-warn-script-location--upgrade numpyDefaulting to user installation because normal site-packages is not writeableRequirement already satisfied: numpy in /usr/._local/fcn7tfdqh53qzuztskzjhtzzgg55tuam/lib/python3.9/site-packages (1.22.3)Collecting numpy Using cached numpy-1.22.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)Installing collected packages: numpySuccessfully installed numpy-1.22.4WARNING: You are using pip version 22.0.4;however, version 22.1.2 is available.You should consider upgrading via the '/opt/software/linux-debian-x86_64/gcc-11.2.0/python-3.9.12-oxf75cycwdo2v5cxb6x7zjxdskdz2ejk/bin/python3.9 -m pip install --upgrade pip' command.jug_xl>wdconinc@menelaos:~/EIC/benchmarks/physics_benchmarks$ pip list -v | grep numpynumpy 1.22.3 /usr/._local/fcn7tfdqh53qzuztskzjhtzzgg55tuam/lib/python3.9/site-packages pipWARNING: You are using pip version 22.0.4;however, version 22.1.2 is available.You should consider upgrading via the '/opt/software/linux-debian-x86_64/gcc-11.2.0/python-3.9.12-oxf75cycwdo2v5cxb6x7zjxdskdz2ejk/bin/python3.9 -m pip install --upgrade pip' command.