-
Notifications
You must be signed in to change notification settings - Fork 6
fix: add workaround for driver manager venv path bug #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Changing the repo visibility broke the link between the main repo and my fork so I had to re-create #92. |
I think I'd rather keep it for now. Over time if we expand what tests are done I imagine we can change this. |
.github/workflows/integration.yml
Outdated
|
|
||
| - name: Build dbc | ||
| run: | | ||
| go build -o dbc ./cmd/dbc |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
zeroshade
left a comment
There was a problem hiding this 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!
|
Thanks. Once CI passes I'll merge. |
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/driversbut 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/driversto$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.