Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion #17

Open
vibheksoni opened this issue Nov 25, 2024 · 1 comment
Open

Suggestion #17

vibheksoni opened this issue Nov 25, 2024 · 1 comment

Comments

@vibheksoni
Copy link

Currently, we can't use external required modules. To avoid installing them, I was wondering if we could leverage importlib.util.import_module to load dependencies instead. This approach would enable package loading without external dependencies, which could be beneficial. What are your thoughts on this potential solution?

@hoodmane
Copy link

Well import_module uses the same resolution logic as an actual import statement so I don't think this helps much. Either way, you need to get the files that constitute the package into your worker. It's currently possible to vendor packages, it's just not very user friendly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants