Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport "refactor: improve Given search preference warning" to 3.6 #22273

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #22189 to the 3.6.3.

PR submitted by the release tooling.
[skip ci]

**Problem**
It wasn't clear what action users was suppose to take to suppress
the new-from-3.6 Given search preference warning.

**Solution**
1. This refactors the code to give the warning an error code E205.
2. In case of warnings, tell the user to choose -source 3.5 vs 3.7,
   or use nowarn annotation.

[Cherry-picked 004cfc5]
Base automatically changed from backport-release-3.6.3-22199 to release-3.6.3 December 30, 2024 16:44
@WojciechMazur WojciechMazur merged commit c3cff52 into release-3.6.3 Dec 30, 2024
38 of 52 checks passed
@WojciechMazur WojciechMazur deleted the backport-release-3.6.3-22189 branch December 30, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants