Skip to content

Commit

Permalink
Pin pycodestyle version (#2639)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevenjin8 authored Aug 23, 2023
1 parent d09b30b commit 4bb6b0b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/build-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ ENV DEBIAN_FRONTEND=noninteractive

# Pinned versions of stuff we pull in
ENV AUTOPEP8_VERSION=2.0.2
ENV PYCODESTYLE_VERSION=2.10.0
ENV JWCRYPTO_VERSION=1.5.0
ENV PIP_INSTALL_VERSION=23.1.2
ENV PYGITHUB_VERSION=1.58.2
Expand All @@ -470,6 +471,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

# Install Python stuff
RUN python3 -m pip install --no-cache-dir --upgrade pip==${PIP_INSTALL_VERSION}
# FIXME: Pycodestyle had a breaking change in 2.11.0 and broke autopep8.
# Pin pycodestyle version until autopep8 is updated.
# https://github.com/hhatto/autopep8/issues/689
RUN python3 -m pip install --no-cache-dir pycodestyle==${PYCODESTYLE_VERSION}
RUN python3 -m pip install --no-cache-dir --no-binary :all: autopep8==${AUTOPEP8_VERSION}
RUN python3 -m pip install --no-cache-dir yamllint==${YAMLLINT_VERSION}
RUN python3 -m pip install --no-cache-dir requests==${REQUESTS_VERSION}
Expand Down

0 comments on commit 4bb6b0b

Please sign in to comment.