You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe be related. When running a bash script from pre-commit that includes the export command with the latest plugin installed also receiving the warning message.
#!/bin/bash# Ensure latest poetry export plugin is installed. Required post poetry v1.7.1# Ref: https://github.com/python-poetry/poetry-plugin-export
poetry self add poetry-plugin-export@latest
# Generate initial requirements.txt using poetry export plugin per plugin docs
poetry export -f requirements.txt --output requirements.txt --without-hashes --without dev
# Exit with successexit 0
Warning
Using version ^1.6.0 for poetry-plugin-export
Updating dependencies
Resolving dependencies... (0.1s)
No dependencies to install or update
Warning: poetry-plugin-export will not be installed by default in a future version of Poetry.
In order to avoid a breaking change and make your automation forward-compatible, please install poetry-plugin-export explicitly. See https://python-poetry.org/docs/plugins/#using-plugins for details on how to install a plugin.
To disable this warning run 'poetry config warnings.export false'.
I am using the following pre-commit hook:
and receiving the following warning:
It seems that it is not using the plugin and instead use the deprecated
poetry export
commandThe text was updated successfully, but these errors were encountered: