github
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/datasette/issues/191#issuecomment-381488049 | https://api.github.com/repos/simonw/datasette/issues/191 | 381488049 | MDEyOklzc3VlQ29tbWVudDM4MTQ4ODA0OQ== | 9599 | 2018-04-16T05:58:15Z | 2018-04-16T05:58:15Z | OWNER | I think this is pretty hard. @coleifer has done some work in this direction, including https://github.com/coleifer/pysqlite3 which ports the standalone pysqlite module to Python 3. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
310533258 | |
https://github.com/simonw/datasette/issues/191#issuecomment-381602005 | https://api.github.com/repos/simonw/datasette/issues/191 | 381602005 | MDEyOklzc3VlQ29tbWVudDM4MTYwMjAwNQ== | 119974 | 2018-04-16T13:37:32Z | 2018-04-16T13:37:32Z | NONE | I don't think it should be too difficult... you can look at what @ghaering did with pysqlite (and similarly what I copied for pysqlite3). You would theoretically take an amalgamation build of Sqlite (all code in a single .c and .h file). The `AmalgamationLibSqliteBuilder` class detects the presence of this amalgamated source file and builds a statically-linked pysqlite. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
310533258 | |
https://github.com/simonw/datasette/issues/191#issuecomment-392822050 | https://api.github.com/repos/simonw/datasette/issues/191 | 392822050 | MDEyOklzc3VlQ29tbWVudDM5MjgyMjA1MA== | 9599 | 2018-05-29T15:33:25Z | 2018-05-29T15:33:25Z | OWNER | I don't know how it happened, but I've somehow got myself into a state where my local SQLite for Python 3 on OS X is `3.23.1`: ``` ~ $ python3 Python 3.6.5 (default, Mar 30 2018, 06:41:53) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3 >>> sqlite3.connect(':memory:').execute('select sqlite_version()').fetchall() [('3.23.1',)] >>> ``` Maybe I did something in homebrew that changed this? I'd love to understand what exactly I did to get to this state. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
310533258 | |
https://github.com/simonw/datasette/issues/191#issuecomment-392828475 | https://api.github.com/repos/simonw/datasette/issues/191 | 392828475 | MDEyOklzc3VlQ29tbWVudDM5MjgyODQ3NQ== | 119974 | 2018-05-29T15:50:18Z | 2018-05-29T15:50:18Z | NONE | Python standard-library SQLite dynamically links against the system sqlite3. So presumably you installed a more up-to-date sqlite3 somewhere on your `LD_LIBRARY_PATH`. To compile a statically-linked pysqlite you need to include an amalgamation in the project root when building the extension. Read the relevant setup.py. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
310533258 | |
https://github.com/simonw/datasette/issues/191#issuecomment-392831543 | https://api.github.com/repos/simonw/datasette/issues/191 | 392831543 | MDEyOklzc3VlQ29tbWVudDM5MjgzMTU0Mw== | 9599 | 2018-05-29T15:58:33Z | 2018-05-29T15:58:33Z | OWNER | I ran an informal survey on twitter and most people were on 3.21 - https://twitter.com/simonw/status/1001487546289815553 Maybe this is from upgrading to the latest OS X release. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
310533258 | |
https://github.com/simonw/datasette/issues/191#issuecomment-403908704 | https://api.github.com/repos/simonw/datasette/issues/191 | 403908704 | MDEyOklzc3VlQ29tbWVudDQwMzkwODcwNA== | 9599 | 2018-07-10T17:46:13Z | 2018-07-10T17:46:13Z | OWNER | I consider this resolved by #46 | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
310533258 |