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

some pip modules do not define correct requirements

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Build
    • Fully Compatible
    • Build and Correctness OnDeck

    Description

      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
      

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: