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
When installing an exported requirements.txt via pip, you should always pass --no-deps
because Poetry has already resolved the dependencies so that all direct and transitive
requirements are included and it is not necessary to resolve again via pip.
pip may even fail to resolve dependencies, especially if git dependencies,
which are exported with their resolved hashes, are included.
Note
Only the constraints.txt and requirements.txt formats are currently supported.
Available options
--format (-f): The format to export to (default: requirements.txt). Currently, only constraints.txt and requirements.txt are supported.
--output (-o): The name of the output file. If omitted, print to standard output.
--with: The optional and non-optional dependency groups to include. By default, only the main dependencies are included.
--only: The only dependency groups to include. It is possible to exclude the main group this way.
--without: The dependency groups to ignore. (Deprecated)
--default: Only export the main dependencies. (Deprecated)
--dev: Include development dependencies. (Deprecated)
--extras (-E): Extra sets of dependencies to include.
--all-extras: Include all sets of extra dependencies.
--all-groups: Include all dependency groups.
--without-hashes: Exclude hashes from the exported file.
--with-credentials: Include credentials for extra indices.
About
Poetry plugin to export the dependencies to various formats