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

Support VirtualEnv, RequirementsFile, PythonRuntime, Package, and PyPIRepo #303

Open
andyk opened this issue Mar 5, 2022 · 0 comments
Open
Assignees

Comments

@andyk
Copy link
Contributor

andyk commented Mar 5, 2022

This issue depends on #278.

Now that #278 and #336 are done, we should be able to add new Component types that allow our DAG to accurately capture more of the types of dependencies involved in running a Python program, including the following:

  • VirtualEnv
  • PythonRuntime
  • RequirementsFile
  • Package
  • PypiRepo

And here is a registry-like nested list that gives you a sense of how these all might relate to each other (note that the nested list formatting gets maxed out so some of the inner-most indents aren't tabbed over far enough):

  • Command:
    • runtime:
      • PythonRuntime
        • version: str # e.g., 3.9.4
    • function_name: str
    • object_manager: # this attribute currently named 'component'
      • ObjectManager (ObjectManager is an abstract class w/ subtypes: Module, Class, Instance)
    • env:
      • VirtualEnv
        • pip_packages:
          • list:
            • PipPackage
              • package_dependencies:
                • list:
                  • PipPackage
                  • PipPackage
              • module_dependencies:
                • list:
                  • Module
                  • Module
              • requirements_files:
                • list:
                  • RequirementsFile
                    • path: str
                    • repo:
                    • Repo (one of PyPIRepo, GitHubRepo, LocalRepo)
                    • PyPIRepo
                    • project_name: agentos
                    • default_version: 0.1.0
                  • RequirementsFile
@andyk andyk changed the title Add PyPIRepo Add PyPIRepo Mar 5, 2022
@andyk andyk self-assigned this Mar 5, 2022
@andyk andyk changed the title Add PyPIRepo Support VirtualEnv, RequirementsFile, PythonRuntime, Package, and PyPIRepo Jun 9, 2022
andyk added a commit to andyk/agentos that referenced this issue Jun 9, 2022
…typees or gVirtualEnvComponent, PythonRunTime, etc.
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

1 participant