Log missing conventional README at debug level
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
- [x] Changes have tests
- [x] News fragment added in
newsfragments/. (See documentation for details)
Tick the box to add this pull request to the merge queue (same as @mergifyio queue).
- [ ] Queue this pull request
@mergifyio queue
queue
☑️ Command disallowed due to command restrictions in the Mergify configuration.
- [ ]
sender-permission >= write