-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-40744: Drop support for SQLite3 pre v3.7.3 #20330
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
Conversation
Should this replace #17413? |
@csabella I was not aware of #17413, but that PR includes a couple of things I missed (docs, tests, setup.py). I could pull in those bits from #17413 (or we could close this and merge the other one.) Also, there is a mismatch in the contents of that PR and the bpo it references. UPDATE: Please see commit 602c81153fba3dc3d8e745048ea49d7388cafb0b, @csabella. As this PR now stands, it replaces #17413. |
Ping, @csabella |
@erlend-aasland, @berkerpeksag was already requested for review, so you'll need to wait for him to have a chance to look into this. |
Ok, thank you, @csabella ! |
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.
Could you please update Doc/whatsnew/3.9.rst and mention the new minimum version requirement there?
Also, perhaps you can combine bpo-40810 in this PR as well?
Misc/NEWS.d/next/Library/2020-05-23-18-41-53.bpo-40744.q_4vJB.rst
Outdated
Show resolved
Hide resolved
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase And if you don't make the requested changes, you will be poked with soft cushions! |
I just saw that you've combined changes from #17413. I think it would be better if you could add Sergey's email address in the co-authored-by trailer so he could properly attributed:
Please add Sergey's name to the NEWS entry as well. |
And you can remove my name from the commit body since I haven't authored anything in the original PR :) |
Well, I incorporated your requested changes from #17413, so technically you did :) |
Are you sure about that? This PR can (IMHO shoud) be backported to 3.9, |
602c811
to
fc9c148
Compare
I have made the requested changes; please review again. I did not include bpo-40810. I'll open a separate PR for that one. |
Thanks for making the requested changes! @berkerpeksag: please review the changes made to this pull request. |
BTW, today it's 20 years since the first public SQLite alpha release. #funfact |
fc9c148
to
856da61
Compare
Sorry for force-pushing and repeatedly touching this PR, but I made some (IMO) required changes:
Are you ok with this, @berkerpeksag ? |
Unless I'm missing something obvious, |
You're quite right. My bad.
Just tested 3.9 w/SQLite 3.7.2, and it does not build bco. |
So, since this is only relevant for 3.9 and 3.10, we could of course include bpo-40810 in this PR. Since you already requested this, @berkerpeksag, I'll make the necessary changes and push again. |
What happens if you change the following line to Line 1467 in 805fa54
If it makes Python built without sqlite3 module, then I think it's the best behavior for 3.9. |
As expected, it does not include the sqlite3 module in the build. (Tested with a bare bones Debian w/SQLite 3.7.2 and a patched
How about this: Let's close this PR, close bpo-40744, and apply bpo-40810 to both 3.10 and 3.9. |
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.
Patches for master and branches (3.9) here must be applied to master first and backported.
This must be fixed or probably redone.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
@berkerpeksag, are you ok with this plan:
|
Remove code required to to support SQLite pre 3.7.3. Integrate setup.py, docs and unit test changes from PR python#17413 Style changes not related to bpo-40744 were dropped from the merge. Berker Peksag's suggested documentation changes was included. See python#17413 Co-written-by: Berker Peksag <berker.peksag@gmail.com> Co-written-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
7c4c9cf
to
a53c9ef
Compare
I have made the requested changes; please review again |
Thanks for making the requested changes! @berkerpeksag, @terryjreedy: please review the changes made to this pull request. |
A backport can be partial if not all of it applies to the previous version. (But then is has to be done manually, so if one knows ahead of time which part will be backported, separate PRs may be easier. The most common case for manual backports is all to one or more versions and part or adjusted diff to older versions.) The comment on the initial message, visible when edit, used to say that backports should have 'Cherrypicked from ...'. Now it just says to just put [GH-#####] where ##### is the PR number of the original, rather than the backport. The backport bot does both this and the [3.x] prefix for us. If you actually did that, I apologize. Anyway, at this point, do whatever Berker says. |
Thanks for the explanation. I think separate PR's are cleaner, both generally, and spefically in this case. (I hope Berker agrees, because I've rebased this PR too many times already :) ). I've already prepared the PR's as proposed in my previous comment. |
Why was my review requested? |
@berkerpeksag Have you had any chance to look at this? The plan is:
|
@berkerpeksag Closing this bco. noise and the spurious review requests. Will open a clean PR for this bpo. |
https://bugs.python.org/issue40744