Skip to content

Remove colorama#3505

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

Remove colorama#3505
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 Issues pertaining to the Windows environment f:help feature: help text f:test runner feature: cli test runner labels May 23, 2026
Comment thread CHANGES.rst Outdated
kdeldycke added a commit to kdeldycke/click-extra that referenced this pull request May 23, 2026
Comment thread CHANGES.rst Outdated
@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
12 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

f:help feature: help text f:test runner feature: cli test runner windows Issues pertaining to the Windows environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop colorama

2 participants