From 895f522fedb2fa0fa5a8120ac9ccf1d2c81de4a1 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Wed, 27 May 2026 07:37:59 -0400 Subject: [PATCH] add sqlglot and pygments versions to --checkup --- changelog.md | 8 +++++++- mycli/main_modes/checkup.py | 3 +++ test/pytests/test_checkup.py | 3 +++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 990d4e48..5167fd4f 100644 --- a/changelog.md +++ b/changelog.md @@ -4,13 +4,19 @@ Upcoming (TBD) Features --------- * Update `cli_helpers` to v2.15.0 for `mysql_heavy` table format. - +* Add `sqlglot` and `pygments` to `--checkup` output. Bug Fixes --------- * Respect `history_file` setting in the `[main]` section of `~/.myclirc`. * Adapt test suite to pygments v2.20.0. + +Documentation +--------- +* Add support for other MySQL wire-compatible databases to `README.md`. + + Internal --------- * Factor `app_state.py`, `cli_args.py`, and `output.py` out of `main.py`. diff --git a/mycli/main_modes/checkup.py b/mycli/main_modes/checkup.py index c3b82a3b..a1b5d18d 100644 --- a/mycli/main_modes/checkup.py +++ b/mycli/main_modes/checkup.py @@ -28,7 +28,10 @@ def _dependencies_checkup() -> None: 'cli_helpers', 'click', 'prompt_toolkit', + 'pygments', 'pymysql', + 'sqlglot', + 'sqlglotc', 'tabulate', ]: try: diff --git a/test/pytests/test_checkup.py b/test/pytests/test_checkup.py index 1571c139..b1789147 100644 --- a/test/pytests/test_checkup.py +++ b/test/pytests/test_checkup.py @@ -47,6 +47,9 @@ def test_dependencies_checkup(monkeypatch, capsys) -> None: 'click': '2.0.0', 'prompt_toolkit': '3.0.0', 'pymysql': '4.0.0', + 'pygments': '2.19.2', + 'sqlglot': '30.7.0', + 'sqlglotc': '30.7.0', } def fake_version(name: str) -> str: