setuptools icon indicating copy to clipboard operation
setuptools copied to clipboard

Log missing conventional README at debug level

Open Sanjays2402 opened this issue 4 months ago • 3 comments

Summary of changes

The sdist command currently emits a warning when none of the conventional README filenames are present. That diagnostic is informational rather than actionable, and it can be misleading for projects that intentionally use a nonstandard README filename.

This changes the diagnostic from warning to debug output, keeping it available for troubleshooting without showing it during normal builds. It also adds a regression test that verifies the message is logged at the debug level.

Closes #4122

Pull Request Checklist

Sanjays2402 avatar Jul 13 '26 20:07 Sanjays2402

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • [ ] Queue this pull request

mergify[bot] avatar Jul 13 '26 20:07 mergify[bot]

@mergifyio queue

Sanjays2402 avatar Jul 13 '26 20:07 Sanjays2402

queue

☑️ Command disallowed due to command restrictions in the Mergify configuration.

  • [ ] sender-permission >= write

mergify[bot] avatar Jul 13 '26 20:07 mergify[bot]