Skip to content

Remove the deprecated Tkinter gui/ (phase 2) — tracking checklist #50

Closed

Description

@falbany

src/profiles/gui/ is deprecated (web UI is the default since 0.9.0) and scheduled for removal — tests/gui/ and test_app_tk_lifecycle are already skipped with "phase 2 deletes src/profiles/gui". This tracks the complete removal so nothing is missed. All coupling verified:

Code

  • Delete src/profiles/gui/ (18 files).
  • app.py: _run_gui() (:390-425), --tkinter flag (:611-614) + routing (:634-636), deprecation banners (:38-45), epilog mention (:577), gui_backend param (:93), TYPE_CHECKING import (:34), _window attr (:113), stale docstring "4. Start the Tkinter event loop" (:218).
  • Keep-or-slim tests/test_app_no_tkinter.py (not skipped — it pins the tkinter-unavailable ImportError path; replace with a variant asserting web-only behavior, or delete with the flag).

Tests

  • Delete tests/gui/ (13 files, all skipped) and tests/test_app_tk_lifecycle.py (module-level skip).

Packaging

  • sv-ttk + darkdetect out of both dev lists (pyproject.toml optional-dependencies + dependency-groups); update the guard test test_tk_deps_absent_from_runtime_dependencies.

Dead code unlocked afterwards

(see the dead-code sweep issue) 14 gui-only telemetry event helpers, apply_source_to_logger, directory_exists, hash_file, AppConfig.skip_config_prompt.

Docs

(see the AGENTS.md rewrite + docs issues) README.md:202-208/333, README.fr.md:203-209/334, installation-guide.en/fr, AGENTS.md gui/ layer sections.

Also: the legacy phase-based hook engine (core/environment/execution.py) is gui-adjacent legacy — decide in the dead-code sweep whether it dies in the same batch.

Activity

  1. added
    enhancement
    tech-debt
    on Oct 30, 2026
  2. added this to the v1.0.0 milestone on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtech-debt

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions