python-poetry / poetry-plugin-export

Poetry plugin to export the dependencies to various formats
MIT License
232 stars 52 forks source link

poetry-plugin-export warning continues to be shown even after installing the plug-in #290

Closed msaavedra-earnd closed 1 month ago

msaavedra-earnd commented 1 month ago

Poetry version: 1.8.3 Python version: 3.11.9-slim (using Docker)

I am getting the following warning from Poetry:

#12 0.897 Warning: poetry-plugin-export will not be installed by default in a future version of Poetry.
#12 0.897 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.

After explicitly installing the plugin and verifying that it is installed:


#8 [builder-base 3/7] RUN poetry self add poetry-plugin-export && poetry self show plugins
#8 1.228 Using version ^1.8.0 for poetry-plugin-export
#8 1.229 
#8 1.229 Updating dependencies
#8 1.229 Resolving dependencies...
#8 4.822 
#8 4.822 No dependencies to install or update
#8 4.985 
#8 4.985 Writing lock file
#8 6.254 
#8 6.254   - poetry-plugin-export (1.8.0) Poetry plugin to export the dependencies to various formats
#8 6.254       1 application plugin
#8 6.254 
#8 6.254       Dependencies
#8 6.254         - poetry (>=1.8.0,<3.0.0)
#8 6.254         - poetry-core (>=1.7.0,<3.0.0)
#8 DONE 6.4s

I keep getting the warning message.

Is this normal? The only way to disable the message (which I wouldn't want) is with a poetry config warnings.export false?

dimbleby commented 1 month ago

per https://github.com/python-poetry/poetry/issues/8809, please close