From a523e38ecdf463be3e4ed9305269558046952d12 Mon Sep 17 00:00:00 2001 From: Charles de Beauchesne Date: Mon, 26 Aug 2024 12:03:15 +0200 Subject: [PATCH] Fix python3.12 profiling --- utils/_context/containers.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/utils/_context/containers.py b/utils/_context/containers.py index 78df30553a..5702cca761 100644 --- a/utils/_context/containers.py +++ b/utils/_context/containers.py @@ -685,10 +685,6 @@ def configure(self, replay): else: self.appsec_rules_file = (self.image.env | self.environment).get("DD_APPSEC_RULES", None) - if self.weblog_variant == "python3.12": - if self.library < "python@2.1.0.dev": # profiling causes a seg fault on 2.0.0 - self.environment["DD_PROFILING_ENABLED"] = "false" - def post_start(self): from utils import weblog