Skip to content

Simplify selected extra markers in uv export#18433

Merged
charliermarsh merged 3 commits intomainfrom
charlie/comm
Mar 12, 2026
Merged

Simplify selected extra markers in uv export#18433
charliermarsh merged 3 commits intomainfrom
charlie/comm

Conversation

@charliermarsh
Copy link
Copy Markdown
Member

Summary

uv export now carries selected root extras through the export graph and simplifies extra markers on ordinary dependency edges, not just optional-dependency edges. This fixes cases where --all-extras would still emit redundant markers for requirements that are unconditional once the chosen extras are known.

@charliermarsh charliermarsh added the bug Something isn't working label Mar 12, 2026
----- stdout -----
# This file was autogenerated by uv via the following command:
# uv export --cache-dir [CACHE_DIR] --all-extras --frozen --no-hashes
typing-extensions==4.10.0
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On main, this includes: extra == 'foo' or extra == 'bar'

@charliermarsh charliermarsh marked this pull request as ready for review March 12, 2026 23:35
@charliermarsh charliermarsh merged commit 9c1f577 into main Mar 12, 2026
53 checks passed
@charliermarsh charliermarsh deleted the charlie/comm branch March 12, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant