Skip to content

Remove colorama - #3505

Merged
davidism merged 1 commit into
mainfrom
colorama
May 24, 2026
Merged

davidism merged 1 commit into
mainfrom
colorama

Conversation

@davidism

@davidism davidism commented May 23, 2026 •

Copy link
Copy Markdown
Member

Tested echo, prompt, and other output utilities in a script, and styles seem to work fine. Tested in both Terminal and cmd.exe. I'm not clear when Windows 11 enabled ANSI by default, but realistically we can only support the latest version since that's the only version we and most people can get. An application that wants to support older Windows can still require colorama and call colorama.init() before main().

closes #2986

@davidism davidism added this to the 8.5.0 milestone May 23, 2026
@davidism
davidism requested review from Rowlando13 and kdeldycke May 23, 2026 04:45
@kdeldycke kdeldycke added windows Windows-specific behavior help output Help text formatting, layout, and --help rendering test runner CliRunner and Click's test utilities feature labels May 23, 2026
Comment thread CHANGES.rst Resolved
kdeldycke added a commit to kdeldycke/click-extra that referenced this pull request May 23, 2026
Comment thread CHANGES.rst Resolved
@kdeldycke

kdeldycke commented May 23, 2026 •

Copy link
Copy Markdown
Collaborator

Just added that branch to my matrix of tests in Click Extra: kdeldycke/click-extra@27f3999

Tl;Dr: No colorama regressions.

Results

The run is at https://github.com/kdeldycke/click-extra/actions/runs/26327147889

Fixed stack:

  • Click branch iscolorama @ fd9d206
  • Click Extra is 7.17.0.dev0 (3c0c0b9)
  • Cloup is 3.0.9
OS Python Result
macos-26 3.10 ✅ pass
macos-26 3.14 ✅ pass
macos-26 3.14t ✅ pass
macos-26 3.15 ✅ pass
macos-26-intel 3.10 ✅ pass
macos-26-intel 3.14 ✅ pass
macos-26-intel 3.14t ✅ pass
macos-26-intel 3.15 ✅ pass
ubuntu-24.04-arm 3.10 ✅ pass
ubuntu-24.04-arm 3.14 ✅ pass
ubuntu-24.04-arm 3.14t ✅ pass
ubuntu-24.04-arm 3.15 ✅ pass
ubuntu-slim 3.10 ✅ pass
ubuntu-slim 3.14 ✅ pass
ubuntu-slim 3.14t ✅ pass
ubuntu-slim 3.15 ✅ pass
windows-11-arm 3.14 ✅ pass
windows-11-arm 3.14t ✅ pass
windows-11-arm 3.15 ✅ pass (but codecov upload failed)
windows-2025 3.10 ✅ pass
windows-2025 3.14 ✅ pass
windows-2025 3.14t ✅ pass
windows-2025 3.15 ✅ pass

Some flaky runs had nothing to do with Colorama removal, just some CI/CD flaps from Click Extra project.

Note: windows-11-arm / py3.10 is omitted by design as no ARM64 Windows build exists for Python 3.10.

@davidism
davidism merged commit 6a141c3 into main May 24, 2026
11 checks passed
@davidism
davidism deleted the colorama branch May 24, 2026 14:30
kdeldycke added a commit to kdeldycke/click-extra that referenced this pull request May 24, 2026
@kdeldycke kdeldycke changed the title remove colorama Remove colorama Jul 8, 2026
Rowlando13 pushed a commit that referenced this pull request Jul 8, 2026
@kdeldycke

Copy link
Copy Markdown
Collaborator

Also see related documentation updates at: #3671

Rowlando13 added a commit that referenced this pull request Jul 8, 2026
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

help output Help text formatting, layout, and --help rendering test runner CliRunner and Click's test utilities feature windows Windows-specific behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop colorama

2 participants