-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Improve the phrasing of in-tree build deprecation warning #10129
Conversation
I'm not sure if my news entry type for "doc" is correct since I'm adjusting the code... (I'm new to towncrier.) Let me know if you'd like me to change it or mark as trivial or whatever. |
The old message is:
This PR proposes to change it to:
Some part of me wants to change it to something like:
This would, however, be a two-fold change -- partly here and partly in the If you want to avoid increasing the scope of this PR significantly, let's do something like:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested rewording above for the message, and for the NEWS fragment below.
Hi there @pradyunsg, thanks so much for the feedback! I agree with the spirit of your suggestions. I wonder if we can make it a bit more concise. I'm posting an updated suggestion... |
@pradyunsg, do you understand the intention with regards to the |
British spelling is "behaviour" while American spelling is "behavior". The original message was American. Did you intend to switch to British? Here's my next iteration:
Does this read well to you? |
@pradyunsg I think I may have misunderstood the deprecation message earlier. Will If so, I think this is better:
|
Hello @pradyunsg, I have updated the text of my message according to the last suggestion I made, and squashed my commits. The original intention of the deprecation message is still unclear to me. I think it is either
I originally believed that it was 1. Now that I see how the Am I correct that 2 is the correct interpretation of the deprecation warning? And that the And finally, are you satisfied with my phrasing? I tried to address your concerns, but if you think the text can still be improved, please let me know! If the following conditions are true:
then as far as I can tell from my side, this is ready for merge and release. |
Both are partially correct. The plan is: Now: no flag prints deprecation warning and old behavior. --use-feature=in-tree-build uses new behavior. The current message is for conveying "hey, this copying thing is gonna change. Make sure your package works without copying with this option, before the default changes". |
I'd like to avoid the "regarding..." phrasing, but, eh, I don't feel strongly about this. I probably feel more strongly that we shouldn't have a newline though. We're already at a long-enough message here that there's wrapping. |
Ah, ok, thank you for clarifying. Then there will be no long-term way to suppress this deprecation warning. |
I'm a bit concerned that people will try to make the deprecation warning go away, add I also found the I'm not so fond of the "Regarding..." myself, but I feel like it's important to clarify the meaning of the word "this". I'd be happy for an alternative way to accomplish that. I'm actually leaning towards opening another issue about I don't like how long this message is, but at least it's specific. My latest attempt:
|
The |
So what is the next step for this? Would it be possible to get this ready for 21.2 this month? |
It seems to me the discussion for #10167 is not going to reach a conclusion immediately, so I'm releasing 21.2 without this. |
This new fix will work once rebased onto #10167 so that the |
Context is explained in the following comment: <pypa#7555 (comment)>
@uranusjr and @pradyunsg, this should now work thanks to #10167. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but suggesting one minor style change. :)
@pradyunsg I'm looking for the style change you'd like to suggest, but I'm not finding it. Could you please let me know again what exactly you'd like changed? |
Perhaps it vanished after you "approved" the changes? (weird GitHub stuff?) |
Indeed! |
Co-authored-by: Pradyun Gedam <[email protected]>
Got it, thanks @pradyunsg! It looks nicer this way. |
Oops, the indent pushed the line over the limit... |
@pradyunsg and @uranusjr, all tests are passing. Ready to merge? Thanks! |
Closes #10128