Skip to content

(Documentation) Not clear which groups uv export exports #16512

@anentropic

Description

@anentropic

Summary

https://docs.astral.sh/uv/reference/cli/#uv-export

Export the project's lockfile to an alternate format.

At present, both requirements.txt and pylock.toml (PEP 751) formats are supported.

The project is re-locked before exporting unless the --locked or --frozen flag is provided.

uv will search for a project in the current directory or any parent directory. If a project cannot be found, uv will exit with an error.

If operating in a workspace, the root will be exported by default; however, a specific member can be selected using the --package option.

Unclear if this exports just the default group, all groups, default+optional groups but not dev groups, or what.

There are options for --all-extras, --extra, --group, --no-default-groups, --no-dev, --no-extra, --no-group, --only-dev, --only-group ... but none of them clarify explicitly what the default behaviour is.

Example

It just needs a short sentence to say what the default behaviour is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions