glitchtip: support django-async-backend>=6.1 (#567847)

This commit is contained in:
Sandro
2026-09-28 13:04:38 +00:00
committed by GitHub
2 changed files with 13 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
lib,
python314,
fetchFromGitLab,
fetchpatch,
callPackage,
stdenv,
makeWrapper,
@@ -88,6 +89,18 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-RGYD6HAFZZTSNJWd8n7/gMy9FkjZno9LO1jGxav5d9M=";
};
patches = [
# support django-async-backend>=6.1
(fetchpatch {
url = "https://gitlab.com/glitchtip/glitchtip-backend/-/commit/4cf8c9d1518f5835b71c0692a72b63d8a62bea4a.patch";
includes = [
"glitchtip/ingest_asgi.py"
"glitchtip/settings.py"
];
hash = "sha256-FwOJYSsJcJoqUwuHwHPWkzQqVB81Chex4RFTIhl82XM=";
})
];
postPatch = ''
echo 'import os
ALLAUTH_TRUSTED_CLIENT_IP_HEADER = os.getenv(

View File

@@ -9,8 +9,6 @@
postgresqlTestHook,
psycopg,
psycopg-pool,
pytest-django,
pytestCheckHook,
}:
buildPythonPackage rec {