Skip to content

[ENH] refactor progress bar backend to allow user choice, decouple from rich, investigate rich problems #605

@fkiraly

Description

@fkiraly

Currently the progress bar backend is suboptimally implemented and can cause complete failure in the package due to compatibility issues with rich that is strongly coupled everywhere - see #600.

Mid-term, we should:

  • abstract the progress bar backend wherever currently a rich progress bar is called, to a strategy or selector environment, e.g., with PttProgressBar(backend="rich"), with a default of stdout and no progress bar related soft dependency
  • replace all current locations where any specific progress bar (usually rich) is hard-coded with the abstract backend and a way for the user to select it

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions