Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-57810

python tools can load libs from ~/.local

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.0
    • None
    • build
    • None
    • Untriaged
    • 0
    • Unknown
    • Build Team 2023 Sprint 9

    Description

      By default, python (including our packaged cbpy python) will look for libraries in the "user site directory", which on most Unix systems is ~/.local/lib/pythonX.Y/site-packages.  It will load libraries here in preference to those installed in the main python install location. This can lead to binaries like couchbase-cli failing if the local user account has incompatible libraries, which has led to test failures such as described on MB-57308.

      Attachments

        For Gerrit Dashboard: MB-57810
        # Subject Branch Project Status CR V

        Activity

          People

            ceej Chris Hillery
            ceej Chris Hillery
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty