-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Remove Provider Deprecations in Common SQL #44645
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,6 +25,16 @@ | |
| Changelog | ||
| --------- | ||
|
|
||
| main | ||
| ..... | ||
|
|
||
| .. warning:: | ||
| All deprecated classes, parameters and features have been removed from the Common SQL provider package. | ||
| The following breaking changes were introduced: | ||
|
|
||
| * Hooks | ||
| * Remove ``_make_serializable`` method from ``DbApiHook``. Use ``_make_common_data_structure`` instead. | ||
|
Comment on lines
+35
to
+36
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we need more context here? similar to what I commented on #44567 (comment)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK. So the thing is - we should basically never (unless we have a very good reason) make a breaking release of a common provider. If we do - this breaks a lot of things when it comes to provider up/downgrability. This means that if ONE provider will start using features from such "breaking change" release. other providers will have to use it as well. So if the other providers depend on the "broken" feature, they will be broken once you upgrade common.sql to the breaking version. That's one of the difficulties with "common" - because in Python (unlike in npm or system libraries) we cannot have two versions of the same library used at the same time. I'd say this change is "lightly breaking" - it's likely breaking single (or very few) versions of past released providers. It does not break user code, it breaks some old version of providers (and we could consider that as a bugifix. We could likely try to determine which versions of which providers were affected by this change. There were two heated but otherwise resulting in no conclusiosns (except renaming of
Having common.sql incompatibility and potential impact on already released providers was one of the issues I raised then as a reason why we should not rename it. We added deprecation instead. IMHO year is long enough to consider those "old providers" are "out of fashion" and assessing that it's highly unlikely somoene will have new Alternative is to add
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can also decide to exclude common.sql and do the removal at later phase
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tend to agree that we should just tweak the message on the change log |
||
|
|
||
| 1.20.0 | ||
| ...... | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.