Skip to content

Commit e3c6b1d

Browse files
noxanfelix11h
authored andcommitted
feat(poetry): disable export plugin warning starting version 1.8
1 parent 9fc699c commit e3c6b1d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/compile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ fi
6262
log "Install poetry-plugin-export"
6363
poetry self add 'poetry-plugin-export@*' | indent
6464

65+
# Disabled warning about manually installing export plugin
66+
# https://python-poetry.org/blog/announcing-poetry-1.8.0/#removing-poetry-plugin-export-from-the-default-installation
67+
if [ "${POETRY_VERSION:0:3}" = "1.8" ] ; then
68+
poetry config warnings.export false
69+
fi
70+
6571
REQUIREMENTS_FILE="requirements.txt"
6672

6773
log "Export $REQUIREMENTS_FILE from Poetry"

0 commit comments

Comments
 (0)