Re: [Django] #36376: Respect --no-color for command help on python 3.14 (was: Use argparse colorized help on Python 3.14+)

1 view
Skip to first unread message

Django

unread,
Dec 19, 2025, 2:52:28 PM (14 hours ago) Dec 19
to django-...@googlegroups.com
#36376: Respect --no-color for command help on python 3.14
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Sachi
| Jain
Type: Bug | Status: assigned
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* keywords: 6.1 =>
* needs_better_patch: 0 => 1
* severity: Normal => Release blocker
* summary: Use argparse colorized help on Python 3.14+ => Respect --no-
color for command help on python 3.14
* type: New feature => Bug
* version: dev => 5.2

Comment:

Before 3.14 final, Python [https://github.com/python/cpython/pull/136809
decided to colorize by default]. So rather than opting into the future
here, we're left with just the bugfix to make `--no-color` and
`DJANGO_COLORS=nocolor` work correctly on Python 3.14.

I'd even backport this as a bug in the support for 3.14.
--
Ticket URL: <https://code.djangoproject.com/ticket/36376#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages