Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable export plugin warning #72

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ fi
log "Install poetry-plugin-export"
poetry self add 'poetry-plugin-export@*' | indent

# Disabled warning about manually installing export plugin
# https://python-poetry.org/blog/announcing-poetry-1.8.0/#removing-poetry-plugin-export-from-the-default-installation
if [ "${POETRY_VERSION:0:3}" = "1.8" ] ; then
poetry config warnings.export false
fi

REQUIREMENTS_FILE="requirements.txt"

log "Export $REQUIREMENTS_FILE from Poetry"
Expand Down