Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4400

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
    • Labels:
      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: