From 40a8cff5927457eb06f978cb5283eab9789c452d Mon Sep 17 00:00:00 2001 From: Houkun Date: Tue, 14 Apr 2026 12:01:37 +0200 Subject: [PATCH 1/3] AIP-211: upgrade pytest to >=9.0.3 to fix vulnerable tmpdir handling Addresses Dependabot alert #19 (MODERATE severity). The previous constraint ^6.2 allowed versions with insecure temporary directory handling. Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5020303..963a6a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ requests = "^2.23.3" ddataflow = 'ddataflow.ddataflow:main' [tool.poetry.dev-dependencies] -pytest = "^6.2" +pytest = ">=9.0.3" [build-system] requires = ["poetry-core>=1.0.0"] From 30e21e30a3ef6a83dc7775bcc98af5dbc39a01c4 Mon Sep 17 00:00:00 2001 From: Alex Eftimie Date: Thu, 11 Jun 2026 13:29:27 +0200 Subject: [PATCH 2/3] fix: bump pyspark to >=3.4.4 to fix inadequate encryption strength (AIP-364) CVE: Apache Spark inadequate encryption strength, patched in 3.4.4. Co-Authored-By: Claude Sonnet 4.6 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 963a6a7..793245a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ repository = "https://github.com/getyourguide/DDataFlow" [tool.poetry.dependencies] python = ">=3.8,<4" databricks-cli = {version = ">=0.16"} -pyspark = "3.4.1" +pyspark = ">=3.4.4" fire = ">=0.4" # this is not a direct dependency of the template, but a dependency of databricks-cli # that comes from mlflow, if we dont pin it here we get a lower version that has a security problem From 460c083e792675efc4ea7b0aed3ba61c3919522c Mon Sep 17 00:00:00 2001 From: Alex Eftimie Date: Thu, 11 Jun 2026 13:39:28 +0200 Subject: [PATCH 3/3] fix: bump minimum Python to 3.10 for pytest >=9.0.3 compatibility pytest 9.x dropped Python 3.8/3.9 support. Databricks 13.3+ runs 3.10+ so this constraint reflects reality. Co-Authored-By: Claude Sonnet 4.6 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 793245a..2e87736 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ readme = "README.md" repository = "https://github.com/getyourguide/DDataFlow" [tool.poetry.dependencies] -python = ">=3.8,<4" +python = ">=3.10,<4" databricks-cli = {version = ">=0.16"} pyspark = ">=3.4.4" fire = ">=0.4"