Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12923

Add workaround for poetry dependency issues in many-collection-tests

    • Storage Engines
    • 3
    • Megabat - 2024-05-14

      many-collection-test pulls down mongo and builds it, however our task is failing during the `python3 -m poetry install --no-root --sync` call due to dependency ordering issues in mongo's poetry.lock file:

      python3.10/os.py", line 679, in __getitem__
      [2024/04/30 02:16:28.148]       raise KeyError(key) from None
      [2024/04/30 02:16:28.148]   KeyError: 'PEP517_BUILD_BACKEND'
      [2024/04/30 02:16:28.148]   at venv/lib/python3.10/site-packages/poetry/installation/chef.py:147 in _prepare
      [2024/04/30 02:16:28.158]       143│
      [2024/04/30 02:16:28.158]       144│                 error = ChefBuildError("\n\n".join(message_parts))
      [2024/04/30 02:16:28.158]       145│
      [2024/04/30 02:16:28.158]       146│             if error is not None:
      [2024/04/30 02:16:28.158]     → 147│                 raise error from None
      [2024/04/30 02:16:28.158]       148│
      [2024/04/30 02:16:28.158]       149│             return path
      [2024/04/30 02:16:28.158]       150│
      [2024/04/30 02:16:28.158]       151│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
      [2024/04/30 02:16:28.159] Note: This error originates from the build backend, and is likely not a problem with poetry but with zope-interface (5.0.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "zope-interface (==5.0.0)"'. 

      This ticket will run the poetry install command twice as this fixes the test failure. Further investigation will take place in WT-12911

            Assignee:
            andrew.morton@mongodb.com Andrew Morton
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: