Fallback to requires-python in certain cases when target-version is not found (#16721)

## Summary

Restores https://github.com/astral-sh/ruff/pull/16319 after it got
dropped from the 0.10 release branch :(

---------

Co-authored-by: dylwil3 <dylwil3@gmail.com>
This commit is contained in:
Micha Reiser
2025-03-14 09:36:51 +01:00
committed by GitHub
parent 2382fe1f25
commit 595565015b
10 changed files with 2915 additions and 66 deletions

1
Cargo.lock generated
View File

@@ -3192,6 +3192,7 @@ dependencies = [
"thiserror 2.0.12",
"toml",
"tracing",
"tracing-log",
"tracing-subscriber",
]