Uploaded image for project: 'Python Integrations'
  1. Python Integrations
  2. INTPYTHON-298

Update poetry run scripts to isolate environments

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: AI/ML
    • None
    • Python Drivers

      Context

      Poetry does not need to be run in conjunction with venv, however one does need to have poetry installed somewhere to build environments with it. To avoid affecting anything on evergreen hosts outside of the local directory, we can create and activate an empty venv, install poetry there and go.

      Definition of done

      • Refactor a couple lines of the run.sh files to look more like langchain-python/run.sh than llama_index/run.sh.
      • Ensure that tests continue to pass

       

            Assignee:
            casey.clements@mongodb.com Casey Clements
            Reporter:
            casey.clements@mongodb.com Casey Clements
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: