~/talk

Python Versions and Dependencies Made Easy

Talkat PyConline AU 2021 · 2021-09-10..09-12· [python]
slides:none on file

Concrete workflow and tools: use pyenv global/local/shell to install and switch real Python interpreters rather than touching system Python, create per-project environments with venv or virtualenvwrapper stored in ~/.virtualenv so pip stops overwriting versions, and install CLI tools with pipx installs packages into isolated venvs so global tools never clobber each other. Demonstrations include installing specific Python versions, showing automatic local switching, pipx install/upgrade/uninstall and pipx inject. For production, pin resolved deps with pip-tools (pip-compile) and bake into Docker or a sealed venv.

AI-written summary · about

  1. 0:00Python Versions and Dependencies Made Easy
  2. 1:37Problem with (Python) projects
  3. 4:37Installing Python
  4. 6:18How to install a new Python version?
  5. 8:57Using pyeny 1. Find Python version to install
  6. 12:48Problem with pip
  7. 16:43Using virtual environments 1. Create new virtual environment
  8. 18:56Typical workflow
  9. 19:22virtualenvwrapper
  10. 23:14Global Python packages
  11. 24:29pipx - global packages in separate environments
  12. 24:48pipx in action 1. Install "black" package
  13. 25:48pipx commands
  14. 26:52Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.