Skip to content

Commit a198551

Browse files
committed
fix: update vulnerable dependencies and drop Python 3.9 (EOL)
Addresses all open Dependabot security alerts: - requests: 2.32.5 -> 2.33.1 (insecure temp file reuse, netrc leak) - deepdiff: 8.6.1 -> 8.6.2 (memory exhaustion DoS via SAFE_TO_IMPORT) - jinja2: tighten constraint to >=3.1.6 (sandbox breakout; already at 3.1.6) - pytest: 7.4.4 -> 9.0.3 (vulnerable tmpdir handling) - pygments: 2.18.0 -> 2.20.0 (ReDoS via GUID regex) - markdown: 3.7 -> 3.10.2 (uncaught exception) - pymdown-extensions: 10.14.3 -> 10.21.2 (ReDoS in figure capture) - filelock: 3.19.1 -> 3.29.0 (TOCTOU symlink vulnerability) requests>=2.33.0 requires Python>=3.10, so drop EOL Python 3.9 support and bump requires-python to >=3.10.
1 parent d00ec29 commit a198551

3 files changed

Lines changed: 39 additions & 347 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
strategy:
3030
matrix:
31-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
31+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3232

3333
steps:
3434
- name: Checkout code

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ authors = [
33
{name = "dbt Labs", email = "info@dbtlabs.com"},
44
]
55
license = {text = "Apache License 2.0"}
6-
requires-python = ">=3.9"
6+
requires-python = ">=3.10"
77
dependencies = [
88
"click<9.0.0,>=8.1.3",
9-
"requests<3.0.0,>=2.32.0",
9+
"requests<3.0.0,>=2.33.0",
1010
"loguru<1.0.0,>=0.6.0",
11-
"deepdiff>=8.6.1,<9.0.0",
11+
"deepdiff>=8.6.2,<9.0.0",
1212
"pydantic<3.0.0,>=2.12.0",
1313
"croniter<2.0.0,>=1.3.8",
1414
"ruamel-yaml<1.0.0,>=0.17.21",
1515
"rich>=12.6.0",
1616
"PyYAML<7.0.0,>=6.0.1",
1717
"python-dateutil<3.0,>=2.9",
1818
"beartype<1.0.0,>=0.18.5",
19-
"jinja2>=3.1.5,<4.0.0",
19+
"jinja2>=3.1.6,<4.0.0",
2020
"importlib-metadata<7,>=6.0",
2121
]
2222
name = "dbt-jobs-as-code"
@@ -40,7 +40,7 @@ dev = [
4040
"jsonschema<5.0.0,>=4.17.3",
4141
"rpds-py>=0.27.0", # Required for Python 3.14 support
4242
"pytest-mock>=3.14.0",
43-
"pytest<8.0.0,>=7.2.0",
43+
"pytest<10.0.0,>=9.0.3",
4444
"pytest-beartype<1.0.0,>=0.0.2",
4545
"pytest-cov<6.0.0,>=5.0.0",
4646
"pre-commit",

0 commit comments

Comments
 (0)