Skip to content

Should rich tracebacks be installed automatically if rich is installed and django_typer is in INSTALLED_APPS? #22

Closed

Description

@bckohan

This is currently the default behavior unless the traceback rendering is explicitly disabled.

I think this should be revisited because I'm realizing just how often rich is installed as an incidental dependency. Many users might suddenly be surprised when their stack traces look rad all of a sudden.

Reconsider for 1.1.

  • The rich tracebacks are only installed if django-typer is installed as an app in INSTALLED_APPS which is unnecessary unless users want to use shellcompletion. This means incidental dependencies on django-typer and rich won't trigger this behavior until and unless the user installs django_typer. Maybe this means its fine?

Let me know what you think!

Activity

  1. added
    question
    on Feb 29, 2024
  2. self-assigned this
    on Feb 29, 2024
  3. added this to the Version 1.1 milestone on Feb 29, 2024
  4. pinned this issue on Mar 3, 2024
  5. changed the title [-]Should rich tracebacks be installed automatically if rich is installed?[/-] [+]Should rich tracebacks be installed automatically if rich is installed and django_typer is in INSTALLED_APPS?[/+] on Mar 3, 2024
  6. modified the milestones: Version 1.2, on Apr 23, 2024
  7. locked and limited conversation to collaborators on May 21, 2024
  8. converted this issue into a discussion #72 on May 21, 2024
  9. unpinned this issue on Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

question

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions