Skip to content

Commit

Permalink
Update poetry to 1.4.2
Browse files Browse the repository at this point in the history
There was a `'HTTPResponse' object has no attribute 'strict'` error
when building poetry inside the docker container;
python-poetry/poetry#7936
suggests it is an issue with poetry < 1.2 and not pinning urllib
to < 3.
  • Loading branch information
dragon-dxw committed May 18, 2023
1 parent 94e273c commit 5348267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN pip3 install --no-cache --upgrade pip setuptools wheel

COPY ./docker_context/poetry.lock .
COPY ./docker_context/pyproject.toml .
RUN pip3 install poetry==1.1.11
RUN pip3 install poetry==1.4.2
RUN poetry config virtualenvs.create false \
&& poetry install --no-interaction --no-ansi

Expand Down

0 comments on commit 5348267

Please sign in to comment.