You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression in 1.4.0: adbc_driver_duckdb is not found #74
❯ uv run python main.py
Uninstalled 1 package in 1ms
Installed 1 package in 7ms
pyarrow.Table
42: int32
----
42: [[42]]
but fails on 1.4.0:
❯ uv run python main.py
Traceback (most recent call last):
File "/home/dallan/Repos/bnl/duckdb_adbc_regression/main.py", line 1, in <module>
import adbc_driver_duckdb.dbapi
ModuleNotFoundError: No module named 'adbc_driver_duckdb'
To Reproduce
See gist for full Python environment specification, as well as the example code above.
OS:
Ubuntu x86_64
DuckDB Version:
1.4.0
DuckDB Client:
Pytyhon
Hardware:
No response
Full Name:
Dan Allan
Affiliation:
Brookhaven National Laboratory
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a stable release
Did you include all relevant data sets for reproducing the issue?
Not applicable - the reproduction does not require a data set
Did you include all code required to reproduce the issue?
Yes, I have
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
changed the title [-]Regression in 1.4.0: adbc_driver_duckdb is not found[/-][+]Regression in 1.4.0: `adbc_driver_duckdb` is not found[/+]on Sep 17, 2025
The package is working again on my branch, but I seem to have hit a little snag with the adbc-driver-manager on Windows which makes my tests fail in CI.
The tl;dr is this: adbc_get_objects(depth="all").to_pylist() returns an a list of catalog dicts that, only on Windows, have an empty string where the key catalog_name key is supposed to be. Example catalog dict from the test output:
I'll merge the fix today, should be working again starting with the next 1.4.1 nightly (not the 1.5.0 nightly yet).
There might be an unrelated issue with the adbc-driver-manager on Windows. I'll keep an eye on that, and if it turns out this is an issue on our end I'll fix it. In any case that is a different issue than this.
Activity
[-]Regression in 1.4.0: adbc_driver_duckdb is not found[/-][+]Regression in 1.4.0: `adbc_driver_duckdb` is not found[/+]guillesd commentedon Sep 18, 2025
@szarnyasg I can't transfer the issue but this should go to https://github.com/duckdb/duckdb-python
cc @evertlammerts
evertlammerts commentedon Sep 18, 2025
Yes, this is a miss. The package is still there, it's just not exported in pyproject.toml. I'll also have to check why the tests didn't flag this.
@danielballan Thanks for the report. We'll get this back into v1.4.1.
danielballan commentedon Sep 18, 2025
Thanks for taking a look, and for your work on this excellent project!
evertlammerts commentedon Sep 24, 2025
The package is working again on my branch, but I seem to have hit a little snag with the adbc-driver-manager on Windows which makes my tests fail in CI.
The tl;dr is this:
adbc_get_objects(depth="all").to_pylist()returns an a list of catalog dicts that, only on Windows, have an empty string where the keycatalog_namekey is supposed to be. Example catalog dict from the test output:I'm expecting this:
The tests run fine in CI on Windows and OSX, but they fail on Windows.
evertlammerts commentedon Sep 25, 2025
I'll merge the fix today, should be working again starting with the next 1.4.1 nightly (not the 1.5.0 nightly yet).
There might be an unrelated issue with the adbc-driver-manager on Windows. I'll keep an eye on that, and if it turns out this is an issue on our end I'll fix it. In any case that is a different issue than this.
Fix adbc driver (#81)