Weeknotes 2021 Week 14

Released Django 3.2

This week was all about towards Tuesday. We had three security releases first thing, which Mariusz knocked out, and then Django 3.2 final a little later in the day.

The new version releases are always a big thing. There are lots of moving parts to update: docs, code, issue tracker, and so on. The overwhelming feeling is Which i didn’t I dot?

It’s done now. Yay! 💃

A Daphne point-release

A small fix for Daphne, for an error exposed by changes in asgiref. Version 3.0.2 on PyPI. Recommended.

More fighting with Python/SQLite on macOS

I wrote before about fighting macOS’s System Integrity Protection when testing different SQLite versions.

The saga deepens as I was using the latest release from python.org, but, whilst my DYLD_LIBRARY_PATH environment variable was being picked up, my chosen SQLite version was being ignored. 🤔

Turns out that, in contrast to a pyenv built Python, say, the official Python statically links SQLite, so you can’t override it. 🤨

I’m pretty sure modifying the SQLite version is a niche use-case, but it’s crucial to folks who need it.

I’m increasingly coming around to just subclassing Django’s SQLite backend and using Charles Leifer’s pysqlite3 standalone library.