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

update pipx to 1.4.3

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Correctness
    • Fully Compatible

      Using `pipx ensurepath` adds the pipx install directory to $PATH.

      On v1.2.0 (the current version we pin) it does it in the following way:

      1. BEGIN pipx config
      1. pipx will install binaries to "~/.local/bin"

      export PATH="/opt/undodb5/bin:/opt/cmake/bin:/opt/rtags-2.38/bin:/opt/undodb5/bin:/opt/cmake/bin:/opt/rtags-2.38/bin:/opt/undodb5/bin:/opt/cmake/bin:/opt/rtags-2.38/bin:/home/ubuntu/.rbenv/bin:/home/ubuntu/.local/bin:/home/ubuntu/.rbenv/bin:/home/ubuntu/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ubuntu/cli_bin:/home/ubuntu/cli_bin:/home/ubuntu/cli_bin:/home/ubuntu/.local/bin:/home/ubuntu/.local/bin"

      1. END pipx config

      This overwrites the whole path, this is bad.

      On v1.4.3 it fixes this to append to the PATH like the following:

       # Created by `pipx` on 2024-02-16 19:00:20 37 export PATH="$PATH:/home/ubuntu/.local/bin"

       

      Original slack thread https://mongodb.slack.com/archives/C0V79S1PY/p1708108529128489

            Assignee:
            trevor.guidry@mongodb.com Trevor Guidry
            Reporter:
            trevor.guidry@mongodb.com Trevor Guidry
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: