Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Use extras to reduce size of dependencies #28

Open
skbaur opened this issue Aug 23, 2021 · 1 comment
Open

Use extras to reduce size of dependencies #28

skbaur opened this issue Aug 23, 2021 · 1 comment
Assignees

Comments

@skbaur
Copy link

skbaur commented Aug 23, 2021

As contexual has a lot of depedencies that are not necessary for all use-cases, would it be possible to split the depedencies in different sets of extra requirements (similar to the strategy of https://hanxiao.io/2019/11/07/A-Better-Practice-for-Managing-extras-require-Dependencies-in-Python/ ). This would help reduce the size of the installed depedencies and also reduce potential version conflicts.

@wangjin1024
Copy link
Contributor

@skbaur Thank you for the suggestions. It's indeed a pain point for some library users who only want to use part of the modules. We will follow up to work on this. Here is the todo card: https://github.com/SAP/contextual-ai/projects/1#card-70787117

Feel free to fork and raise PR if you already have some solutions.

@wangjin1024 wangjin1024 self-assigned this Oct 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants