-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Upgrade --load-extension
to accept entrypoints like Datasette
#470
Comments
I can borrow Alex's example extension for the tests too: https://github.com/simonw/datasette/blob/ba35105eee2d3ba620e4f230028a02b2e2571df2/tests/ext.c |
That didn't run the tests as expected on Ubuntu: https://github.com/simonw/sqlite-utils/runs/8048229213?check_suite_focus=true
That should have worked because of this: sqlite-utils/.github/workflows/test.yml Lines 38 to 41 in 3f694e5
|
Extension looks to be correctly compiled:
So why doesn't this check pass? sqlite-utils/tests/test_cli.py Lines 25 to 30 in 3f694e5
|
To run the tests locally on my Mac I needed to run Ubuntu in Docker (for the compilation step). This worked:
Then:
|
Tests passed in CI against Ubuntu:
|
cc @asg017 since this feature was inspired by his work on Datasette. |
--load-extension
to work like Datasette--load-extension
to accept entrypoints like Datasette
Imitate:
--load-extension
datasette#1789The text was updated successfully, but these errors were encountered: