Skip to content

Commit aeab80d

Browse files
zkoppertCopilot
andcommitted
fix: pin docutils to 0.18.1 in Dockerfile for Python 2 compat
docutils 0.22.4 requires Python >= 3.9 but the Dockerfile uses Python 2. Pin to 0.18.1 (last py2-compatible release) with its py2.py3 wheel hash. CI workflow keeps 0.22.4 since it uses Python 3.x. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Zack Koppert <zkoppert@github.com>
1 parent ea45c19 commit aeab80d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN install-zef-as-user && zef install Pod::To::HTML
1818
RUN curl -L http://cpanmin.us | perl - App::cpanminus
1919
RUN cpanm --installdeps --notest Pod::Simple
2020

21-
RUN echo 'docutils==0.22.4 --hash=sha256:d0013f540772d1420576855455d050a2180186c91c15779301ac2ccb3eeb68de' > /tmp/requirements.txt && \
21+
RUN echo 'docutils==0.18.1 --hash=sha256:23010f129180089fbcd3bc08cfefccb3b890b0050e1ca00c867036e9d161b98c' > /tmp/requirements.txt && \
2222
pip install -r /tmp/requirements.txt
2323

2424
ENV PATH $PATH:/root/.rbenv/bin:/root/.rbenv/shims

0 commit comments

Comments
 (0)