Skip to content

Commit 9e3a709

Browse files
committed
chore: Update DuckDB and ignore pyarrow finding
1 parent c1cae1a commit 9e3a709

3 files changed

Lines changed: 75 additions & 56 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,10 +472,15 @@ jobs:
472472
# * false positive: only affects Arrow R package, not PyArrow
473473
# * see CVE description: "This vulnerability only affects the arrow R package, not other Apache Arrow implementations"
474474
# * databricks-sqlalchemy 1.x caps pyarrow<17, but upgrading requires SQLAlchemy 2.x (which is not possible for some Python versions)
475+
# PYSEC-2026-113 (Arrow C++ IPC file pre-buffering use-after-free)
476+
# * false positive for Python: advisory says RecordBatchFileReader::PreBufferMetadata is not exposed in Python bindings
477+
# * this repo uses PyArrow through pandas parquet IO and Arrow table construction, not IPC file pre-buffering
478+
# * databricks-sqlalchemy 1.x caps pyarrow<17, but upgrading requires SQLAlchemy 2.x (which is not possible for some Python versions)
475479
ignore-vulns: &ignore-vulns |
476480
PYSEC-2023-121
477481
CVE-2026-0994
478482
PYSEC-2024-161
483+
PYSEC-2026-113
479484

480485
audit-all:
481486
name: Audit - All

poetry.lock

Lines changed: 63 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,13 @@ dependencies = [
5454
"numpy>=2.1.0,<3; python_version >= '3.13'",
5555

5656
# SQL and database dependencies
57-
"duckdb>=1.1.0,<2.0.0; python_version < '3.12'",
58-
"duckdb>=1.1.0,<2.0.0; python_version >= '3.12'",
59-
"duckdb>=1.4.1,<2.0.0; python_version >= '3.13'",
60-
"duckdb-extensions>=1.1.0,<2.0.0", # bake in as dependency to not pull extensions from the internet on every notebook start
61-
"duckdb-extension-spatial>=1.1.0,<2.0.0",
62-
"duckdb-extension-excel>=1.1.0,<2.0.0",
57+
# Keep DuckDB on the 1.4 LTS line until its EOL on 2026-09-16.
58+
"duckdb>=1.4.2,<1.5.0; python_version < '3.12'",
59+
"duckdb>=1.4.2,<1.5.0; python_version >= '3.12'",
60+
"duckdb>=1.4.2,<1.5.0; python_version >= '3.13'",
61+
"duckdb-extensions>=1.4.2,<1.5.0", # bake in as dependency to not pull extensions from the internet on every notebook start
62+
"duckdb-extension-spatial>=1.4.2,<1.5.0",
63+
"duckdb-extension-excel>=1.4.2,<1.5.0",
6364
"google-cloud-bigquery-storage>=2.33.1,<3",
6465

6566
"pyarrow>=10.0.0,<=17.0.0; python_version == '3.10' and sys_platform != 'darwin'",

0 commit comments

Comments
 (0)