Compare commits

...

6 commits

Author SHA1 Message Date
Simon Willison
bcf8b564ee Only run uv smoke test on Ubuntu
Refs https://github.com/simonw/sqlite-utils/pull/843#issuecomment-5287666426
2026-08-13 16:46:31 -07:00
Simon Willison
829aa1438c Remove from typing_extensions import Self, refs #842 2026-08-13 16:39:47 -07:00
Simon Willison
d7b39f7393 install uv first 2026-08-13 16:39:38 -07:00
Simon Willison
8541829c2d Revert "Remove from typing_extensions import Self, refs #842"
This reverts commit cf6a12568b.
2026-08-13 16:39:19 -07:00
Simon Willison
cf6a12568b Remove from typing_extensions import Self, refs #842 2026-08-13 16:38:58 -07:00
Simon Willison
c9d8a12a7e Test that should fail
Refs https://github.com/simonw/sqlite-utils/issues/842#issuecomment-5287583061
2026-08-13 16:37:06 -07:00
2 changed files with 6 additions and 3 deletions

View file

@ -53,6 +53,11 @@ jobs:
run: |
pip install uv
uv run ty check sqlite_utils
- name: Check no accidental dev= dependencies needed
if: matrix.os == 'ubuntu-latest'
run: |
pip install uv
uv run --no-default-groups sqlite-utils --help
- name: Check formatting
run: black . --check
- name: Check if cog needs to be run

View file

@ -24,8 +24,6 @@ from typing import (
)
from sqlite_fts4 import rank_bm25
from typing_extensions import Self
from sqlite_utils.plugins import ensure_plugins_loaded, pm
from .create_table_parser import (
@ -637,7 +635,7 @@ class Database:
pm.hook.prepare_connection(conn=self.conn)
self.strict = strict
def __enter__(self) -> Self:
def __enter__(self):
return self
def __exit__(