-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
docs(python): Document dropping non-existent column causes Exception now in v1 upgrade guide #18046
Conversation
Ready for another review |
LGTM 😄 |
The previous (non-raising) behavior was a bug. So this fix is not a breaking change. It is still available in the full release notes. But it shouldn't be part of the upgrade guide. We have to be a little selective there as the upgrade guide is already extremely long. |
Bug fixes which break code that previously worked are breaking changes. Intending for something to work a certain way does not mean that it works that way. Changing the API for any reason (whether it's considered a bug fix or a feature or a general change in the API) is a breaking change. v1 was a big change. It makes sense the upgrade guide is long. The ugprade guide is meant to help developers fix their code (or know what to expect) before the breaking changes bite them at runtime. Selecting which breaking changes are big enough to make it into the upgrade guide makes the upgrade guide much less valuable, and makes me even more afraid of upgrading Polars. Would you be open to a new PR where I put it in a different section at the bottom or something? |
That's your view on things. We have clearly documented our versioning policy here. |
The relevant reference ( |
Fixes #18045