Compare commits

...

1 commit

Author SHA1 Message Date
Simon Willison
170037df4d Upgrade for sqlite-utils==4.0rc1
Refs https://github.com/simonw/sqlite-utils/issues/758
2026-06-22 09:10:31 -07:00
2 changed files with 18 additions and 18 deletions

View file

@ -35,7 +35,7 @@ dependencies = [
"PyYAML>=5.3", "PyYAML>=5.3",
"mergedeep>=1.1.1", "mergedeep>=1.1.1",
"itsdangerous>=1.1", "itsdangerous>=1.1",
"sqlite-utils>=3.30", "sqlite-utils==4.0rc1",
"asyncinject>=0.7", "asyncinject>=0.7",
"setuptools", "setuptools",
"pip", "pip",

View file

@ -1005,12 +1005,12 @@ async def test_drop_table(ds_write, scenario):
"table_url": "http://localhost/data/one", "table_url": "http://localhost/data/one",
"table_api_url": "http://localhost/data/one.json", "table_api_url": "http://localhost/data/one.json",
"schema": ( "schema": (
"CREATE TABLE [one] (\n" 'CREATE TABLE "one" (\n'
" [id] INTEGER PRIMARY KEY,\n" ' "id" INTEGER PRIMARY KEY,\n'
" [title] TEXT,\n" ' "title" TEXT,\n'
" [score] INTEGER,\n" ' "score" INTEGER,\n'
" [weight] FLOAT,\n" ' "weight" REAL,\n'
" [thumbnail] BLOB\n" ' "thumbnail" BLOB\n'
")" ")"
), ),
}, },
@ -1042,10 +1042,10 @@ async def test_drop_table(ds_write, scenario):
"table_url": "http://localhost/data/two", "table_url": "http://localhost/data/two",
"table_api_url": "http://localhost/data/two.json", "table_api_url": "http://localhost/data/two.json",
"schema": ( "schema": (
"CREATE TABLE [two] (\n" 'CREATE TABLE "two" (\n'
" [id] INTEGER PRIMARY KEY,\n" ' "id" INTEGER PRIMARY KEY,\n'
" [title] TEXT,\n" ' "title" TEXT,\n'
" [score] FLOAT\n" ' "score" REAL\n'
")" ")"
), ),
"row_count": 2, "row_count": 2,
@ -1071,10 +1071,10 @@ async def test_drop_table(ds_write, scenario):
"table_url": "http://localhost/data/three", "table_url": "http://localhost/data/three",
"table_api_url": "http://localhost/data/three.json", "table_api_url": "http://localhost/data/three.json",
"schema": ( "schema": (
"CREATE TABLE [three] (\n" 'CREATE TABLE "three" (\n'
" [id] INTEGER PRIMARY KEY,\n" ' "id" INTEGER PRIMARY KEY,\n'
" [title] TEXT,\n" ' "title" TEXT,\n'
" [score] FLOAT\n" ' "score" REAL\n'
")" ")"
), ),
"row_count": 1, "row_count": 1,
@ -1096,7 +1096,7 @@ async def test_drop_table(ds_write, scenario):
"table": "four", "table": "four",
"table_url": "http://localhost/data/four", "table_url": "http://localhost/data/four",
"table_api_url": "http://localhost/data/four.json", "table_api_url": "http://localhost/data/four.json",
"schema": ("CREATE TABLE [four] (\n" " [name] TEXT\n" ")"), "schema": ('CREATE TABLE "four" (\n' ' "name" TEXT\n' ")"),
"row_count": 1, "row_count": 1,
}, },
["create-table", "insert-rows"], ["create-table", "insert-rows"],
@ -1116,8 +1116,8 @@ async def test_drop_table(ds_write, scenario):
"table_url": "http://localhost/data/five", "table_url": "http://localhost/data/five",
"table_api_url": "http://localhost/data/five.json", "table_api_url": "http://localhost/data/five.json",
"schema": ( "schema": (
"CREATE TABLE [five] (\n [type] TEXT,\n [key] INTEGER,\n" 'CREATE TABLE "five" (\n "type" TEXT,\n "key" INTEGER,\n'
" [title] TEXT,\n PRIMARY KEY ([type], [key])\n)" ' "title" TEXT,\n PRIMARY KEY ("type", "key")\n)'
), ),
"row_count": 1, "row_count": 1,
}, },