From 41384b891011afacbc40f554ed2503a29f37205b Mon Sep 17 00:00:00 2001 From: rgandolfi Date: Wed, 6 May 2026 14:44:20 +0200 Subject: [PATCH 1/3] [DEEPLOY] Fix for python error when running regression --- Deeploy/DeeployTypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Deeploy/DeeployTypes.py b/Deeploy/DeeployTypes.py index de5a66aae9..44abe85112 100644 --- a/Deeploy/DeeployTypes.py +++ b/Deeploy/DeeployTypes.py @@ -686,10 +686,10 @@ def __eq__(self, other): def _mangle(self, name: str, repr: bool = True) -> str: repStr = name - repStr = re.sub('\.', '_', repStr) + repStr = re.sub(r'\.', '_', repStr) repStr = re.sub(':', '_', repStr) if repr: - repStr = re.sub('\.', '_', self.name) + '_' + repStr + repStr = re.sub(r'\.', '_', self.name) + '_' + repStr return repStr def add(self, obj: VariableBuffer, ctxt: Literal['local', 'global'] = 'local', _id: str = ""): From 67a9a34219ef41e7494032dc9543ecf7632b482f Mon Sep 17 00:00:00 2001 From: RiccardoGandolfi Date: Thu, 7 May 2026 09:10:06 +0200 Subject: [PATCH 2/3] Update Changelog.md Signed-off-by: RiccardoGandolfi --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42281c6f0a..106f96d8fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ This file contains the changelog for the Deeploy project. The changelog is divid - Fix test paths in Deeploy 101 tutorial - Fix tiling variable replacement corrupting static arrays by changing pointer update from value copy to address reassignment - Reduce RunNetwork stack usage by scoping per-layer variables with braces and moving tileIdxPtr allocation into per-layer execution blocks +- Fix invalid escape sequence python error in DeeployTypes.py: appearing when using pytest to launch regressions ### Removed - `testDMA.py` was an old test; we now have `test_dmas.py` instead. From f78dd923b11ffb61f868613d74d765e751a51eca Mon Sep 17 00:00:00 2001 From: RiccardoGandolfi Date: Fri, 8 May 2026 09:02:53 +0200 Subject: [PATCH 3/3] Update CHANGELOG.md Co-authored-by: Victor Jung <33875047+Victor-Jung@users.noreply.github.com> Signed-off-by: RiccardoGandolfi --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 106f96d8fa..49f0972a59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ This file contains the changelog for the Deeploy project. The changelog is divid - Use Pre-Commit in CI [#159](https://github.com/pulp-platform/Deeploy/pull/159) - Deeploy-GAP9 Platform [#143](https://github.com/pulp-platform/Deeploy/pull/143) - Update CLI interface Across Project, Fix Tutorial, and Remove Legacy Test [#157](https://github.com/pulp-platform/Deeploy/pull/157) +- Fix for python error when using python 3.12.11 [#189]( https://github.com/pulp-platform/Deeploy/pull/189) ### Added - Add many missing docstrings