-
-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Labels
featureNew feature or requestNew feature or request
Description
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. 🙏
Reactions are currently unavailable
Pinned by pawamoy
Pinned comment options
Closing since @johnslavik made the split 🙏 🚀 ! This will part of the next release, which will be a major bump (removal of unrelated deprecated API).
- Installing the
griffedistribution will still get you the API and CLI, therefore withcolorama. - (The
griffedistribution is now a meta-distribution that provides no code and depends ongriffelibandgriffecli) - If you want the slim version (no
colorama), you can depend ongriffelibinstead. Your imports can stay unchanged: thegriffelibdistribution provides thegriffepackage, so importing (from)griffewill still work as usual. - The versions of these distributions will always be in sync:
griffe==x.y.zwill always depend ongriffelib==x.y.zand
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request