Is your feature request related to a problem? Please describe.
AFAIK colorama is only used in the griffe CLI. We're using griffe programatically in pydantic-ai-slim where we care a lot about minimizing the SBOM.
Describe the solution you'd like
Would you consider removing the colorama dependency, or making it optional in a cli dependency group. 🙏
Is your feature request related to a problem? Please describe.
AFAIK
coloramais only used in the griffe CLI. We're using griffe programatically inpydantic-ai-slimwhere we care a lot about minimizing the SBOM.Describe the solution you'd like
Would you consider removing the
coloramadependency, or making it optional in aclidependency group. 🙏Closing since @johnslavik made the split 🙏 🚀 ! This will part of the next release, which will be a major bump (removal of unrelated deprecated API).
griffedistribution will still get you the API and CLI, therefore withcolorama.griffedistribution is now a meta-distribution that provides no code and depends ongriffelibandgriffecli)colorama), you can depend ongriffelibinstead. Your imports can stay unchanged: thegriffelibdistribution provides thegriffepackage, so importing (from)griffewill still work as usual.griffe==x.y.zwill always depend ongriffelib==x.y.zand