Skip to content

Suppress excluded-package footer with --no-annotate - #20085

Merged
konstin merged 1 commit into
astral-sh:release/0.12.0from
zupengwang:suppress-excluded-package-footer-annotation
Jul 21, 2026
Merged

Suppress excluded-package footer with --no-annotate#20085
konstin merged 1 commit into
astral-sh:release/0.12.0from
zupengwang:suppress-excluded-package-footer-annotation

Conversation

@zupengwang

@zupengwang zupengwang commented Jul 2, 2026

Copy link
Copy Markdown

Summary

  • suppress the excluded-package footer when uv pip compile --no-annotate is used
  • keep the existing footer behavior when annotations are enabled
  • add coverage for --unsafe-package combined with --no-annotate

Closes #19948.

@zupengwang
zupengwang marked this pull request as ready for review July 2, 2026 06:28
@astral-sh-bot

astral-sh-bot Bot commented Jul 2, 2026

Copy link
Copy Markdown

uv test inventory changes

This PR changes the tests when compared with the latest main baseline.

  • Added tests: 1
  • Removed tests: 0
  • Changed suites: 1
uv::pip_compile: +1 / -0

Added:

  • uv::pip_compile::pip_compile::unsafe_package_no_annotate

Removed: none

@charliermarsh charliermarsh added the breaking A breaking change label Jul 2, 2026
@charliermarsh charliermarsh added this to the v0.12.0 milestone Jul 2, 2026

@charliermarsh charliermarsh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I agree with this change but let's include it in the next breaking release (coming later this month).

@charliermarsh charliermarsh self-assigned this Jul 2, 2026
@konstin konstin mentioned this pull request Jul 7, 2026
@konstin
konstin changed the base branch from main to release/0.12.0 July 21, 2026 14:15
@konstin
konstin merged commit d152e50 into astral-sh:release/0.12.0 Jul 21, 2026
56 checks passed
konstin pushed a commit that referenced this pull request Jul 21, 2026
## Summary

- suppress the excluded-package footer when `uv pip compile
--no-annotate` is used
- keep the existing footer behavior when annotations are enabled
- add coverage for `--unsafe-package` combined with `--no-annotate`

Closes #19948.

Co-authored-by: wzp <wangzupeng12061@gmail.com>
@konstin konstin mentioned this pull request Jul 21, 2026
konstin pushed a commit that referenced this pull request Jul 24, 2026
## Summary

- suppress the excluded-package footer when `uv pip compile
--no-annotate` is used
- keep the existing footer behavior when annotations are enabled
- add coverage for `--unsafe-package` combined with `--no-annotate`

Closes #19948.

Co-authored-by: wzp <wangzupeng12061@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking A breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an option to suppress the "excluded packages" footer comment in uv pip compile

3 participants