leave it up to the user to hardcode which pip they like when it comes to the pip package manager installation step #3

Merged
jessebot merged 2 commits from always-default-to-pip into main 2026-04-04 16:52:16 +00:00
Owner

This means in ~/.config/onboardme/config.yaml under package.managers, you should use pip instead of pip3.13 e.g.:

# This is the basic package config.
package:
  # Remove any of the below pkg managers to only run the remaining pkg managers
  managers:
    # macOS specific steps
    Darwin:
      - brew
      - pip
      - pipx
    # Debian/Ubuntu specific steps
    Linux:
      - apt
      - brew
      - pip
      - pipx
      - flatpak
      - snap

Same goes for in your packages.yaml, e.g.

pip:
  emoji: "🐍"
  commands:
    list: "pip3.14 list"
    install: "pip3.14 install --upgrade --user --break-system-packages "
  packages:
    default:
      # pip itself needs to be kept up to up2date
      - pip
      # powerline: for the internal ip address prompt segment
      - netifaces
      # neovim: needed for neovim's python3 interface, I think
      - pynvim
      # powerline: (status line for tmux/BASH), this works on linux
      - "git+https://github.com/jessebot/powerline@patch-2"
      # these are powerline extensions
      - powerline-kubernetes
      - powerline-gitstatus
      # this is needed to make python respect XDG Base directory specific
      - xdg_base_dirs

Notice how under pip.commands, you can still use whatever commands you like for list and install. This will make it easier to select your own version of pip without too many worries.

This means in `~/.config/onboardme/config.yaml` under package.managers, you should use `pip` instead of `pip3.13` e.g.: ```yaml # This is the basic package config. package: # Remove any of the below pkg managers to only run the remaining pkg managers managers: # macOS specific steps Darwin: - brew - pip - pipx # Debian/Ubuntu specific steps Linux: - apt - brew - pip - pipx - flatpak - snap ``` Same goes for in your `packages.yaml`, e.g. ```yaml pip: emoji: "🐍" commands: list: "pip3.14 list" install: "pip3.14 install --upgrade --user --break-system-packages " packages: default: # pip itself needs to be kept up to up2date - pip # powerline: for the internal ip address prompt segment - netifaces # neovim: needed for neovim's python3 interface, I think - pynvim # powerline: (status line for tmux/BASH), this works on linux - "git+https://github.com/jessebot/powerline@patch-2" # these are powerline extensions - powerline-kubernetes - powerline-gitstatus # this is needed to make python respect XDG Base directory specific - xdg_base_dirs ``` Notice how under `pip.commands`, you can still use whatever commands you like for list and install. This will make it easier to select your own version of pip without too many worries.
Collaborator

yessssssssssssssssssssssssssssssssssssssssss

yessssssssssssssssssssssssssssssssssssssssss
cloudymax approved these changes 2026-04-04 16:49:00 +00:00
cloudymax left a comment

Hype!

Hype!
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jessebot/onboardme!3
No description provided.