Skip to content

Conversation

@amoeba
Copy link
Member

@amoeba amoeba commented Sep 26, 2025

This works around a bug we identified with the 1.8.0 driver managers when using virtual environments. They are supposed to locate drivers in $VIRTUAL_ENV/etc/adbc/drivers but they look in $VIRTUAL_ENV/etc/adbc/. There may be a patch release soon to fix this but, in the mean time, we can work around this by symlinking manifests from $VIRTUAL_ENV/etc/adbc/drivers to $VIRTUAL_ENV/etc/adbc/. The manifests use absolute paths so it's fine.

This PR also adds an integration workflow which is how I tested my change. I don't think we want to run it on every single commit to the repo so we might discuss here when we might want to run something like this or if we want to run it in another repo.

@amoeba
Copy link
Member Author

amoeba commented Sep 26, 2025

Changing the repo visibility broke the link between the main repo and my fork so I had to re-create #92.

@amoeba
Copy link
Member Author

amoeba commented Sep 26, 2025

@zeroshade Re: #92 (review)

should we rename this better as run_venv_integration?

I think I'd rather keep it for now. Over time if we expand what tests are done I imagine we can change this.

@amoeba amoeba requested a review from zeroshade September 26, 2025 19:53

- name: Build dbc
run: |
go build -o dbc ./cmd/dbc
Copy link
Member

Choose a reason for hiding this comment

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

are we using the -o so that it doesn't call it dbc.exe on windows? otherwise you can just remove the -o argument entirely since by default it'll use dbc as the name since that's the package name.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, nice. I just always run it with -o. Removed in 30d3b4c and will watch CI.

Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

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

just the one comment but otherwise looks good!

@amoeba
Copy link
Member Author

amoeba commented Sep 26, 2025

Thanks. Once CI passes I'll merge.

@amoeba amoeba merged commit 47ddce3 into columnar-tech:main Sep 26, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants