From b3dc72ca612b4f4ba44ba7d1d7b0e0402f9a95dc Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Wed, 28 Aug 2024 12:25:54 +0200 Subject: [PATCH] fix: Use uproot from GitHub until release v5.3.12 * Install uproot from https://github.com/scikit-hep/uproot5/tree/aa8b94f722982c6eb418f9f32273152039836fb2 to use the fix from https://github.com/scikit-hep/uproot5/pull/ 1280 until uproot v5.3.12 is released. * Need to install after the lock file as pip installs from lock files with hashes requires that _all_ packages in the lock file have hashes, which isn't possible when installing from GitHub. --- docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 514d594..ac440c7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -38,6 +38,8 @@ RUN echo -e '\n# Activate python virtual environment\nif [ -d /venv/bin ]; then\ --no-deps \ --require-hashes \ --requirement /docker/requirements.lock && \ + python -m pip uninstall --yes uproot && \ + python -m pip --no-cache-dir install --upgrade "uproot @ git+https://github.com/scikit-hep/uproot5.git@adf831ebe2824eea669f7cb6e1046adbb3d17d93" && \ chown -R atlas /venv && \ python --version --version && \ python -m pip list && \