Skip to content

Commit

Permalink
Remove patching uproot (broken xrootd-authz-plugin with xrootd > 5.2.…
Browse files Browse the repository at this point in the history
…0 and uproot.MultithreadedXRootDSource)
  • Loading branch information
oshadura committed Dec 14, 2022
1 parent 4bec340 commit 7e35c22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile.cc-analysis-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,10 @@ COPY k8s-worker/supervisord.conf /etc/supervisor/
RUN groupadd -r condor && \
useradd -r -g condor -d /var/lib/condor -s /sbin/nologin condor

# REMOVE ME AFTER TEST:
# Patching uproot (broken xrootd-authz-plugin with xrootd > 5.2.0 and uproot.MultithreadedXRootDSource)
COPY uproot/uproot_xrd_source.patch /opt/conda/lib/python3.8/site-packages/uproot
RUN cd /opt/conda/lib/python3.8/site-packages/uproot && patch < uproot_xrd_source.patch
#COPY uproot/uproot_xrd_source.patch /opt/conda/lib/python3.8/site-packages/uproot
#RUN cd /opt/conda/lib/python3.8/site-packages/uproot && patch < uproot_xrd_source.patch

# FIXME: merge PRs open in distributed.git (oshadura)
# Distributed: we need to install patched version of distributed version
Expand Down
5 changes: 3 additions & 2 deletions docker/Dockerfile.cc-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ COPY dask/jobqueue-coffea-casa.yaml dask/dask_tls.yaml ${DASK_ROOT_CONFIG}/

USER root

# REMOVE ME AFTER TEST:
# Patching uproot (broken xrootd-authz-plugin with xrootd > 5.2.0 and uproot.MultithreadedXRootDSource)
COPY uproot/uproot_xrd_source.patch ${CONDA_DIR}/lib/python3.8/site-packages/uproot
RUN cd ${CONDA_DIR}/lib/python3.8/site-packages/uproot && patch < uproot_xrd_source.patch
#COPY uproot/uproot_xrd_source.patch /opt/conda/lib/python3.8/site-packages/uproot
#RUN cd /opt/conda/lib/python3.8/site-packages/uproot && patch < uproot_xrd_source.patch

# Distributed: we need to install patched version of distributed version
COPY dask/distributed ${CONDA_DIR}/lib/python3.8/site-packages/distributed
Expand Down

0 comments on commit 7e35c22

Please sign in to comment.