Skip to content

Suggestion #17

Open
Open

Description

@vibheksoni

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?

Activity

  1. hoodmane commented on Nov 25, 2024

    @hoodmane
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions