Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-84684

some pip modules do not define correct requirements

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Build
    • Fully Compatible
    • 5

      Poetry installs packages assuming the underlying packages correctly list all of there dependencies, however in some cases these packages assume things about the installation tools being used to install and do not list them as a dependency. This means poetry will not consider the underlying install tools in is dependency graph resolver and will install things out of order. This can be worked around on our side by update the installation tools before installing poetry.

      This is mostly an issue on windows environments.

       

      python3 -m pip install -U pip setuptools wheel virtualenv
      python3 -m pip install poetry==1.5.1
      export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
      python3 -m poetry install --no-root --sync
      

       

            Assignee:
            udita.bose@mongodb.com Udita Bose
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: