Skip to content

chore(deps-dev): bump duckdb from 2.0.0 to 2.0.1 - #46656

Open
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/pip/duckdb-2.0.1
Open

dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/pip/duckdb-2.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 28, 2026

Copy link
Copy Markdown
Contributor

Bumps duckdb from 2.0.0 to 2.0.1.

Release notes

Sourced from duckdb's releases.

v2.0.1 Bugfix Release

DuckDB Python 2.0.1 is a bugfix release for the 2.0 line. It fixes the hangs and crashes at interpreter exit that 2.0.0 introduced, a number of wrong results when scanning pandas, numpy, Arrow and polars data, and several long-standing conversion bugs. It ships DuckDB v2.0.1.

Exit and shutdown

  • A script that ends with an open result over a pandas object column no longer hangs at exit. Every live result is now ended by the module's exit hook, before the interpreter finalizes, including Arrow readers and capsules exported from a result (#709).
  • A process whose daemon threads still run queries over Python data no longer crashes or hangs at exit on Python 3.14. A query that starts after the exit handlers ran fails with InvalidInputException: the Python interpreter is shutting down instead (#719, fixes #714).
  • The nanobind: leaked N instances! report at exit is gone from release builds. Debug and assertion builds keep it (#784, fixes #732 and #736). We're following up with better object tracking to prevent the leaks from happening.
  • A map() function that calls sys.exit() no longer ends or hangs the process; it raises an engine error like every other exception from the function (#746).

Results and conversion

  • A fetch whose conversion fails, such as invalid UTF-8 in a VARCHAR or a Python error from a datetime conversion, now ends its result. The next statement runs instead of failing with ResourceInUseException (#712).
  • TIMESTAMPTZ values are converted to Python through zoneinfo instead of pytz. A clean install no longer fails with "Required module 'pytz' failed to import", and instants from 2038 on get the right DST offset (#710, #406 and #579).
  • Comparing a DuckDB type with a Python class no longer constructs the class. A class is read as a numpy scalar type only when it is a concrete subclass of numpy.generic; a KeyboardInterrupt raised while an operand converts reaches the caller instead of being swallowed. Lone surrogates in identifiers and SQL text are refused with a clear error (#747).

Scanning pandas, numpy and Arrow data

  • A pandas 2 categorical read through a strided view (df[::2], iloc[1::2]) returned the rows of the full column. Strided and reversed views, tuples of arrays and pandas 2 Series now read correctly or are refused with a clear error instead of std::bad_cast (#711).
  • A sliced numeric numpy column (iloc[1::3]) could read wrong values (#724).
  • con.append and Spark createDataFrame with a schema now convert an object column into the declared column type, cell by cell, instead of sampling the column and silently truncating values the sample missed (#739).
  • con.appender accepts numpy scalars (#748).
  • pandas 2 dictionary-encoded string columns are read (#745).
  • The Arrow importer reads three layouts it refused before: a struct or union below an offset, empty lists over a dictionary child, and a run-end encoded child inside a fixed size list. Sliced pyarrow Tables with nested struct columns are the common case (#730). Arrow refusals now name the column instead of its position (#745).

map()

  • map() keeps its input's column types: an ENUM no longer comes back as TINYINT with NULL as -1, and STRUCT, MAP, ARRAY, UNION, TIME_NS and nested columns no longer fail with a type mismatch. A whole chunk of NULLs in an object column no longer trips the type check (#744, #746).

Views, polars and Parquet pruning

  • A view created with to_view or create_view over a relation that reads a file-like object (read_csv(StringIO(...))) keeps working after the relation is collected (#741, fixes #477).
  • A polars lazy frame over a DuckDB relation pushes a filter to DuckDB only where it reads the same as polars. A filter that casts the column before comparing, such as a timestamp cast to milliseconds, no longer returns fewer rows than the eager frame (#740).
  • Parquet row group pruning works for TIMESTAMPTZ and TIME constants that lie between two points of a coarser column, and for points before 1970 (#745).

Expression API

  • Aggregate calls take an ORDER BY inside the call: col("x").first(order_by=col("t")) and fn("first", col("x")).order_by(col("t")) render "first"("x" ORDER BY "t"). Works with FILTER, IGNORE NULLS and over() (#713).

Engine

  • Ships DuckDB v2.0.1 (8d78114e9). Behavior that follows the engine: a parse error in SQL that runs aborts the active transaction; EXECUTE of a prepared statement over a register()ed source fails after unregister(); every finite timestamp renders as text; read_json reads DECIMAL from the number's text (#721, #729, #734, #770, #772, #778 and the submodule bumps).

Build and CI

  • The macOS wheels no longer carry a 10.7 deployment minimum on the module's objects (#749).
  • CI test jobs install the test group with uv sync (#728); the release workflow's S3 staging upload pins the classic transfer client and retries (#750).

Full Changelog: duckdb/duckdb-python@v2.0.0...v2.0.1

Commits
  • de8eed7 Silence nanobind exit leak report (#784)
  • 846a95f Keep the exit leak checks live through a private switch and give duckdb its o...
  • ac3eb2e Silence nanobind's exit leak report in builds without assertions
  • fd05ced pin submodule to v2.0.1 release commit
  • 169de19 [duckdb-labs bot] Bump DuckDB submodule (#781)
  • 25d5949 Bump submodule
  • 13a4e33 [duckdb-labs bot] Bump DuckDB submodule (#780)
  • 6819cb7 Bump submodule
  • db70c60 [duckdb-labs bot] Bump DuckDB submodule (#779)
  • 4d3b766 Bump submodule
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [duckdb](https://github.com/duckdb/duckdb-python) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/duckdb/duckdb-python/releases)
- [Commits](duckdb/duckdb-python@v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: duckdb
  dependency-version: 2.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependabot patch Dependabot PRs that bump patch version for dependencies pip Dependabot - pip related PRs labels Nov 28, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: patch-level bump only (duckdb).

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: patch-level bump only (duckdb).

@codecov

codecov Bot commented Nov 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.93%. Comparing base (9969fe9) to head (0f9f66f).
⚠️ Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #46656      +/-   ##
==========================================
- Coverage   86.23%   83.93%   -2.30%     
==========================================
  Files        3146     3146              
  Lines      220018   220018              
  Branches    52110    52110              
==========================================
- Hits       189725   184675    -5050     
- Misses      26823    31620    +4797     
- Partials     3470     3723     +253     
Flag Coverage Δ
hive 33.63% <ø> (ø)
mysql ?
postgres ?
presto 35.32% <ø> (ø)
python 84.74% <ø> (-4.07%) ⬇️
sqlite ?
unit 84.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot dependencies:python patch Dependabot PRs that bump patch version for dependencies pip Dependabot - pip related PRs size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants