The test_stats_connect override was a stopgap for nixpkgs#494510, fixed
upstream in #494536. It forced a rebuild of the whole python package set
(psycopg -> pytest-postgresql -> sqlframe -> narwhals -> scikit-learn),
which broke on a flaky scikit-learn test.