Commit d442b830 authored by nimrod's avatar nimrod
Browse files

pre-commit image: Lock Cython to <3.

Needed for PyYAML<6.
parent 71ba42a1
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -12,6 +12,8 @@ RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | \
        python3-setuptools \
        python3-venv \
    && \
    export PIP_CONSTRAINT=/tmp/constraint.txt && \
    echo 'Cython < 3.0' > "$PIP_CONSTRAINT" && \
    python3 -m pip install --no-cache-dir --break-system-packages \
        docker-compose \
        pipenv \