#31765: schema.tests.SchemaTests.test_db_table fails on MacOS
-------------------------------+------------------------------------
Reporter: Tom Forbes | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Comment (by Tom Forbes):
Replying to [comment:9 Carlton Gibson]:
> It's the sort of thing I might say to add a note to
[https://docs.djangoproject.com/en/3.0/internals/contributing/writing-code
/unit-tests/#troubleshooting the Troublesooting section in the Running the
unit tests guide], saying "Update SQLite, preferably from homebrew" or
similar. SQLite is already on 3.32... — how long is any code we're going
add here be operational?
>
> Again, sorry if I'm just not seeing it. (I'm not at all sure what the
best approach here is.)
Part of the problem is that it's not as simple as just updating SQLite
from Homebrew, you also have to set specific `LDFLAGS` and `CPPFLAGS`
environment variables when building Python. I'm not sure many people would
do this (I have never done it previously). So while we could fix it in the
docs but I think that it would be confusing to a lot of people.
I've adapted my PR to exclude this feature when using SQLite 3.28.0 on
MacOS 10.15.x which I think is a good fix. As you said, sqlite is on
3.32.3 now, so it's highly likely that 3.28.0 on MacOS is always the
bundled version.
--
Ticket URL: <https://code.djangoproject.com/ticket/31765#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/061.83f8979bd7658a57ad2ae1baef88fb00%40djangoproject.com.