File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -769,15 +769,29 @@ The option `--next-phase` allows the increment of prerelease phase versions.
769769
770770## export
771771
772+ {{% warning %}}
773+ This command is provided by the [ Export Poetry Plugin] ( https://github.com/python-poetry/poetry-plugin-export ) .
774+ The plugin is no longer installed by default with Poetry 2.0.
775+
776+ See [ Using plugins] ({{< relref "plugins#using-plugins" >}}) for information on how to install a plugin.
777+ As described in [ Project plugins] ({{< relref "plugins#project-plugins" >}}),
778+ you can also define in your ` pyproject.toml ` that the plugin is required for the development of your project:
779+
780+ ``` toml
781+ [tool .poetry .requires-plugins ]
782+ poetry-plugin-export = " >1.8"
783+ ```
784+ {{% /warning %}}
785+
772786This command exports the lock file to other formats.
773787
774788``` bash
775789poetry export -f requirements.txt --output requirements.txt
776790```
777791
778792{{% note %}}
779- This command is provided by the [ Export Poetry Plugin ] ( https://github.com/python-poetry/poetry-plugin-export )
780- and is also available as a pre-commit hook. See [ pre-commit hooks] ({{< relref "pre-commit-hooks#poetry-export" >}}) for more information.
793+ The ` export ` command is also available as a pre-commit hook.
794+ See [ pre-commit hooks] ({{< relref "pre-commit-hooks#poetry-export" >}}) for more information.
781795{{% /note %}}
782796
783797{{% note %}}
You can’t perform that action at this time.
0 commit comments