Pin regex in docker to 2021.10.8 (GH-2579)
* Pin regex in docker to 2021.10.8 - 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. Test: Build on my M1 mac: `docker build -t cooperlees/black .` * Add in that the pin is only for docker
This commit is contained in:
parent
9afffacaa0
commit
7bf233a944
@ -24,6 +24,8 @@
|
|||||||
### Integrations
|
### Integrations
|
||||||
|
|
||||||
- Allow to pass `target_version` in the vim plugin (#1319)
|
- Allow to pass `target_version` in the vim plugin (#1319)
|
||||||
|
- Pin regex module to 2021.10.8 in our docker file as it has arm wheels available
|
||||||
|
(#2579)
|
||||||
|
|
||||||
## 21.9b0
|
## 21.9b0
|
||||||
|
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
FROM python:3-slim
|
FROM python:3-slim
|
||||||
|
|
||||||
|
# TODO: Remove regex version pin once we get newer arm wheels
|
||||||
RUN mkdir /src
|
RUN mkdir /src
|
||||||
COPY . /src/
|
COPY . /src/
|
||||||
RUN pip install --no-cache-dir --upgrade pip setuptools wheel \
|
RUN pip install --no-cache-dir --upgrade pip setuptools wheel \
|
||||||
&& apt update && apt install -y git \
|
&& apt update && apt install -y git \
|
||||||
&& cd /src \
|
&& cd /src \
|
||||||
|
&& pip install --no-cache-dir regex==2021.10.8 \
|
||||||
&& pip install --no-cache-dir .[colorama,d] \
|
&& pip install --no-cache-dir .[colorama,d] \
|
||||||
&& rm -rf /src \
|
&& rm -rf /src \
|
||||||
&& apt remove -y git \
|
&& apt remove -y git \
|
||||||
|
Loading…
Reference in New Issue
Block a user