Title: Bump required SQLite version to 3.15.2 · Issue #105875 · python/cpython · GitHub
Open Graph Title: Bump required SQLite version to 3.15.2 · Issue #105875 · python/cpython
X Title: Bump required SQLite version to 3.15.2 · Issue #105875 · python/cpython
Description: (Also posted on Discord.) In January 2021 (mid 3.10 development), Sergey Fodoseev and I raised the compile time (and runtime) SQLite version requirements for the sqlite3 standard library extension module to SQLite 3.7.15 (2012-12-12) or ...
Open Graph Description: (Also posted on Discord.) In January 2021 (mid 3.10 development), Sergey Fodoseev and I raised the compile time (and runtime) SQLite version requirements for the sqlite3 standard library extension ...
X Description: (Also posted on Discord.) In January 2021 (mid 3.10 development), Sergey Fodoseev and I raised the compile time (and runtime) SQLite version requirements for the sqlite3 standard library extension ...
Opengraph URL: https://github.com/python/cpython/issues/105875
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bump required SQLite version to 3.15.2","articleBody":"(Also [posted on Discord](https://discuss.python.org/t/bump-sqlite-minimum-version-requirement/27999?u=erlendaasland).)\r\n\r\nIn January 2021 (mid 3.10 development), Sergey Fodoseev and I raised the compile time (and runtime) SQLite version requirements for the sqlite3 standard library extension module to SQLite [3.7.15](https://sqlite.org/releaselog/3_7_15.html) (2012-12-12) or newer (commit cf0b23908cc902ac38cd83dd7ca5afdf89e1543b). That enabled us to clean up the code by getting rid of a lot of preprocessor conditionals and other version specific workarounds.\r\n\r\nFor Python 3.13 (to be released October 2024), I'll raise the version requirements to either SQLite [3.8.11.1](https://sqlite.org/releaselog/3_8_11_1.html) (2015-07-29), [3.14.2](https://sqlite.org/releaselog/3_14_2.html) (2016-09-12), or [3.15.2](https://sqlite.org/releaselog/3_15_2.html) (2016-11-28). Preferably the latter.\r\n\r\nAFAICS on [DistroWatch](https://distrowatch.com/dwres.php?resource=package-in-distro\u0026pkg=sqlite), we should be fine with any of those SQLite versions, for all major distros[^1].\r\n\r\nMajor clean-ups:\r\n- For SQlite 3.8.11.1, I can remove a lot of conditional code related to CTEs and deterministic functions.\r\n- For SQLite 3.14.2 I no longer need to implement two different variants of the trace callback.\r\n- For SQLite 3.15.2, I can remove special handling for legacy deterministic user function behaviour.\r\n\r\n\r\n[^1]: RHEL-7.9 ships with SQLite 3.7.17 but is EOL in June 2024.\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-105876\r\n* gh-129599\n* gh-129602\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/erlend-aasland","@type":"Person","name":"erlend-aasland"},"datePublished":"2023-06-16T21:32:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/105875/cpython/issues/105875"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4626a62b-0381-d584-ff41-af9de0a46a34 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB7C:166D49:F25DFD:14EEE7A:696A86AC |
| html-safe-nonce | 553e6912f6f9a7575fc0cc73baed0435f3071d6b9d729a29dbdd867be13f6e76 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjdDOjE2NkQ0OTpGMjVERkQ6MTRFRUU3QTo2OTZBODZBQyIsInZpc2l0b3JfaWQiOiI0NDExNDU0MTQyMzQ1MjgzMjQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ef504756454611b59799113af9a5b946aa3e32b1e74b9b450552d5f04a3659be |
| hovercard-subject-tag | issue:1761374498 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/105875/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fe045e2e68d2d3918cff34a65be5e4664116be0f143aebc68b6f12d53a529034/python/cpython/issues/105875 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fe045e2e68d2d3918cff34a65be5e4664116be0f143aebc68b6f12d53a529034/python/cpython/issues/105875 |
| og:image:alt | (Also posted on Discord.) In January 2021 (mid 3.10 development), Sergey Fodoseev and I raised the compile time (and runtime) SQLite version requirements for the sqlite3 standard library extension ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erlend-aasland |
| hostname | github.com |
| expected-hostname | github.com |
| None | d2aa6dedd7d97fa651b17c40401f2605f309df5ca5fb659bf0554cf34f1de825 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c1dbca8981c5e3d6a69bce2f1d289e732b86241d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width