Skip to content

Commit 6ea9019

Browse files
committed
Update for e2e test
1 parent cee04fc commit 6ea9019

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

drift/instrumentation/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from abc import ABC, abstractmethod
24
from types import ModuleType
35

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-e /sdk # Mount point for drift SDK
2-
Django>=5.0
2+
Django>=4.2
33
requests>=2.32.5
44
gunicorn>=22.0.0
55

drift/instrumentation/e2e_common/Dockerfile.base

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Python E2E Test Base Image
22
#
33
# This base image contains:
4-
# - Python 3.12
4+
# - Python 3.9 (minimum supported version)
55
# - Tusk CLI (for running replay tests)
66
# - System utilities (curl, postgresql-client)
77
#
88
# Build this image before running e2e tests:
99
# docker build -t python-e2e-base:latest -f drift/instrumentation/e2e-common/Dockerfile.base .
1010

11-
FROM python:3.12-slim
11+
FROM python:3.9-slim
1212

1313
# Install system dependencies
1414
RUN apt-get update && apt-get install -y --no-install-recommends \

drift/instrumentation/e2e_common/base_runner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
customize only the setup phase.
88
"""
99

10+
from __future__ import annotations
11+
1012
import json
1113
import os
1214
import signal

0 commit comments

Comments
 (0)