Skip to content

Commit

Permalink
Pin regex in docker to 2021.10.8
Browse files Browse the repository at this point in the history
- This is due to 2021.10.8 having arm wheels and newer versions not

I will go see if I can help restore arm build @ https://bitbucket.org/mrabarnett/mrab-regex/issues/399/missing-wheel-for-macosx-and-the-new-m1 soon.
  • Loading branch information
cooperlees committed Oct 30, 2021
1 parent 6b38b52 commit 11e8b0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM python:3-slim

# TODO: Remove regex version pin once we get newer arm wheels
RUN mkdir /src
COPY . /src/
RUN pip install --no-cache-dir --upgrade pip setuptools wheel \
&& apt update && apt install -y git \
&& cd /src \
&& pip install --no-cache-dir regex==2021.10.8 \
&& pip install --no-cache-dir .[colorama,d] \
&& rm -rf /src \
&& apt remove -y git \
Expand Down

0 comments on commit 11e8b0b

Please sign in to comment.