-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Test against pysqlite3 running SQLite 3.37 #347
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #347 +/- ##
=======================================
Coverage 96.51% 96.52%
=======================================
Files 5 5
Lines 2270 2271 +1
=======================================
+ Hits 2191 2192 +1
Misses 79 79
Continue to review full report at Codecov.
|
sqlite-utils/.github/workflows/test.yml Lines 11 to 20 in 93b059d
This configuration means that the numpy=0, Python=3.10, os=Ubuntu build will additionally use It's failing right now: https://github.com/simonw/sqlite-utils/runs/4360593156 - because I can use the workaround from this comment: coleifer/pysqlite3#24 (comment) |
Here's the test run that's installing |
It failed on other Python versions with
|
Took a bit of experimenting to get both sqlite-utils/sqlite_utils/utils.py Line 8 in f990e13
Order here matters - this did NOT work for both tools: from sqlite3.dump import _iterdump as iterdump # noqa: F401 # type: ignore |
Some interesting test failures in the version that runs with
https://github.com/simonw/sqlite-utils/runs/4360759085 The WAL errors look like this:
Triggered by a call to The FTS errors are caused by tests that try to deliberately corrupt the FTS index by running
|
A short term fix would be to skip those tests against |
If I'm going to |
The change I made to that test in #354 might help with this. |
Refs #346 and #344.