Skip to content

Example of not relying on package manager python version #5

@chendaniely

Description

@chendaniely

here's some output I found while updating / installing packages from brew that updates python 3.11 but also the youtube-dl package:

Leaving this here if I eventually want to talk about and give more examples to why you need a way to work with python outside all the package manager stuff.

==> Upgrading [email protected]
  3.11.5 -> 3.11.6 

==> Pouring [email protected]_sonoma.bottle.tar.gz
==> /opt/homebrew/Cellar/[email protected]/3.11.6/bin/python3.11 -Im ensurepip
==> /opt/homebrew/Cellar/[email protected]/3.11.6/bin/python3.11 -Im pip install -v --
🍺  /opt/homebrew/Cellar/[email protected]/3.11.6: 3,286 files, 61.9MB
==> Running `brew cleanup [email protected]`...
Removing: /opt/homebrew/Cellar/[email protected]/3.11.5... (3,294 files, 61.9MB)
Removing: /Users/danielchen/Library/Caches/Homebrew/[email protected]... (14.9MB)
==> Upgrading yt-dlp/taps/yt-dlp
  2023.9.24 -> 2023.10.7 

==> python3.11 -m venv --system-site-packages --without-pip /opt/homebrew/Cellar
==> python3.11 -m pip --python=/opt/homebrew/Cellar/yt-dlp/2023.10.7/libexec/bin
==> python3.11 -m pip --python=/opt/homebrew/Cellar/yt-dlp/2023.10.7/libexec/bin
==> python3.11 -m pip --python=/opt/homebrew/Cellar/yt-dlp/2023.10.7/libexec/bin
==> python3.11 -m pip --python=/opt/homebrew/Cellar/yt-dlp/2023.10.7/libexec/bin
==> python3.11 -m pip --python=/opt/homebrew/Cellar/yt-dlp/2023.10.7/libexec/bin
==> python3.11 -m pip --python=/opt/homebrew/Cellar/yt-dlp/2023.10.7/libexec/bin
==> Caveats
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions
==> Summary
🍺  /opt/homebrew/Cellar/yt-dlp/2023.10.7: 1,653 files, 17MB, built in 31 seconds
==> Running `brew cleanup yt-dlp`...
Removing: /opt/homebrew/Cellar/yt-dlp/2023.9.24... (1,653 files, 17.0MB)
Removing: /Users/danielchen/Library/Caches/Homebrew/yt-dlp--2023.9.24.tar.gz... (2.7MB)

If pyenv updates, that's okay! becuase the python stuff it handles is just used for the user

==> Upgrading pyenv
  2.3.28 -> 2.3.29 

==> Pouring pyenv--2.3.29.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/pyenv/2.3.29: 1,113 files, 3.4MB
==> Running `brew cleanup pyenv`...
Removing: /opt/homebrew/Cellar/pyenv/2.3.28... (1,111 files, 3.4MB)
Removing: /Users/danielchen/Library/Caches/Homebrew/pyenv--2.3.28... (759.3KB)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions