File tree Expand file tree Collapse file tree 2 files changed +931
-5
lines changed Expand file tree Collapse file tree 2 files changed +931
-5
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,7 @@ USER ${USERNAME}
3333RUN /usr/local/bin/python -m pip install --upgrade pip --no-cache-dir \
3434 && /usr/local/bin/python -m pip install --upgrade setuptools --no-cache-dir \
3535 && python3 -m venv "${POETRY_HOME}" \
36- && "${POETRY_HOME}/bin/pip" install poetry --no-cache-dir \
37- # https://python-poetry.org/blog/announcing-poetry-1.4.0/#faster-installation-of-packages
38- # a somewhat breaking change was introduced in 1.4.0 that requires this config or else certain packages fail to install
39- # in our case it was the openai package
40- && "${POETRY_HOME}/bin/poetry" config installer.modern-installation false
36+ && "${POETRY_HOME}/bin/pip" install poetry --no-cache-dir
4137
4238# Copy poetry.lock* in case it doesn't exist in the repo
4339COPY --chown=${USERNAME}:${USER_GID} \
You can’t perform that action at this time.
0 commit comments