Title: Deprecate sqlite3.version and sqlite3.version_info · Issue #93370 · python/cpython · GitHub
Open Graph Title: Deprecate sqlite3.version and sqlite3.version_info · Issue #93370 · python/cpython
X Title: Deprecate sqlite3.version and sqlite3.version_info · Issue #93370 · python/cpython
Description: The sqlite3.version and sqlite3.version_info attributes have historically created some confusion, as they are sometimes mistaken for the SQLite 3 version number. They used to reflect the pysqlite1 version number, until the external pysql...
Open Graph Description: The sqlite3.version and sqlite3.version_info attributes have historically created some confusion, as they are sometimes mistaken for the SQLite 3 version number. They used to reflect the pysqlite1 ...
X Description: The sqlite3.version and sqlite3.version_info attributes have historically created some confusion, as they are sometimes mistaken for the SQLite 3 version number. They used to reflect the pysqlite1 ...
Opengraph URL: https://github.com/python/cpython/issues/93370
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecate sqlite3.version and sqlite3.version_info","articleBody":"The `sqlite3.version` and `sqlite3.version_info` attributes have historically created some confusion, as they are sometimes mistaken for the SQLite 3 version number. They used to reflect the _pysqlite_[^1] version number, until the external pysqlite package stopped upstreaming changes to the stdlib sqlite3 module[^2], but today they carry no meaning or practical value[^3].\r\n\r\nIn order to avoid future frustration, I suggest to deprecate `sqlite3.version` and `sqlite3.version_info` in 3.12, and remove them in 3.14.\r\n\r\nSee also [discussion on Discourse](https://discuss.python.org/t/want-to-update-sqlite-that-came-with-python/13056/6?u=erlendaasland)\r\n\r\n[^1]: The sqlite3 stdlib module was forked off of the external pysqlite module around 2005.\r\n[^2]: Somewhere around 2015, IIRC.\r\n[^3]: `sqlite3.version` is set to the value `'2.6.0'`, and `sqlite3.version_info` is set to the value `(2, 6, 0)`.","author":{"url":"https://github.com/erlend-aasland","@type":"Person","name":"erlend-aasland"},"datePublished":"2022-05-31T07:34:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/93370/cpython/issues/93370"}
| 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:eb246f38-e717-8e4f-a632-e38166f0e52b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAA0:345E79:15EE96:1DCE4D:6969677F |
| html-safe-nonce | 25b7ae674dbeedd7b01b55b83dfca180beb6f05f957b7d5b1d06bf0a2a52be57 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUEwOjM0NUU3OToxNUVFOTY6MURDRTREOjY5Njk2NzdGIiwidmlzaXRvcl9pZCI6Ijg3MzM5ODA3MTAxODAzMTcwNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9e2aeb3e618f7663b33e1946269dd735b09069c70061e4f486e312590c6edfa6 |
| hovercard-subject-tag | issue:1253453274 |
| 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/93370/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a23318cec3dc7e0cf06f801c462b2fa5b5002031630c3a53233377d3878b6936/python/cpython/issues/93370 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a23318cec3dc7e0cf06f801c462b2fa5b5002031630c3a53233377d3878b6936/python/cpython/issues/93370 |
| og:image:alt | The sqlite3.version and sqlite3.version_info attributes have historically created some confusion, as they are sometimes mistaken for the SQLite 3 version number. They used to reflect the pysqlite1 ... |
| 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 | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| 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 | ec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width