| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@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. |
Sorry, something went wrong.
|
@erlend-aasland, @berkerpeksag was already requested for review, so you'll need to wait for him to have a chance to look into this. |
Sorry, something went wrong.
There was a problem hiding this comment.
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?
Sorry, something went wrong.
|
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 I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request. And if you don't make the requested changes, you will be poked with soft cushions! |
Sorry, something went wrong.
|
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: Sergey Fedoseev <fedoseev.sergey@gmail.com> Please add Sergey's name to the NEWS entry as well. |
Sorry, something went wrong.
|
And you can remove my name from the commit body since I haven't authored anything in the original PR :) |
Sorry, something went wrong.
Well, I incorporated your requested changes from #17413, so technically you did :) |
Sorry, something went wrong.
Are you sure about that? This PR can (IMHO shoud) be backported to 3.9, 3.8 and probably even 3.7, because SQLite 3.7.3 won't work for any of them anyway (because of sqlite3_create_function_v2.) bpo-40810 should not be backported, no? Awaiting your answer before I update the PR. |
Sorry, something went wrong.
|
I have made the requested changes; please review again. I did not include bpo-40810. I'll open a separate PR for that one. |
Sorry, something went wrong.
|
Thanks for making the requested changes! @berkerpeksag: please review the changes made to this pull request. |
Sorry, something went wrong.
|
BTW, today it's 20 years since the first public SQLite alpha release. #funfact |
Sorry, something went wrong.
|
Sorry for force-pushing and repeatedly touching this PR, but I made some (IMO) required changes:
Are you ok with this, @berkerpeksag ? |
Sorry, something went wrong.
Unless I'm missing something obvious, sqlite3_create_function_v2() was introduced in Python 3.9 (b9a0376) so SQLite 3.7.3 is a hard requirement for only Python 3.9+. Backporting this PR to 3.9 may make sense if we can demonstrate that compiling Python 3.9 with pre 3.7.3 SQLite is possible. Maybe we can just fix the version number at https://github.com/python/cpython/blob/3.9/setup.py#L1467 and be done with it. |
Sorry, something went wrong.
You're quite right. My bad. sqlite3_create_function_v2() came with b9a0376.
Just tested 3.9 w/SQLite 3.7.2, and it does not build bco. sqlite3_create_function_v2(). |
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
What happens if you change the following line to MIN_SQLITE_VERSION_NUMBER = (3, 7, 3)? Line 1467 in 805fa54 If it makes Python built without sqlite3 module, then I think it's the best behavior for 3.9. |
Sorry, something went wrong.
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 setup.py). I guess built-in modules are statically linked anyway, so we can discard run-time checks, no? How about this: Let's close this PR, close bpo-40744, and apply bpo-40810 to both 3.10 and 3.9. |
Sorry, something went wrong.
There was a problem hiding this comment.
Patches for master and branches (3.9) here must be applied to master first and backported.
This must be fixed or probably redone.
Sorry, something went wrong.
|
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 I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request. |
Sorry, something went wrong.
@berkerpeksag, are you ok with this plan:
|
Sorry, something went wrong.
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>
|
I have made the requested changes; please review again |
Sorry, something went wrong.
|
Thanks for making the requested changes! @berkerpeksag, @terryjreedy: please review the changes made to this pull request. |
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
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. |
Sorry, something went wrong.
|
Why was my review requested? |
Sorry, something went wrong.
|
@berkerpeksag Have you had any chance to look at this? The plan is:
|
Sorry, something went wrong.
|
@berkerpeksag Closing this bco. noise and the spurious review requests. Will open a clean PR for this bpo. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
https://bugs.python.org/issue40744