Upgrade to SQLite 3.30; Django 2.2 requires at least SQLite 3.8.3. - #106
Upgrade to SQLite 3.30; Django 2.2 requires at least SQLite 3.8.3.#106FlipperPA wants to merge 3 commits into
Conversation
…t/greatest version.
youcandanch
commented
Aug 22, 2019
@FlipperPA did you ever get this working? I for the life of me can't. |
FlipperPA
commented
Aug 24, 2019
@youcandanch I'm going to give it another whirl next week. I had it working locally, and wanted to test it as part of Lambda packages, but now it doesn't appear to be working from local. I'm wondering if I missed something, or something was cached. I'll look into it more deeply next week. |
FlipperPA
commented
Nov 16, 2019
I finally got some time to look at this. It turns out we need to build a full https://charlesleifer.com/blog/compiling-sqlite-for-use-with-python-applications/ This created a much, much larger binary (which makes sense), because it should contain all of SQLite. I've successfully pushed out the binary and have it responding from AWS Lambda with version 3.30: Anyone else care to test? @youcandanch? |
FlipperPA
commented
Nov 17, 2019
@Miserlou@mcrowson@jneves This is now ready to be merged. I've got it running in dev and production on my site at https://pyphilly.org/ with the latest Django and Wagtail versions. Huzzah! |
FlipperPA
commented
Nov 17, 2019
If anyone is waiting for this, in the meantime, feel free to use this: https://github.com/FlipperPA/django-s3-sqlite |
vaivars
commented
Jul 6, 2020
Is there any progress in merging this? |
FlipperPA
commented
Jul 6, 2020
@vaivars It is unlikely this will every be merged in. You can use https://github.com/FlipperPA/django-s3-sqlite which is now more advanced, with quite a few more checks to help avoid (but not eliminate) race conditions. |
UPDATE: this is unlikely to ever be merged in. Please use the more modern version here: https://github.com/FlipperPA/django-s3-sqlite
This upgrades to the latest/greatest version.
Django 2.2 deploys using SQLite (or the Zappa Django Utils s3sqlite engine) will fail, because the current package is SQLite 3.6.0.
Cheers!