Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpin the pycodestyle and bump up the autopep8 #2794

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions docker/build-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,8 @@ FROM ubuntu:jammy as python_context
ENV DEBIAN_FRONTEND=noninteractive

# Pinned versions of stuff we pull in
ENV AUTOPEP8_VERSION=2.0.2
ENV PYCODESTYLE_VERSION=2.10.0
ENV AUTOPEP8_VERSION=2.0.4
ENV PYCODESTYLE_VERSION=2.11.1
ENV JWCRYPTO_VERSION=1.5.0
ENV PIP_INSTALL_VERSION=23.1.2
ENV PYGITHUB_VERSION=1.58.2
Expand All @@ -464,9 +464,6 @@ 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}
Expand Down