Commit graph

891 commits

Author SHA1 Message Date
Simon Willison
e240133b11 Release 3.32 3.32
Refs #544, #545, #547, #548
2023-05-21 11:53:44 -07:00
Simon Willison
718b0cba9b
Experimental TUI powered by Trogon
* sqlite-utils tui command if Trogon is installed, closes #545
* Documentation for trogon TUI
* Screenshot of TUI
* Ignore trogon mypy error
* only run flake8 on Python 3.8 or higher, closes #550
2023-05-21 11:41:56 -07:00
Simon Willison
e8c5b042e4 Validate column names in analyze-columns, closes #548 2023-05-21 10:35:48 -07:00
Simon Willison
6027f3ea69 No need to show common values if everything is null
Closes #547
2023-05-21 10:19:16 -07:00
Simon Willison
d2a7b15b2b
Analyze tables options: --common-limit, --no-most, --no-least
Closes #544
2023-05-21 09:19:30 -07:00
Simon Willison
e047cc32e9
backwards-incompatible, not compatible 2023-05-09 14:08:31 -07:00
Simon Willison
b3b100d7f5 Release 3.31 3.31
Refs #509, #517, #520, #525, #527, #532, #534, #536, #537, #538, #539
2023-05-08 15:33:57 -07:00
Simon Willison
c764a9ee8f Avoid negative hashes in lambda names, refs #543 2023-05-08 15:12:39 -07:00
Simon Willison
dab23884ae Better error message if rows_from_file called with StringIO, closes #520
Refs #448
2023-05-08 15:08:02 -07:00
Simon Willison
eebd1a26ae Removed FunctionAlreadyRegistered error, refs #526, #525 2023-05-08 14:58:28 -07:00
Simon Willison
fca3ef8cf2 Applied Black, refs #526, #525 2023-05-08 14:54:24 -07:00
Martin Carpenter
02f5c4d69d
Support repeated calls to Table.convert()
* Test repeated calls to Table.convert()
* Register Table.convert() functions under their own `lambda_hash` name
* Raise exception on registering identical function names

Refs #525
2023-05-08 14:53:58 -07:00
rhoboro
6500fed8b2
Transform no longer breaks non-string default values
Closes #509
2023-05-08 14:13:36 -07:00
Simon Willison
923768db2e Assert on exact error message, refs #537 2023-05-08 14:11:48 -07:00
Scott Perry
39ef137e67
Support self-referencing FKs in create (#537) 2023-05-08 14:10:00 -07:00
Simon Willison
9662d4ce26 Updated cog, refs #527 2023-05-08 14:05:30 -07:00
Simon Willison
e0ec4c3451 --no-skip-false option, plus docs - closes #527 2023-05-08 14:03:20 -07:00
Simon Willison
455c35b512 .convert(skip_false) option, refs #527 2023-05-08 13:52:21 -07:00
Simon Willison
e4ed372517 Show more detailed error on invalid JSON, closes #532 2023-05-08 13:31:56 -07:00
Simon Willison
a256d7de98 Fix a bunch of warnings in the tests, refs #541 2023-05-08 12:57:43 -07:00
Simon Willison
4fc2f12c88 Fix ResourceWarning in sqlite-utils insert, refs #534 2023-05-08 12:39:06 -07:00
Simon Willison
2376c452a5 upsert_all() now works with not_null - refs #538 2023-05-08 12:24:19 -07:00
Simon Willison
80763edaa2
Different approach for Python 3.11 on ReadTheDocs
Refs #540
2023-05-07 11:40:47 -07:00
Simon Willison
963518bb16
Build with 3.11 on ReadTheDocs
Refs #540
2023-05-07 11:38:54 -07:00
Simon Willison
373b7886d2 --raw-lines option, closes #539 2023-05-07 11:26:14 -07:00
Chris Amico
8f9a729e8a
Add paths for homebrew on Apple silicon (#536) 2023-04-12 18:44:43 -07:00
Simon Willison
c0251cc927
Link /latest/ to /stable/ - refs #388 2023-03-26 16:42:01 -07:00
Simon Willison
92f77c3262 Ran against updated Black 2023-03-12 14:28:43 -07:00
Simon Willison
6cd0fd2b4c Fix for Sphinx bug, closes #533, refs #531 2023-03-12 14:25:26 -07:00
Simon Willison
fc221f9b62 Try this fix for flake8 error, refs #518 2022-12-09 17:30:45 -08:00
Simon Willison
e660635cea Drop support for Python 3.6, refs #517 2022-12-09 17:25:23 -08:00
Simon Willison
ebe504ab21 Clarify column types in create-table help 2022-11-29 09:03:35 -08:00
Simon Willison
965ca0d5f5 Apply no_implicit_optional codemod, closes #512 2022-11-15 22:25:44 -08:00
Simon Willison
52ddb0b9ff
Rename utility functions to library 2022-11-15 07:53:38 -08:00
Simon Willison
529110e7d8
GitHub Actions has Python 3.11 on macOS now
Refs https://github.com/actions/setup-python/issues/531
2022-10-26 12:27:32 -07:00
Simon Willison
fb8f495582
Skip macOS 3.11 test when publishing 3.30
Refs #505
2022-10-25 15:34:30 -07:00
Simon Willison
0d45ee1102 Release 3.30
Refs #480, #483, #485, #495, #500, #502, #504
2022-10-25 15:21:34 -07:00
Simon Willison
defa2974c6 jsonify_if_needed output of convert() functions, closes #495 2022-10-25 14:23:24 -07:00
Simon Willison
c7e4308e6f Use new db.close() method, refs #504 2022-10-25 14:00:53 -07:00
Simon Willison
05e2bb85fc db.close() method, closes #504 2022-10-25 13:57:43 -07:00
Simon Willison
ba7242b1f2 Try closing the database before recreating it, refs #503 2022-10-25 13:36:17 -07:00
Simon Willison
f6b796277f Try a 0.1s sleep, refs #503 2022-10-25 13:27:18 -07:00
Simon Willison
c5d7ec1dd7 Fix for mypy issue, refs #503 2022-10-25 13:21:37 -07:00
Simon Willison
7ca497a8f5 repr improvements, refs #503 2022-10-25 13:14:41 -07:00
Simon Willison
079bf1f4dc Use tmp_path fixture in test_recreate, refs #503 2022-10-25 13:06:58 -07:00
Simon Willison
7b2d1c0ffd Update tests for Python 3.11, closes #502 2022-10-25 12:23:27 -07:00
Simon Willison
5133339d00
Skip macos-latest Python 3.11 for the moment
Refs https://github.com/actions/setup-python/issues/531
2022-10-25 12:08:58 -07:00
Simon Willison
b8526c434a
Test against Python 3.11 2022-10-25 07:17:49 -07:00
Simon Willison
9cbe19ac05 Skip cog check on Python 3.6, refs #501 2022-10-18 11:16:43 -07:00
Simon Willison
eb67fc69a2 Run cog -r against latest tabulate, refs #501 2022-10-18 11:08:34 -07:00