Skip to content

Commit

Permalink
Merge pull request #72 from noxan/master
Browse files Browse the repository at this point in the history
Disable export plugin warning
  • Loading branch information
felix11h authored Jul 8, 2024
2 parents 9fc699c + e3c6b1d commit a4069df
Showing 1 changed file with 6 additions and 0 deletions.
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

0 comments on commit a4069df

Please sign in to comment.