File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,9 @@ jobs:
106106 uses : actions/checkout@v6
107107
108108 - name : Install lint dependencies
109- run : pip install --no-cache-dir --user flake8==7.3.0 reuse==5.1.0
109+ env :
110+ PIP_BREAK_SYSTEM_PACKAGES : 1
111+ run : pip install --no-cache-dir flake8==7.3.0 reuse==5.1.0
110112
111113 - name : Run flake8
112114 run : flake8
Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa && \
2929COPY test/requirements.txt /tmp/requirements-test.txt
3030COPY docs/requirements.txt /tmp/requirements-docs.txt
3131
32- RUN pip install --no-cache-dir --user setuptools wheel build
33- RUN pip install --no-cache-dir --user \
32+ # Set environment variable to allow pip installs in managed environment
33+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
34+
35+ RUN pip install --no-cache-dir setuptools wheel build
36+ RUN pip install --no-cache-dir \
3437 -r /tmp/requirements-test.txt \
3538 -r /tmp/requirements-docs.txt
36-
37- # Add user site-packages to PATH
38- ENV PATH="/root/.local/bin:$PATH"
3939ENV CUDA_HOME="/usr/local/cuda"
4040ENV PATH="$PATH:/usr/local/cuda/bin"
4141ENV LD_LIBRARY_PATH="/usr/local/cuda/lib64:${LD_LIBRARY_PATH}"
You can’t perform that action at this time.
0 commit comments